本文整理汇总了Java中org.eclipse.gef.palette.PaletteGroup.setId方法的典型用法代码示例。如果您正苦于以下问题:Java PaletteGroup.setId方法的具体用法?Java PaletteGroup.setId怎么用?Java PaletteGroup.setId使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.eclipse.gef.palette.PaletteGroup
的用法示例。
在下文中一共展示了PaletteGroup.setId方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: createWc20141Group
import org.eclipse.gef.palette.PaletteGroup; //导入方法依赖的package包/类
/**
* Creates "wc2014" palette tool group
* @generated
*/
private PaletteContainer createWc20141Group() {
PaletteGroup paletteContainer = new PaletteGroup(
Messages.Wc20141Group_title);
paletteContainer.setId("createWc20141Group"); //$NON-NLS-1$
paletteContainer.add(createTeam1CreationTool());
paletteContainer.add(createTeamAtGroup2CreationTool());
paletteContainer.add(createMatchHome3CreationTool());
paletteContainer.add(createMatchAway4CreationTool());
paletteContainer.add(createGroupMatch5CreationTool());
paletteContainer.add(createEliminationMatch6CreationTool());
paletteContainer.add(createEliminationMatchWinner7CreationTool());
paletteContainer.add(createGroup8CreationTool());
paletteContainer.add(createGroupFirstTeam9CreationTool());
paletteContainer.add(createGroupSecondTeam10CreationTool());
return paletteContainer;
}
示例2: createStatemachine1Group
import org.eclipse.gef.palette.PaletteGroup; //导入方法依赖的package包/类
/**
* Creates "statemachine" palette tool group
* @generated
*/
private PaletteContainer createStatemachine1Group() {
PaletteGroup paletteContainer = new PaletteGroup(
Messages.Statemachine1Group_title);
paletteContainer.setId("createStatemachine1Group"); //$NON-NLS-1$
paletteContainer.add(createState1CreationTool());
paletteContainer.add(createTransition2CreationTool());
return paletteContainer;
}
示例3: createTransformations1Group
import org.eclipse.gef.palette.PaletteGroup; //导入方法依赖的package包/类
/**
* Creates "transformations" palette tool group
* @generated
*/
private PaletteContainer createTransformations1Group() {
PaletteGroup paletteContainer = new PaletteGroup(Messages.Transformations1Group_title);
paletteContainer.setId("createTransformations1Group"); //$NON-NLS-1$
paletteContainer.add(createTransformationSet1CreationTool());
paletteContainer.add(createTransformationSetExtension2CreationTool());
paletteContainer.add(createTransformation3CreationTool());
paletteContainer.add(createExternalTransformation4CreationTool());
paletteContainer.add(createSelfRequirement5CreationTool());
paletteContainer.add(createParentRequirement6CreationTool());
paletteContainer.add(createCustomRequirement7CreationTool());
return paletteContainer;
}