Examples of IStackToolEntry


Examples of org.eclipse.graphiti.palette.IStackToolEntry

          if (createTool != null) {
            drawer.add(createTool);
          }

        } else if (toolEntry instanceof IStackToolEntry) {
          IStackToolEntry stackToolEntry = (IStackToolEntry) toolEntry;
          PaletteStack stack = new PaletteStack(stackToolEntry.getLabel(), stackToolEntry.getDescription(), GraphitiUi
              .getImageService().getImageDescriptorForId(cfgProvider.getDiagramTypeProvider().getProviderId(), stackToolEntry.getIconId()));
          drawer.add(stack);
          List<ICreationToolEntry> creationToolEntries = stackToolEntry.getCreationToolEntries();
          for (ICreationToolEntry creationToolEntry : creationToolEntries) {
            PaletteEntry createTool = createTool(creationToolEntry);
            if (createTool != null) {
              stack.add(createTool);
            }
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.