Search in sources :

Example 1 with PaletteSeparator

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;
}
Also used : PaletteSeparator(org.eclipse.gef.palette.PaletteSeparator) PaletteDrawer(org.eclipse.gef.palette.PaletteDrawer) PaletteContainer(org.eclipse.gef.palette.PaletteContainer)

Example 2 with PaletteSeparator

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;
}
Also used : PaletteSeparator(org.eclipse.gef.palette.PaletteSeparator) TalendPaletteGroup(org.talend.core.ui.component.TalendPaletteGroup)

Aggregations

PaletteSeparator (org.eclipse.gef.palette.PaletteSeparator)2 PaletteContainer (org.eclipse.gef.palette.PaletteContainer)1 PaletteDrawer (org.eclipse.gef.palette.PaletteDrawer)1 TalendPaletteGroup (org.talend.core.ui.component.TalendPaletteGroup)1