当前位置: 首页>>代码示例>>Java>>正文


Java PaletteDrawer.setId方法代码示例

本文整理汇总了Java中org.eclipse.gef.palette.PaletteDrawer.setId方法的典型用法代码示例。如果您正苦于以下问题:Java PaletteDrawer.setId方法的具体用法?Java PaletteDrawer.setId怎么用?Java PaletteDrawer.setId使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在org.eclipse.gef.palette.PaletteDrawer的用法示例。


在下文中一共展示了PaletteDrawer.setId方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: createObjects1Group

import org.eclipse.gef.palette.PaletteDrawer; //导入方法依赖的package包/类
/**
 * Creates "Objects" palette tool group
 * @generated
 */
private PaletteContainer createObjects1Group() {
	PaletteDrawer paletteContainer = new PaletteDrawer(
			SimpleBPMN.diagram.part.Messages.Objects1Group_title);
	paletteContainer.setId("createObjects1Group"); //$NON-NLS-1$
	paletteContainer.add(createANDGateway1CreationTool());
	paletteContainer.add(createActivity2CreationTool());
	paletteContainer.add(createDataObject3CreationTool());
	paletteContainer.add(createEndEvent4CreationTool());
	paletteContainer.add(createGroup5CreationTool());
	paletteContainer.add(createIntermediateEvent6CreationTool());
	paletteContainer.add(createLane7CreationTool());
	paletteContainer.add(createORGateway8CreationTool());
	paletteContainer.add(createPool9CreationTool());
	paletteContainer.add(createStartEvent10CreationTool());
	paletteContainer.add(createXORGateway11CreationTool());
	return paletteContainer;
}
 
开发者ID:bluezio,项目名称:simplified-bpmn-example,代码行数:22,代码来源:SimpleBPMNPaletteFactory.java

示例2: 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;
}
 
开发者ID:d-case,项目名称:d-case_editor,代码行数:23,代码来源:DcasePaletteFactory.java

示例3: 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;
}
 
开发者ID:d-case,项目名称:d-case_editor,代码行数:20,代码来源:DcasePaletteFactory.java

示例4: createNode1Group

import org.eclipse.gef.palette.PaletteDrawer; //导入方法依赖的package包/类
/**
 * Creates "Node" palette tool group
 * @generated
 */
private PaletteContainer createNode1Group() {
	PaletteDrawer paletteContainer = new PaletteDrawer(
			Messages.Node1Group_title);
	paletteContainer.setId("createNode1Group"); //$NON-NLS-1$
	paletteContainer.add(createSMC1CreationTool());
	paletteContainer.add(createRole2CreationTool());
	paletteContainer.add(createContract3CreationTool());
	paletteContainer.add(createFact4CreationTool());
	paletteContainer.add(createPlayer5CreationTool());
	return paletteContainer;
}
 
开发者ID:road-framework,项目名称:ROADDesigner,代码行数:16,代码来源:SmcPaletteFactory.java

示例5: createConnection2Group

import org.eclipse.gef.palette.PaletteDrawer; //导入方法依赖的package包/类
/**
 * Creates "Connection" palette tool group
 * @generated
 */
private PaletteContainer createConnection2Group() {
	PaletteDrawer paletteContainer = new PaletteDrawer(
			Messages.Connection2Group_title);
	paletteContainer.setId("createConnection2Group"); //$NON-NLS-1$
	paletteContainer.add(createContractRoleA1CreationTool());
	paletteContainer.add(createContractRoleB2CreationTool());
	paletteContainer.add(createPlayerBinding3CreationTool());
	paletteContainer.add(createFactLink4CreationTool());
	paletteContainer.add(createExternalFactLink5CreationTool());
	return paletteContainer;
}
 
开发者ID:road-framework,项目名称:ROADDesigner,代码行数:16,代码来源:SmcPaletteFactory.java

示例6: createConnections2Group

import org.eclipse.gef.palette.PaletteDrawer; //导入方法依赖的package包/类
/**
 * Creates "Connections" palette tool group
 * @generated
 */
private PaletteContainer createConnections2Group() {
	PaletteDrawer paletteContainer = new PaletteDrawer(
			SimpleBPMN.diagram.part.Messages.Connections2Group_title);
	paletteContainer.setId("createConnections2Group"); //$NON-NLS-1$
	paletteContainer.add(createAssociation1CreationTool());
	paletteContainer.add(createMessageFlow2CreationTool());
	paletteContainer.add(createSequenceFlow3CreationTool());
	return paletteContainer;
}
 
开发者ID:bluezio,项目名称:simplified-bpmn-example,代码行数:14,代码来源:SimpleBPMNPaletteFactory.java

示例7: createObjects1Group

import org.eclipse.gef.palette.PaletteDrawer; //导入方法依赖的package包/类
/**
* Creates "Objects" palette tool group
* @generated
*/
private PaletteContainer createObjects1Group() {
	PaletteDrawer paletteContainer = new PaletteDrawer(Messages.Objects1Group_title);
	paletteContainer.setId("createObjects1Group"); //$NON-NLS-1$
	paletteContainer.add(createAttribute1CreationTool());
	paletteContainer.add(createClass2CreationTool());
	paletteContainer.add(createOperation3CreationTool());
	return paletteContainer;
}
 
开发者ID:adisandro,项目名称:MMINT,代码行数:13,代码来源:ClassDiagramPaletteFactory.java

示例8: createConnections2Group

import org.eclipse.gef.palette.PaletteDrawer; //导入方法依赖的package包/类
/**
* Creates "Connections" palette tool group
* @generated
*/
private PaletteContainer createConnections2Group() {
	PaletteDrawer paletteContainer = new PaletteDrawer(
			edu.toronto.cs.se.modelepedia.icse15_sequencediagram_mavo.diagram.part.Messages.Connections2Group_title);
	paletteContainer.setId("createConnections2Group"); //$NON-NLS-1$
	paletteContainer.add(createClassReference1CreationTool());
	paletteContainer.add(createOperationReference2CreationTool());
	paletteContainer.add(createSourceLifelineReference3CreationTool());
	paletteContainer.add(createTargetLifelineReference4CreationTool());
	return paletteContainer;
}
 
开发者ID:adisandro,项目名称:MMINT,代码行数:15,代码来源:ICSE15_SequenceDiagram_MAVOPaletteFactory.java

示例9: createObjects1Group

import org.eclipse.gef.palette.PaletteDrawer; //导入方法依赖的package包/类
/**
 * Creates "Objects" palette tool group
 * @generated
 */
private PaletteContainer createObjects1Group() {
	PaletteDrawer paletteContainer = new PaletteDrawer(
			edu.toronto.cs.se.modelepedia.necsis14_classdiagram.diagram.part.Messages.Objects1Group_title);
	paletteContainer.setId("createObjects1Group"); //$NON-NLS-1$
	paletteContainer.add(createAttribute1CreationTool());
	paletteContainer.add(createClass2CreationTool());
	return paletteContainer;
}
 
开发者ID:adisandro,项目名称:MMINT,代码行数:13,代码来源:NECSIS14_ClassDiagramPaletteFactory.java

示例10: createConnections2Group

import org.eclipse.gef.palette.PaletteDrawer; //导入方法依赖的package包/类
/**
* Creates "Connections" palette tool group
* @generated
*/
private PaletteContainer createConnections2Group() {
	PaletteDrawer paletteContainer = new PaletteDrawer(
			edu.toronto.cs.se.modelepedia.statemachine_mavo.diagram.part.Messages.Connections2Group_title);
	paletteContainer.setId("createConnections2Group"); //$NON-NLS-1$
	paletteContainer.add(createTransition1CreationTool());
	return paletteContainer;
}
 
开发者ID:adisandro,项目名称:MMINT,代码行数:12,代码来源:StateMachine_MAVOPaletteFactory.java

示例11: createObjects1Group

import org.eclipse.gef.palette.PaletteDrawer; //导入方法依赖的package包/类
/**
 * Creates "Objects" palette tool group
 * @generated
 */
private PaletteContainer createObjects1Group() {
	PaletteDrawer paletteContainer = new PaletteDrawer(
			edu.toronto.cs.se.modelepedia.necsis14_databaseschema.diagram.part.Messages.Objects1Group_title);
	paletteContainer.setId("createObjects1Group"); //$NON-NLS-1$
	paletteContainer.add(createColumn1CreationTool());
	paletteContainer.add(createTable2CreationTool());
	return paletteContainer;
}
 
开发者ID:adisandro,项目名称:MMINT,代码行数:13,代码来源:NECSIS14_DatabaseSchemaPaletteFactory.java

示例12: 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;
}
 
开发者ID:d-case,项目名称:d-case_editor,代码行数:16,代码来源:DcasePaletteFactory.java

示例13: createImport2Group

import org.eclipse.gef.palette.PaletteDrawer; //导入方法依赖的package包/类
/**
* Creates "Import" palette tool group
 * @generated
 */
private PaletteContainer createImport2Group() {
	PaletteDrawer paletteContainer = new PaletteDrawer(Messages.Import2Group_title);
	paletteContainer.setId("createImport2Group"); //$NON-NLS-1$
	paletteContainer.add(createImportModel1CreationTool());
	paletteContainer.add(createImportNaryRel2CreationTool());
	return paletteContainer;
}
 
开发者ID:adisandro,项目名称:MMINT,代码行数:12,代码来源:MIDPaletteFactory.java

示例14: createNew1Group

import org.eclipse.gef.palette.PaletteDrawer; //导入方法依赖的package包/类
/**
* Creates "New" palette tool group
* @generated
*/
private PaletteContainer createNew1Group() {
	PaletteDrawer paletteContainer = new PaletteDrawer(Messages.New1Group_title);
	paletteContainer.setId("createNew1Group"); //$NON-NLS-1$
	paletteContainer.add(createNewBinaryMapping1CreationTool());
	paletteContainer.add(createNewNaryMapping2CreationTool());
	paletteContainer.add(createConnectModelElement3CreationTool());
	return paletteContainer;
}
 
开发者ID:adisandro,项目名称:MMINT,代码行数:13,代码来源:MIDPaletteFactory.java

示例15: createConnections2Group

import org.eclipse.gef.palette.PaletteDrawer; //导入方法依赖的package包/类
/**
* Creates "Connections" palette tool group
* @generated
*/
private PaletteContainer createConnections2Group() {
	PaletteDrawer paletteContainer = new PaletteDrawer(
			edu.toronto.cs.se.modelepedia.graph_mavo.diagram.part.Messages.Connections2Group_title);
	paletteContainer.setId("createConnections2Group"); //$NON-NLS-1$
	paletteContainer.add(createEdge1CreationTool());
	return paletteContainer;
}
 
开发者ID:adisandro,项目名称:MMINT,代码行数:12,代码来源:Graph_MAVOPaletteFactory.java


注:本文中的org.eclipse.gef.palette.PaletteDrawer.setId方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。