Search in sources :

Example 1 with ToolEntry

use of org.eclipse.gef.palette.ToolEntry in project tdi-studio-se by Talend.

the class BusinessPaletteFactory method createAction2CreationTool.

/**
     * @generated NOT
     */
private ToolEntry createAction2CreationTool() {
    ImageDescriptor smallImage;
    ImageDescriptor largeImage;
    smallImage = BusinessElementTypes.getImageDescriptor(BusinessElementTypes.ActionBusinessItem_1001);
    largeImage = smallImage;
    final List elementTypes = new ArrayList();
    elementTypes.add(BusinessElementTypes.ActionBusinessItem_1001);
    ToolEntry result = new NodeToolEntry(Messages.getString("BusinessPaletteFactory.Action"), Messages.getString("BusinessPaletteFactory.ActionComment"), smallImage, largeImage, //$NON-NLS-1$ //$NON-NLS-2$
    elementTypes);
    return result;
}
Also used : ArrayList(java.util.ArrayList) ImageDescriptor(org.eclipse.jface.resource.ImageDescriptor) ArrayList(java.util.ArrayList) List(java.util.List) ToolEntry(org.eclipse.gef.palette.ToolEntry)

Example 2 with ToolEntry

use of org.eclipse.gef.palette.ToolEntry in project tdi-studio-se by Talend.

the class BusinessPaletteFactory method createInput6CreationTool.

/**
     * @generated NOT
     */
private ToolEntry createInput6CreationTool() {
    ImageDescriptor smallImage;
    ImageDescriptor largeImage;
    smallImage = BusinessElementTypes.getImageDescriptor(BusinessElementTypes.InputBusinessItem_1007);
    largeImage = smallImage;
    final List elementTypes = new ArrayList();
    elementTypes.add(BusinessElementTypes.InputBusinessItem_1007);
    ToolEntry result = new NodeToolEntry(Messages.getString("BusinessPaletteFactory.Input"), Messages.getString("BusinessPaletteFactory.InputComment"), smallImage, largeImage, //$NON-NLS-1$ //$NON-NLS-2$
    elementTypes);
    return result;
}
Also used : ArrayList(java.util.ArrayList) ImageDescriptor(org.eclipse.jface.resource.ImageDescriptor) ArrayList(java.util.ArrayList) List(java.util.List) ToolEntry(org.eclipse.gef.palette.ToolEntry)

Example 3 with ToolEntry

use of org.eclipse.gef.palette.ToolEntry in project tdi-studio-se by Talend.

the class BusinessPaletteFactory method createDatabase8CreationTool.

/**
     * @generated NOT
     */
private ToolEntry createDatabase8CreationTool() {
    ImageDescriptor smallImage;
    ImageDescriptor largeImage;
    smallImage = BusinessElementTypes.getImageDescriptor(BusinessElementTypes.DatabaseBusinessItem_1004);
    largeImage = smallImage;
    final List elementTypes = new ArrayList();
    elementTypes.add(BusinessElementTypes.DatabaseBusinessItem_1004);
    ToolEntry result = new NodeToolEntry(Messages.getString("BusinessPaletteFactory.Database"), Messages.getString("BusinessPaletteFactory.DatabaseComment"), smallImage, largeImage, //$NON-NLS-1$ //$NON-NLS-2$
    elementTypes);
    return result;
}
Also used : ArrayList(java.util.ArrayList) ImageDescriptor(org.eclipse.jface.resource.ImageDescriptor) ArrayList(java.util.ArrayList) List(java.util.List) ToolEntry(org.eclipse.gef.palette.ToolEntry)

Example 4 with ToolEntry

use of org.eclipse.gef.palette.ToolEntry in project tdi-studio-se by Talend.

the class BusinessPaletteFactory method createList7CreationTool.

/**
     * @generated NOT
     */
private ToolEntry createList7CreationTool() {
    ImageDescriptor smallImage;
    ImageDescriptor largeImage;
    smallImage = BusinessElementTypes.getImageDescriptor(BusinessElementTypes.ListBusinessItem_1005);
    largeImage = smallImage;
    final List elementTypes = new ArrayList();
    elementTypes.add(BusinessElementTypes.ListBusinessItem_1005);
    ToolEntry result = new NodeToolEntry(Messages.getString("BusinessPaletteFactory.List"), Messages.getString("BusinessPaletteFactory.ListComment"), smallImage, largeImage, //$NON-NLS-1$ //$NON-NLS-2$
    elementTypes);
    return result;
}
Also used : ArrayList(java.util.ArrayList) ImageDescriptor(org.eclipse.jface.resource.ImageDescriptor) ArrayList(java.util.ArrayList) List(java.util.List) ToolEntry(org.eclipse.gef.palette.ToolEntry)

Example 5 with ToolEntry

use of org.eclipse.gef.palette.ToolEntry in project tdi-studio-se by Talend.

the class BusinessPaletteFactory method createTerminal3CreationTool.

/**
     * @generated NOT
     */
private ToolEntry createTerminal3CreationTool() {
    ImageDescriptor smallImage;
    ImageDescriptor largeImage;
    smallImage = BusinessElementTypes.getImageDescriptor(BusinessElementTypes.TerminalBusinessItem_1002);
    largeImage = smallImage;
    final List elementTypes = new ArrayList();
    elementTypes.add(BusinessElementTypes.TerminalBusinessItem_1002);
    ToolEntry result = new NodeToolEntry(Messages.getString("BusinessPaletteFactory.Terminal"), Messages.getString("BusinessPaletteFactory.TerminalComment"), smallImage, largeImage, //$NON-NLS-1$ //$NON-NLS-2$
    elementTypes);
    return result;
}
Also used : ArrayList(java.util.ArrayList) ImageDescriptor(org.eclipse.jface.resource.ImageDescriptor) ArrayList(java.util.ArrayList) List(java.util.List) ToolEntry(org.eclipse.gef.palette.ToolEntry)

Aggregations

ToolEntry (org.eclipse.gef.palette.ToolEntry)18 ArrayList (java.util.ArrayList)17 List (java.util.List)15 ImageDescriptor (org.eclipse.jface.resource.ImageDescriptor)14 ConnectionCreationToolEntry (org.eclipse.gef.palette.ConnectionCreationToolEntry)3 SelectionToolEntry (org.eclipse.gef.palette.SelectionToolEntry)3 CombinedTemplateCreationEntry (org.eclipse.gef.palette.CombinedTemplateCreationEntry)2 PaletteDrawer (org.eclipse.gef.palette.PaletteDrawer)2 PaletteGroup (org.eclipse.gef.palette.PaletteGroup)2 DistributorNode (com.cubrid.cubridmanager.ui.replication.editor.model.DistributorNode)1 HostNode (com.cubrid.cubridmanager.ui.replication.editor.model.HostNode)1 MasterNode (com.cubrid.cubridmanager.ui.replication.editor.model.MasterNode)1 SlaveNode (com.cubrid.cubridmanager.ui.replication.editor.model.SlaveNode)1 EventObject (java.util.EventObject)1 EditPart (org.eclipse.gef.EditPart)1 RootEditPart (org.eclipse.gef.RootEditPart)1 AbstractEditPart (org.eclipse.gef.editparts.AbstractEditPart)1 ScalableFreeformRootEditPart (org.eclipse.gef.editparts.ScalableFreeformRootEditPart)1 MarqueeToolEntry (org.eclipse.gef.palette.MarqueeToolEntry)1 PaletteContainer (org.eclipse.gef.palette.PaletteContainer)1