21 #ifndef __STUDY_EDITOR_HXX__
22 #define __STUDY_EDITOR_HXX__
26 #include <SALOMEconfig.h>
27 #include CORBA_CLIENT_HEADER(SALOMEDS)
28 #include CORBA_SERVER_HEADER(SALOME_Component)
40 SALOMEDS::SComponent_ptr newRoot(
const char * moduleName);
41 SALOMEDS::SComponent_ptr findRoot(
const char * moduleName);
42 bool bindEngine(SALOMEDS::SComponent_var studyRoot,Engines::EngineComponent_var engine);
44 SALOMEDS::SObject_ptr newObject(SALOMEDS::SObject_ptr parent);
45 SALOMEDS::SObject_ptr findObject(
const char * entry);
46 void setName(SALOMEDS::SObject_var sobject,
const char * value);
47 const char * getName(SALOMEDS::SObject_var sobject);
49 void setIcon(SALOMEDS::SObject_var sobject,
const char * resourcename);
51 void setParameterInt(SALOMEDS::SObject_var sobject,
const char * name,
int value);
52 int getParameterInt(SALOMEDS::SObject_var sobject,
const char * name);
53 void setParameterBool(SALOMEDS::SObject_var sobject,
const char * name,
bool value);
54 bool getParameterBool(SALOMEDS::SObject_var sobject,
const char * name);
56 static const int UNDEFINED = -1;
60 void setStudy(SALOMEDS::Study_ptr study);
61 void setStudyById(
int studyId);
70 #endif // __STUDY_EDITOR_HXX__