Ejemplo n.º 1
0
 /** @generated */
 private ToolEntry createNodeBASIC3CreationTool() {
   ArrayList<IElementType> types = new ArrayList<IElementType>(2);
   types.add(StateChartElementTypes.Node_3002);
   types.add(StateChartElementTypes.Node_2006);
   NodeToolEntry entry =
       new NodeToolEntry(
           Messages.NodeBASIC3CreationTool_title, Messages.NodeBASIC3CreationTool_desc, types);
   entry.setId("createNodeBASIC3CreationTool"); // $NON-NLS-1$
   entry.setSmallIcon(StateChartElementTypes.getImageDescriptor(StateChartElementTypes.Node_3002));
   entry.setLargeIcon(entry.getSmallIcon());
   return entry;
 }
 /** @generated */
 private ToolEntry createOutPort2CreationTool() {
   NodeToolEntry entry =
       new NodeToolEntry(
           Messages.OutPort2CreationTool_title,
           Messages.OutPort2CreationTool_desc,
           Collections.singletonList(ComponentModelElementTypes.OutPort_2102));
   entry.setId("createOutPort2CreationTool"); // $NON-NLS-1$
   entry.setSmallIcon(
       ComponentModelElementTypes.getImageDescriptor(ComponentModelElementTypes.OutPort_2102));
   entry.setLargeIcon(entry.getSmallIcon());
   return entry;
 }
Ejemplo n.º 3
0
 /** @generated */
 private ToolEntry createVariable8CreationTool() {
   NodeToolEntry entry =
       new NodeToolEntry(
           Messages.Variable8CreationTool_title,
           Messages.Variable8CreationTool_desc,
           Collections.singletonList(StateChartElementTypes.Variable_2003));
   entry.setId("createVariable8CreationTool"); // $NON-NLS-1$
   entry.setSmallIcon(
       StateChartElementTypes.getImageDescriptor(StateChartElementTypes.Variable_2003));
   entry.setLargeIcon(entry.getSmallIcon());
   return entry;
 }