本文整理汇总了Java中org.eclipse.gef.palette.PaletteDrawer.setDescription方法的典型用法代码示例。如果您正苦于以下问题:Java PaletteDrawer.setDescription方法的具体用法?Java PaletteDrawer.setDescription怎么用?Java PaletteDrawer.setDescription使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.eclipse.gef.palette.PaletteDrawer
的用法示例。
在下文中一共展示了PaletteDrawer.setDescription方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: createNodes1Group
import org.eclipse.gef.palette.PaletteDrawer; //导入方法依赖的package包/类
/**
* Creates "Nodes" palette tool group
* @generated
*/
private PaletteContainer createNodes1Group() {
PaletteDrawer paletteContainer = new PaletteDrawer(
Messages.Nodes1Group_title);
paletteContainer.setId("createNodes1Group"); //$NON-NLS-1$
paletteContainer.setDescription(Messages.Nodes1Group_desc);
paletteContainer.add(createGoal1CreationTool());
paletteContainer.add(createEvidence3CreationTool());
paletteContainer.add(createStrategy2CreationTool());
paletteContainer.add(createContext6CreationTool());
paletteContainer.add(createJustification7CreationTool());
paletteContainer.add(createUserdef0044CreationTool()); // Assumption
paletteContainer.add(createUndeveloped5CreationTool());
paletteContainer.add(createUserdef0055CreationTool()); // Module
paletteContainer.add(createUserdef0066CreationTool()); // Contract
return paletteContainer;
}
示例2: createOptionNodes2Group
import org.eclipse.gef.palette.PaletteDrawer; //导入方法依赖的package包/类
/**
* Creates "Option Nodes" palette tool group
* @generated
*/
private PaletteContainer createOptionNodes2Group() {
PaletteDrawer paletteContainer = new PaletteDrawer(
Messages.OptionNodes2Group_title);
paletteContainer.setId("createOptionNodes2Group"); //$NON-NLS-1$
paletteContainer.setDescription(Messages.OptionNodes2Group_desc);
paletteContainer.add(createMonitor4CreationTool());
paletteContainer.add(createSystem8CreationTool());
paletteContainer.add(createPolicy9CreationTool());
paletteContainer.add(createUserdef0011CreationTool());
paletteContainer.add(createUserdef0022CreationTool());
paletteContainer.add(createUserdef0033CreationTool());
return paletteContainer;
}
示例3: createLinks3Group
import org.eclipse.gef.palette.PaletteDrawer; //导入方法依赖的package包/类
/**
* Creates "Links" palette tool group
* @generated
*/
private PaletteContainer createLinks3Group() {
PaletteDrawer paletteContainer = new PaletteDrawer(
Messages.Links3Group_title);
paletteContainer.setId("createLinks3Group"); //$NON-NLS-1$
paletteContainer.setDescription(Messages.Links3Group_desc);
paletteContainer.add(createLink1CreationTool());
paletteContainer.add(createLink2CreationTool());
paletteContainer.add(createLink3CreationTool());
paletteContainer.add(createLink4CreationTool());
return paletteContainer;
}