use of org.eclipse.gef.palette.PaletteSeparator in project tdi-studio-se by Talend.
the class BusinessPaletteFactory method createbusiness1Group.
/**
* @generated
*/
private PaletteContainer createbusiness1Group() {
//$NON-NLS-1$
PaletteContainer paletteContainer = new PaletteDrawer("business");
paletteContainer.add(createDecision1CreationTool());
paletteContainer.add(createAction2CreationTool());
paletteContainer.add(createTerminal3CreationTool());
paletteContainer.add(createData4CreationTool());
paletteContainer.add(createDocument5CreationTool());
paletteContainer.add(createInput6CreationTool());
paletteContainer.add(createList7CreationTool());
paletteContainer.add(createDatabase8CreationTool());
paletteContainer.add(createActor9CreationTool());
paletteContainer.add(createEllipse10CreationTool());
paletteContainer.add(createGear11CreationTool());
paletteContainer.add(new PaletteSeparator());
paletteContainer.add(createRelationship13CreationTool());
paletteContainer.add(createDirectionalRelationship14CreationTool());
paletteContainer.add(createBidirectionalRelationship15CreationTool());
return paletteContainer;
}
use of org.eclipse.gef.palette.PaletteSeparator in project tdi-studio-se by Talend.
the class TalendEditorPaletteFactory method createToolsGroup.
/** Create the "Tools" group. */
private static PaletteContainer createToolsGroup() {
//$NON-NLS-1$
TalendPaletteGroup toolGroup = new TalendPaletteGroup(Messages.getString("TalendEditorPaletteFactory.Tools"));
// Add a selection tool to the group
// ToolEntry tool = new PanningSelectionToolEntry();
// toolGroup.add(tool);
// palette.setDefaultEntry(tool);
// Add a marquee tool to the group
// toolGroup.add(new MarqueeToolEntry());
// CreationToolEntry noteCreationToolEntry = new CreationToolEntry(Messages.getString("TalendEditorPaletteFactory.Note"), //$NON-NLS-1$
// Messages.getString("TalendEditorPaletteFactory.CreateNote"), //$NON-NLS-1$
// new NoteCreationFactory(), ImageProvider.getImageDesc(ECoreImage.CODE_ICON), ImageProvider
// .getImageDesc(ECoreImage.CODE_ICON));
// toolGroup.add(noteCreationToolEntry);
// Add a (unnamed) separator to the group
toolGroup.add(new PaletteSeparator());
return toolGroup;
}
Aggregations