metamodel.metamodel.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <meta-models examplefile="example/demo.xml"> <relationship id="NREdge"> <properties> <property id="Description" preferredwidget="ingenias.editor.widget.ScrolledTArea" type="java.lang.String"> <defaultvalues/> <label lang="en">Description</label> </property> <property id="CostField" preferredwidget="ingenias.editor.widget.IntegerJTextField" type="java.lang.Integer"> <defaultvalues/> <label lang="en">Description</label> </property> <preferredorder> <order>id</order> <order>Description</order> <order>CostField</order> </preferredorder> </properties> <graphics> <small-icon>images/mNREdge.png</small-icon> <normal-icon>images/NREdge.png</normal-icon> <layout> <properties> <property id="id"/> <property id="CostField"/> </properties> <views> <content id="INGENIAS"> ##panel layout="BorderLayout(0,0)" Background="white"# ##vbox Background="white" constraints="BorderLayout.CENTER"# ##stereotype text="NREdge" HorizontalAlignment="CENTER"/# ##/vbox# ##/panel# </content> <content id="LABEL"> ##panel layout="BorderLayout(0,0)" Background="white"# ##htmllabel id="Id"/# ##/panel# </content> <content id="NOICON"> ##panel layout="BorderLayout(0,0)" Background="white"# ##/panel# </content> </views> </layout> </graphics> <roles> <role id="NREdgeConnectorsource" maxcard="1" mincard="1" type="source"/> <role id="NREdgeConnectortarget" maxcard="1" mincard="1" type="target"/> </roles> </relationship> <role id="NREdgeConnectortarget"> <graphics> <small-icon/> <normal-icon/> </graphics> <properties> <property id="Description" preferredwidget="ingenias.editor.widget.ScrolledTArea" type="java.lang.String"> <defaultvalues/> <label lang="en">Description</label> </property> <preferredorder> <order>id</order> <order>Description</order> </preferredorder> </properties> <validplayers> <player id="NRNode"/> </validplayers> </role> <role id="NREdgeConnectorsource"> <graphics> <small-icon/> <normal-icon/> </graphics> <properties> <property id="Description" preferredwidget="ingenias.editor.widget.ScrolledTArea" type="java.lang.String"> <defaultvalues/> <label lang="en">Description</label> </property> <preferredorder> <order>id</order> <order>Description</order> </preferredorder> </properties> <validplayers> <player id="NRNode"/> </validplayers> </role> <metamodel icon="images/mdiagram.png" id="NRGraph" name=""> <properties> <property id="Description" preferredwidget="ingenias.editor.widget.ScrolledTArea" type="java.lang.String"> <defaultvalues/> <label lang="en">Description</label> </property> <preferredorder> <order>id</order> <order>Description</order> </preferredorder> </properties> <code id="constructor"><![CDATA[ToolTipManager.sharedInstance().registerComponent(this); this.getModel().addGraphModelListener(new ChangeNARYEdgeLocation(this)); this.getModel().addGraphModelListener(new ChangeEntityLocation(this)); ]]></code> <objects> <object id="NRNode"/> </objects> <relationships> <relationship id="NREdge"/> </relationships> </metamodel> <object id="NRNode" instanciable="yes" keyfield="id" package="ninguno"> <description> Nada</description> <recommendation> NAda</recommendation> <properties> <property id="Description" preferredwidget="ingenias.editor.widget.ScrolledTArea" type="java.lang.String"> <defaultvalues/> <label lang="en">Description</label> </property> <preferredorder> <order>id</order> <order>Description</order> </preferredorder> </properties> <graphics> <small-icon>images/mnode.png</small-icon> <normal-icon>images/node.png</normal-icon> <layout> <properties> <property id="id"/> </properties> <views> <content id="INGENIAS"> ##panel layout="BorderLayout(0,0)" Background="white"# ##panel constraints="BorderLayout.NORTH" Background="white" layout="GridBagLayout"# ##htmllabel id="Id"# ##gridbagconstraints id="gbc_1" insets="0,0,0,0" gridx="0" gridy="0" fill="GridBagLayout.BOTH" anchor="GridBagLayout.CENTER"/# ##/htmllabel# ##/panel# ##label Foreground="blue" icon="images/node.png" constraints="BorderLayout.CENTER" HorizontalAlignment="CENTER" /# ##/panel# </content> <content id="UML"> ##panel layout="BorderLayout(0,0)" Background="white" border="LineBorder(Color.black,1)"# ##vbox Background="white" constraints="BorderLayout.CENTER"# ##panel Background="white" HorizontalAlignment="CENTER" layout="FlowLayout(FlowLayout.CENTER,0,0)"# ##stereotype text="Node" HorizontalAlignment="CENTER"/# ##/panel# ##panel Background="white" HorizontalAlignment="CENTER" layout="FlowLayout(FlowLayout.CENTER,0,0)"# ##label id="Id"/# ##/panel# ##linepanel Background="white"/# ##/vbox# ##/panel# </content> </views> </layout> </graphics> </object> </meta-models>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy