#include <guiObservers.hxx>
Public Member Functions | |
SubjectReference (Subject *ref, Subject *parent) | |
virtual | ~SubjectReference () |
virtual std::string | getName () |
virtual Subject * | getReference () const |
virtual void | reparent (Subject *parent) |
virtual void | clean (Command *command=0) |
void | localclean (Command *command=0) |
virtual TypeOfElem | getType () |
Public Member Functions inherited from YACS::HMI::Subject | |
Subject (Subject *parent=0) | |
virtual | ~Subject () |
virtual void | attach (GuiObserver *obs) |
virtual void | detach (GuiObserver *obs) |
virtual void | select (bool isSelected) |
virtual void | update (GuiEvent event, int type, Subject *son) |
virtual bool | setName (std::string name) |
virtual bool | setProperties (std::map< std::string, std::string > properties) |
virtual std::map< std::string, std::string > | getProperties () |
virtual std::vector< std::string > | knownProperties () |
virtual Subject * | getParent () |
virtual void | setParent (Subject *son) |
virtual bool | destroy (Subject *son) |
From user action in Ihm, destroy an object. More... | |
virtual void | loadChildren () |
virtual void | loadLinks () |
virtual void | addSubjectReference (Subject *ref) |
void | localclean (Command *command=0) |
void | registerUndoDestroy () |
void | askRegisterUndoDestroy () |
bool | isDestructible () |
virtual void | setProgress (std::string newProgress) |
virtual std::string | getProgress () |
Public Member Functions inherited from YACS::ENGINE::Observer | |
virtual void | notifyObserver (Node *object, const std::string &event) |
virtual void | notifyObserver2 (Node *object, const std::string &event, void *something) |
virtual | ~Observer () |
Protected Attributes | |
Subject * | _reference |
SubjectObserver * | _sobs |
Protected Attributes inherited from YACS::HMI::Subject | |
std::set< GuiObserver * > | _setObs |
Subject * | _parent |
bool | _destructible |
bool | _askRegisterUndo |
std::string | _progress |
Additional Inherited Members | |
Static Public Member Functions inherited from YACS::HMI::Subject | |
static void | erase (Subject *sub, Command *command=0, bool post=false) |
Definition at line 184 of file guiObservers.hxx.
Definition at line 456 of file guiObservers.cxx.
References _sobs, and YACS::HMI::Subject::attach().
|
virtual |
|
virtual |
Clean process prior to delete is redefined in derived classes: a local clean treatment relative to the derived class, then a call to the parent class clean method.
Reimplemented from YACS::HMI::Subject.
Definition at line 468 of file guiObservers.cxx.
References YACS::HMI::Subject::_askRegisterUndo, YACS::HMI::Subject::clean(), localclean(), and YACS::HMI::Subject::registerUndoDestroy().
|
virtual |
Reimplemented from YACS::HMI::Subject.
Definition at line 484 of file guiObservers.cxx.
References _reference, and YACS::HMI::Subject::getName().
Referenced by YACS::HMI::EditionSalomeNode::update().
|
virtual |
Definition at line 491 of file guiObservers.cxx.
References _reference.
Referenced by YACS::HMI::EditionSalomeNode::changeContainer(), YACS::HMI::SubjectContainerBase::moveComponent(), YACS::HMI::SubjectComponent::moveService(), YACS::HMI::GenericGui::onSelectReference(), YACS::HMI::SchemaComponentItem::update(), YACS::HMI::SchemaContainerItem::update(), and YACS::HMI::EditionSalomeNode::update().
|
inlinevirtual |
Reimplemented from YACS::HMI::Subject.
Definition at line 194 of file guiObservers.hxx.
References YACS::HMI::REFERENCE.
void SubjectReference::localclean | ( | Command * | command = 0 | ) |
|
virtual |
Definition at line 496 of file guiObservers.cxx.
References YACS::HMI::Subject::_parent.
Referenced by YACS::HMI::SubjectContainerBase::moveComponent(), and YACS::HMI::SubjectComponent::moveService().
|
protected |
Definition at line 196 of file guiObservers.hxx.
Referenced by getName(), and getReference().
|
protected |
Definition at line 197 of file guiObservers.hxx.
Referenced by SubjectReference(), and ~SubjectReference().