Ejemplo n.º 1
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;
 }
Ejemplo n.º 2
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;
 }
Ejemplo n.º 3
0
 /** @generated */
 private ToolEntry createTransition7CreationTool() {
   LinkToolEntry entry =
       new LinkToolEntry(
           Messages.Transition7CreationTool_title,
           Messages.Transition7CreationTool_desc,
           Collections.singletonList(StateChartElementTypes.Transition_4001));
   entry.setId("createTransition7CreationTool"); // $NON-NLS-1$
   entry.setSmallIcon(
       StateChartElementTypes.getImageDescriptor(StateChartElementTypes.Transition_4001));
   entry.setLargeIcon(entry.getSmallIcon());
   return entry;
 }