Go to the documentation of this file.
75 if (busEditPart != NULL) {
79 Bus* bus =
dynamic_cast<Bus*
>(component);
90 vector<Factory*>::const_iterator iter =
factories_.begin();
94 if (segEditPart != NULL) {
106 if (editPolicy != NULL) {
void setSelectable(bool selectable)
EditPart * checkCache(const TTAMachine::MachinePart *component) const
virtual EditPolicy * createBusEditPolicy()
void installEditPolicy(EditPolicy *editpolicy)
virtual Segment * segment(int index) const
void registerFactory(Factory *factory)
void setParent(EditPart *parent)
void writeToCache(EditPart *editPart)
virtual int position() const
virtual EditPart * createEditPart(TTAMachine::MachinePart *component)
void setModel(TTAMachine::MachinePart *model)
BusFactory(EditPolicyFactory &editPolicyFactory)
void setFigure(Figure *figure)
void addChild(EditPart *child)
EditPolicyFactory & editPolicyFactory_
Factory which creates edit policies for edit parts.
virtual int segmentCount() const
std::vector< Factory * > factories_
Registered factories.