Open CASCADE Technology 6.6.0
|
This class is aimed to display and edit the Directory Part of
an IGESEntity
#include <IGESSelect_EditDirPart.hxx>
Public Member Functions | |
IGESSelect_EditDirPart () | |
TCollection_AsciiString | Label () const |
Returns the specific label | |
Standard_Boolean | Recognize (const Handle< IFSelect_EditForm > &form) const |
Tells if this Editor can work on this EditForm and its content (model, entity ?) | |
Handle_TCollection_HAsciiString | StringValue (const Handle< IFSelect_EditForm > &form, const Standard_Integer num) const |
Returns the value of an EditForm, for a given item (if not a list. for a list, a Null String may be returned) | |
Standard_Boolean | Load (const Handle< IFSelect_EditForm > &form, const Handle< Standard_Transient > &ent, const Handle< Interface_InterfaceModel > &model) const |
Loads original values from some data, to an EditForm Remark: <ent> may be Null, this means all <model> is concerned Also <model> may be Null, if no context applies for <ent> And both <ent> and <model> may be Null, for a full static editor | |
virtual Standard_Boolean | Update (const Handle< IFSelect_EditForm > &form, const Standard_Integer num, const Handle< TCollection_HAsciiString > &newval, const Standard_Boolean enforce) const |
Updates the EditForm when a parameter is modified I.E. default does nothing, can be redefined, as follows : Returns True when done (even if does nothing), False in case of refuse (for instance, if the new value is not suitable) <num> is the rank of the parameter for the EDITOR itself <enforce> True means that protected parameters can be touched If a parameter commands the value of other ones, when it is modified, it is necessary to touch them by Touch from EditForm | |
Standard_Boolean | Apply (const Handle< IFSelect_EditForm > &form, const Handle< Standard_Transient > &ent, const Handle< Interface_InterfaceModel > &model) const |
Applies modified values of the EditForm with some data Remark: <ent> may be Null, this means all <model> is concerned Also <model> may be Null, if no context applies for <ent> And both <ent> and <model> may be Null, for a full static editor |
IGESSelect_EditDirPart::IGESSelect_EditDirPart | ( | ) |
Standard_Boolean IGESSelect_EditDirPart::Apply | ( | const Handle< IFSelect_EditForm > & | form, |
const Handle< Standard_Transient > & | ent, | ||
const Handle< Interface_InterfaceModel > & | model | ||
) | const [virtual] |
Implements IFSelect_Editor.
TCollection_AsciiString IGESSelect_EditDirPart::Label | ( | ) | const [virtual] |
Implements IFSelect_Editor.
Standard_Boolean IGESSelect_EditDirPart::Load | ( | const Handle< IFSelect_EditForm > & | form, |
const Handle< Standard_Transient > & | ent, | ||
const Handle< Interface_InterfaceModel > & | model | ||
) | const [virtual] |
Implements IFSelect_Editor.
Standard_Boolean IGESSelect_EditDirPart::Recognize | ( | const Handle< IFSelect_EditForm > & | form | ) | const [virtual] |
Implements IFSelect_Editor.
Handle_TCollection_HAsciiString IGESSelect_EditDirPart::StringValue | ( | const Handle< IFSelect_EditForm > & | form, |
const Standard_Integer | num | ||
) | const [virtual] |
Implements IFSelect_Editor.
virtual Standard_Boolean IGESSelect_EditDirPart::Update | ( | const Handle< IFSelect_EditForm > & | form, |
const Standard_Integer | num, | ||
const Handle< TCollection_HAsciiString > & | newval, | ||
const Standard_Boolean | enforce | ||
) | const [virtual] |
Reimplemented from IFSelect_Editor.