use of org.eclipse.gef.palette.ToolEntry in project tdi-studio-se by Talend.
the class BusinessPaletteFactory method createData4CreationTool.
/**
* @generated NOT
*/
private ToolEntry createData4CreationTool() {
ImageDescriptor smallImage;
ImageDescriptor largeImage;
smallImage = BusinessElementTypes.getImageDescriptor(BusinessElementTypes.DataBusinessItem_1006);
largeImage = smallImage;
final List elementTypes = new ArrayList();
elementTypes.add(BusinessElementTypes.DataBusinessItem_1006);
ToolEntry result = new NodeToolEntry(Messages.getString("BusinessPaletteFactory.Data"), Messages.getString("BusinessPaletteFactory.DataComment"), smallImage, largeImage, //$NON-NLS-1$ //$NON-NLS-2$
elementTypes);
return result;
}
use of org.eclipse.gef.palette.ToolEntry in project tdi-studio-se by Talend.
the class BusinessPaletteFactory method createGear11CreationTool.
/**
* @generated NOT
*/
private ToolEntry createGear11CreationTool() {
ImageDescriptor smallImage;
ImageDescriptor largeImage;
smallImage = BusinessElementTypes.getImageDescriptor(BusinessElementTypes.GearBusinessItem_1011);
largeImage = smallImage;
final List elementTypes = new ArrayList();
elementTypes.add(BusinessElementTypes.GearBusinessItem_1011);
ToolEntry result = new NodeToolEntry(Messages.getString("BusinessPaletteFactory.Gear"), Messages.getString("BusinessPaletteFactory.CreateGear"), smallImage, largeImage, //$NON-NLS-1$ //$NON-NLS-2$
elementTypes);
return result;
}
use of org.eclipse.gef.palette.ToolEntry in project tdi-studio-se by Talend.
the class BusinessPaletteFactory method createRelationship13CreationTool.
/**
* @generated NOT
*/
private ToolEntry createRelationship13CreationTool() {
ImageDescriptor smallImage;
ImageDescriptor largeImage;
smallImage = BusinessElementTypes.getImageDescriptor(BusinessElementTypes.BusinessItemRelationship_3001);
largeImage = smallImage;
final List relationshipTypes = new ArrayList();
relationshipTypes.add(BusinessElementTypes.BusinessItemRelationship_3001);
ToolEntry result = new LinkToolEntry(Messages.getString("BusinessPaletteFactory.Relationshop"), Messages.getString("BusinessPaletteFactory.RelationshopComment"), smallImage, largeImage, //$NON-NLS-1$ //$NON-NLS-2$
relationshipTypes);
return result;
}
use of org.eclipse.gef.palette.ToolEntry in project tdi-studio-se by Talend.
the class BusinessPaletteFactory method createDocument5CreationTool.
/**
* @generated NOT
*/
private ToolEntry createDocument5CreationTool() {
ImageDescriptor smallImage;
ImageDescriptor largeImage;
smallImage = BusinessElementTypes.getImageDescriptor(BusinessElementTypes.DocumentBusinessItem_1003);
largeImage = smallImage;
final List elementTypes = new ArrayList();
elementTypes.add(BusinessElementTypes.DocumentBusinessItem_1003);
ToolEntry result = new NodeToolEntry(Messages.getString("BusinessPaletteFactory.Document"), Messages.getString("BusinessPaletteFactory.DocuemntComment"), smallImage, largeImage, //$NON-NLS-1$ //$NON-NLS-2$
elementTypes);
return result;
}
Aggregations