Package org.eclipse.gef.palette

Examples of org.eclipse.gef.palette.PaletteSeparator


    manipGroup.add(marqueeToolEntry);

    PanningToolEntry panningToolEntry = new PanningToolEntry();
    manipGroup.add(panningToolEntry);

    PaletteSeparator sep2 = new PaletteSeparator();
    root.add(sep2);

    PaletteGroup instGroup = new PaletteGroup("Create elements");
    root.add(instGroup);
View Full Code Here


      // use selection tool as default entry
      _paletteRoot.setDefaultEntry(tool);
      // the marquee selection tool
      controls.add(new MarqueeToolEntry());
      // a separator
      final PaletteSeparator separator = new PaletteSeparator(EditUIPlugin.PLUGIN_ID
        + ".palette.seperator"); //$NON-NLS-1$
      separator.setUserModificationPermission(PaletteEntry.PERMISSION_NO_MODIFICATION);
      controls.add(separator);
      // a tool for creating connection
      // controls.add(new ConnectionCreationToolEntry("Connections", "Create Connections",
      // null, ImageDescriptor.createFromFile(getClass(), "/icons/connection16.gif"),
      // ImageDescriptor.createFromFile(getClass(), "/icons/connection24.gif")));
View Full Code Here

        ImageDescriptor.createFromImage(HelperMethods
            .createImage("icons/icon-space.gif"))//$NON-NLS-1$
    );
    entries.add(combined);
   
    entries.add(new PaletteSeparator())
     combined = new CombinedTemplateCreationEntry(MusicMessages.MusicPalette_34,
          MusicMessages.MusicPalette_35, new SimpleFactory(BeamGroupForm.class),
          ImageDescriptor.createFromImage(HelperMethods
              .createImage("icons/icon-beam.gif")),//$NON-NLS-1$
          ImageDescriptor.createFromImage(HelperMethods
View Full Code Here

            if (createTool != null) {
              stack.add(createTool);
            }
          }
        } else if (toolEntry instanceof IPaletteSeparatorEntry) {
          drawer.add(new PaletteSeparator());
        }

      }

    }
View Full Code Here

    ImageDescriptor.createFromFile(Circuit.class, "icons/circuit16.gif"),//$NON-NLS-1$
    ImageDescriptor.createFromFile(Circuit.class, "icons/circuit24.gif")//$NON-NLS-1$
  );
  entries.add(combined);
 
  entries.add(new PaletteSeparator());

  combined = new CombinedTemplateCreationEntry(
    LogicMessages.LogicPlugin_Tool_CreationTool_Label_Label,
    LogicMessages.LogicPlugin_Tool_CreationTool_Label_Description,
    new SimpleFactory(LogicLabel.class),
View Full Code Here

    // tool = new MarqueeToolEntry();
    // entries.add(tool);

    List<PaletteEntry> connections = createConnectionTools();
    if (connections != null && connections.size() > 0) {
      PaletteSeparator sep = new PaletteSeparator();
      sep.setUserModificationPermission(PaletteEntry.PERMISSION_NO_MODIFICATION);
      entries.add(sep);
      entries.addAll(connections);
    }

    group.addAll(entries);
View Full Code Here

    combined = new CombinedTemplateCreationEntry("End State", "Create an End State",
        EndState.class, new SimpleFactory(EndState.class),
        WebflowUIImages.DESC_OBJS_END_STATE, WebflowUIImages.DESC_OBJS_END_STATE);
    entries.add(combined);

    PaletteSeparator sep = new PaletteSeparator(Activator.PLUGIN_ID + ".palette.sep3");
    sep.setUserModificationPermission(PaletteEntry.PERMISSION_NO_MODIFICATION);
    entries.add(sep);

    combined = new CombinedTemplateCreationEntry("Exception Handler",
        "Create an Exception Handler", ExceptionHandler.class, new SimpleFactory(
            ExceptionHandler.class), WebflowUIImages.DESC_OBJS_EXCEPTION_HANDLER,
View Full Code Here

    root.setDefaultEntry(tool);

    tool = new MarqueeToolEntry();
    entries.add(tool);

    PaletteSeparator sep = new PaletteSeparator(Activator.PLUGIN_ID + ".palette.sep2");
    sep.setUserModificationPermission(PaletteEntry.PERMISSION_NO_MODIFICATION);
    entries.add(sep);

    tool = new ConnectionCreationToolEntry("Transition", "Create a Transition",
        new SimpleFactory(StateTransition.class), WebflowImages.DESC_OBJS_CONNECTION,
        WebflowImages.DESC_OBJS_ELSE_CONNECTION);
View Full Code Here

TOP

Related Classes of org.eclipse.gef.palette.PaletteSeparator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.