Examples of PanningSelectionToolEntry


Examples of org.eclipse.gef.palette.PanningSelectionToolEntry

    PaletteRoot root = new PaletteRoot();

    PaletteGroup manipGroup = new PaletteGroup("Manipulate elements");
    root.add(manipGroup);

    PanningSelectionToolEntry selectionToolEntry = new PanningSelectionToolEntry();
    manipGroup.add(selectionToolEntry);

    MarqueeToolEntry marqueeToolEntry = new MarqueeToolEntry();
    manipGroup.add(marqueeToolEntry);
View Full Code Here

Examples of org.eclipse.gef.palette.PanningSelectionToolEntry

    /** Create the "Tools" group. */
    private static PaletteContainer createToolsGroup(PaletteRoot palette) {
        PaletteToolbar toolbar = new PaletteToolbar("Tools");

        // Add a selection tool to the group
        ToolEntry tool = new PanningSelectionToolEntry();
        toolbar.add(tool);
        palette.setDefaultEntry(tool);

        // Add a marquee tool to the group
        toolbar.add(new MarqueeToolEntry());
View Full Code Here

Examples of org.eclipse.gef.palette.PanningSelectionToolEntry

  PaletteGroup controlGroup = new PaletteGroup(
    LogicMessages.LogicPlugin_Category_ControlGroup_Label);

  List entries = new ArrayList();

  ToolEntry tool = new PanningSelectionToolEntry();
  entries.add(tool);
  root.setDefaultEntry(tool);

  PaletteStack marqueeStack = new PaletteStack(LogicMessages.Marquee_Stack, "", null); //$NON-NLS-1$
  marqueeStack.add(new MarqueeToolEntry());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.