All Frameworks Class Hierarchy This Framework Previous Next Indexes
CATIAApplicationFrame Class CATEditor
System.IUnknown
|
+---System.IDispatch
|
+---System.CATBaseUnknown
|
+---System.CATEventSubscriber
|
+---ObjectModelerBase.CATImplementationAdapter
|
+---CATEditor
Usage: you can derive this class.
public class CATEditor
Class to define an editor called by the PropertyEditor.
Constructor and Destructor Index
- o
CATEditor()
- Constructs the editor.
- o
~CATEditor()
-
Method Index
- o
BuildEditor(CATEditorPage*)
- Constructs the dialog objects of the editor.
- o
CancelModification(CATLISTV(CATBaseUnknown_var)&)
- Cancels a modification when closing the panel.
- o
CancelModification(CATSettingRepository*)
- Cancels settings modification.
- o
CloseWindowFromEditor()
- Method to close dialog object open by the editor.
- o
CommitModification(CATLISTV(CATBaseUnknown_var)&)
- Saves properties modifications for all the selection.
- o
CommitModification(CATSettingRepository*)
- Saves settings modifications.
- o
ExtractFromSelection(CATLISTV(CATBaseUnknown_var)&,CATLISTV(CATBaseUnknown_var)*)
- Method to make a query on the selection for acceptance.
- o
GetEditorTitle()
- Method to give a name to the editor.
- o
GetUndoFromEditor()
- Method to record an undo action from the editor.
- o
OKToRepaintOnCommit(int&)
- Sets the behaviour of the dialog objects during the update of tabpages when applying modifications.
- o
ResetUserSettingsValue()
- Resets all values of repositories.
- o
SetPropertyValue(CATLISTV(CATBaseUnknown_var)&,ModeReadWrite)
- Valuates the dialog objects of the editor.
Constructor and Destructor
o CATEditor
-
Constructs the editor.
o ~CATEditor
public virtual ~CATEditor( | ) |
-
Methods
o BuildEditor
-
Constructs the dialog objects of the editor.
o CancelModification
-
Cancels a modification when closing the panel.
- Parameters:
-
- iExtract
- list of concerned objects with the modification.
o CancelModification
-
Cancels settings modification.
- Parameters:
-
- iRep
- not used.
careful: you need to get the repository by yourself
by GetRepository method, don't try to use iRep directly
- See also:
- CATSettingRepository
o CloseWindowFromEditor
public virtual void CloseWindowFromEditor( | ) |
-
Method to close dialog object open by the editor.
o CommitModification
-
Saves properties modifications for all the selection.
- Parameters:
-
- iExtract
- list of concerned objects with the modification.
o CommitModification
-
Saves settings modifications.
- Parameters:
-
- iRep
- not used.
careful: you need to get the repository by yourself
by GetRepository method, don't try to use iRep directly
- See also:
- CATSettingRepository
o ExtractFromSelection
-
Method to make a query on the selection for acceptance.
o GetEditorTitle
-
Method to give a name to the editor.
o GetUndoFromEditor
-
Method to record an undo action from the editor.
o OKToRepaintOnCommit
public virtual HRESULT OKToRepaintOnCommit( | int& | oStatus) |
-
Sets the behaviour of the dialog objects during the update of tabpages when applying modifications.
Useful for tab pages depending on each other
- Parameters:
-
- oStatus
-
Legal Values :
0 if no repaint is required : for each tabpage, methods CommitModification and SetPropertyValue are called one after the other
1 otherwise : default behaviour - for each tabpage method CommitModification is applied. Then, for each tabpage method SetPropertyValue is called.
o ResetUserSettingsValue
public virtual void ResetUserSettingsValue( | ) |
-
Resets all values of repositories.
o SetPropertyValue
-
Valuates the dialog objects of the editor.
This object is included in the file: CATEditor.h
If needed, your Imakefile.mk should include the module: CATIAApplicationFrame