Go to the documentation of this file.
82 name.Prepend(_T(
"IMM: "));
86 for (
int i = 0; i < imm->
portCount(); i++) {
87 vector<Factory*>::const_iterator iter;
90 (*iter)->createEditPart(imm->
port(i));
91 if (portEditPart != NULL) {
94 if (editPolicy != NULL) {
104 info.Append(_T(
"x"));
110 if (editPolicy != NULL) {
static wxString toWxString(const std::string &source)
virtual TCEString name() const
IUFactory(EditPolicyFactory &editPolicyFactory)
void setSelectable(bool selectable)
void installEditPolicy(EditPolicy *editpolicy)
virtual EditPart * createEditPart(TTAMachine::MachinePart *component)
virtual int numberOfRegisters() const
void registerFactory(Factory *factory)
void setModel(TTAMachine::MachinePart *model)
virtual int portCount() const
virtual RFPort * port(const std::string &name) const
void setFigure(Figure *figure)
virtual EditPolicy * createIUPortEditPolicy()
void addChild(EditPart *child)
EditPolicyFactory & editPolicyFactory_
Factory which creates edit policies for edit parts.
virtual int width() const
virtual EditPolicy * createIUEditPolicy()
std::vector< Factory * > factories_
Registered factories.