Package net.sf.myway.edit.ui.editors

Examples of net.sf.myway.edit.ui.editors.NodeCreationFactory


      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")));
      final NodeCreationFactory fac = new NodeCreationFactory();
      final ImageDescriptor ico = EditUIPlugin.getImageDescriptor("/icons/village.png"); //$NON-NLS-1$
      final CombinedTemplateCreationEntry addNode = new CombinedTemplateCreationEntry(
        Messages.MapPalette_Nodes, "Node", fac, fac, ico, ico) { //$NON-NLS-2$
      };
      addNode.setToolProperty(AbstractTool.PROPERTY_UNLOAD_WHEN_FINISHED, false);
View Full Code Here

TOP

Related Classes of net.sf.myway.edit.ui.editors.NodeCreationFactory

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.