Go to the documentation of this file.
83 name.Prepend(_T(
"RF: "));
87 for (
int i = 0; i < rf->
portCount(); i++) {
88 vector<Factory*>::const_iterator iter;
91 (*iter)->createEditPart(rf->
port(i));
92 if (portEditPart != NULL) {
97 if (editPolicy != NULL) {
108 info.Append(_T(
"?"));
112 info.Append(_T(
"x"));
120 if (editPolicy != NULL) {
RFFactory(EditPolicyFactory &editPolicyFactory)
static wxString toWxString(const std::string &source)
virtual TCEString name() const
void setSelectable(bool selectable)
void installEditPolicy(EditPolicy *editpolicy)
virtual int numberOfRegisters() const
void registerFactory(Factory *factory)
void setModel(TTAMachine::MachinePart *model)
virtual EditPolicy * createRFPortEditPolicy()
virtual int portCount() const
virtual RFPort * port(const std::string &name) const
void setFigure(Figure *figure)
void addChild(EditPart *child)
virtual EditPart * createEditPart(TTAMachine::MachinePart *component)
virtual EditPolicy * createRFEditPolicy()
EditPolicyFactory & editPolicyFactory_
Factory which creates edit policies for edit parts.
virtual int width() const
std::vector< Factory * > factories_
Registered factories.