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


Java ReorientRelationshipRequest.getRelationship方法代码示例

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


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

示例1: TransitionReorientCommand

import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientRelationshipRequest; //导入方法依赖的package包/类
/**
 * @generated
 */
public TransitionReorientCommand(ReorientRelationshipRequest request) {
	super(request.getLabel(), request.getRelationship(), request);
	reorientDirection = request.getDirection();
	oldEnd = request.getOldRelationshipEnd();
	newEnd = request.getNewRelationshipEnd();
}
 
开发者ID:spoenemann,项目名称:xtext-gef,代码行数:10,代码来源:TransitionReorientCommand.java

示例2: getReorientRelationshipCommand

import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientRelationshipRequest; //导入方法依赖的package包/类
@Override
protected ICommand getReorientRelationshipCommand(
		ReorientRelationshipRequest req) {
	switch (req.getDirection()) {
	case ReorientRelationshipRequest.REORIENT_SOURCE:
		return new SetValueCommand(new SetRequest(req.getRelationship(),
				SGraphPackage.Literals.TRANSITION__SOURCE,
				req.getNewRelationshipEnd()));
	case ReorientRelationshipRequest.REORIENT_TARGET:
		return new SetValueCommand(new SetRequest(req.getRelationship(),
				SGraphPackage.Literals.TRANSITION__TARGET,
				req.getNewRelationshipEnd()));
	}
	return super.getReorientRelationshipCommand(req);
}
 
开发者ID:Yakindu,项目名称:statecharts,代码行数:16,代码来源:TransitionEditHelper.java

示例3: FactLinkReorientCommand

import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientRelationshipRequest; //导入方法依赖的package包/类
/**
 * @generated
 */
public FactLinkReorientCommand(ReorientRelationshipRequest request) {
	super(request.getLabel(), request.getRelationship(), request);
	reorientDirection = request.getDirection();
	oldEnd = request.getOldRelationshipEnd();
	newEnd = request.getNewRelationshipEnd();
}
 
开发者ID:road-framework,项目名称:ROADDesigner,代码行数:10,代码来源:FactLinkReorientCommand.java

示例4: PlayerBindingReorientCommand

import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientRelationshipRequest; //导入方法依赖的package包/类
/**
 * @generated
 */
public PlayerBindingReorientCommand(ReorientRelationshipRequest request) {
	super(request.getLabel(), request.getRelationship(), request);
	reorientDirection = request.getDirection();
	oldEnd = request.getOldRelationshipEnd();
	newEnd = request.getNewRelationshipEnd();
}
 
开发者ID:road-framework,项目名称:ROADDesigner,代码行数:10,代码来源:PlayerBindingReorientCommand.java

示例5: FactLink2ReorientCommand

import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientRelationshipRequest; //导入方法依赖的package包/类
/**
 * @generated
 */
public FactLink2ReorientCommand(ReorientRelationshipRequest request) {
	super(request.getLabel(), request.getRelationship(), request);
	reorientDirection = request.getDirection();
	oldEnd = request.getOldRelationshipEnd();
	newEnd = request.getNewRelationshipEnd();
}
 
开发者ID:road-framework,项目名称:ROADDesigner,代码行数:10,代码来源:FactLink2ReorientCommand.java

示例6: ExternalFactLinkReorientCommand

import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientRelationshipRequest; //导入方法依赖的package包/类
/**
 * @generated
 */
public ExternalFactLinkReorientCommand(ReorientRelationshipRequest request) {
	super(request.getLabel(), request.getRelationship(), request);
	reorientDirection = request.getDirection();
	oldEnd = request.getOldRelationshipEnd();
	newEnd = request.getNewRelationshipEnd();
}
 
开发者ID:road-framework,项目名称:ROADDesigner,代码行数:10,代码来源:ExternalFactLinkReorientCommand.java

示例7: Association2ReorientCommand

import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientRelationshipRequest; //导入方法依赖的package包/类
/**
 * @generated
 */
public Association2ReorientCommand(ReorientRelationshipRequest request) {
	super(request.getLabel(), request.getRelationship(), request);
	reorientDirection = request.getDirection();
	oldEnd = request.getOldRelationshipEnd();
	newEnd = request.getNewRelationshipEnd();
}
 
开发者ID:bluezio,项目名称:simplified-bpmn-example,代码行数:10,代码来源:Association2ReorientCommand.java

示例8: SequenceFlow2ReorientCommand

import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientRelationshipRequest; //导入方法依赖的package包/类
/**
 * @generated
 */
public SequenceFlow2ReorientCommand(ReorientRelationshipRequest request) {
	super(request.getLabel(), request.getRelationship(), request);
	reorientDirection = request.getDirection();
	oldEnd = request.getOldRelationshipEnd();
	newEnd = request.getNewRelationshipEnd();
}
 
开发者ID:bluezio,项目名称:simplified-bpmn-example,代码行数:10,代码来源:SequenceFlow2ReorientCommand.java

示例9: AssociationReorientCommand

import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientRelationshipRequest; //导入方法依赖的package包/类
/**
 * @generated
 */
public AssociationReorientCommand(ReorientRelationshipRequest request) {
	super(request.getLabel(), request.getRelationship(), request);
	reorientDirection = request.getDirection();
	oldEnd = request.getOldRelationshipEnd();
	newEnd = request.getNewRelationshipEnd();
}
 
开发者ID:bluezio,项目名称:simplified-bpmn-example,代码行数:10,代码来源:AssociationReorientCommand.java

示例10: MessageFlowReorientCommand

import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientRelationshipRequest; //导入方法依赖的package包/类
/**
 * @generated
 */
public MessageFlowReorientCommand(ReorientRelationshipRequest request) {
	super(request.getLabel(), request.getRelationship(), request);
	reorientDirection = request.getDirection();
	oldEnd = request.getOldRelationshipEnd();
	newEnd = request.getNewRelationshipEnd();
}
 
开发者ID:bluezio,项目名称:simplified-bpmn-example,代码行数:10,代码来源:MessageFlowReorientCommand.java

示例11: MessageFlow2ReorientCommand

import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientRelationshipRequest; //导入方法依赖的package包/类
/**
 * @generated
 */
public MessageFlow2ReorientCommand(ReorientRelationshipRequest request) {
	super(request.getLabel(), request.getRelationship(), request);
	reorientDirection = request.getDirection();
	oldEnd = request.getOldRelationshipEnd();
	newEnd = request.getNewRelationshipEnd();
}
 
开发者ID:bluezio,项目名称:simplified-bpmn-example,代码行数:10,代码来源:MessageFlow2ReorientCommand.java

示例12: SequenceFlowReorientCommand

import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientRelationshipRequest; //导入方法依赖的package包/类
/**
 * @generated
 */
public SequenceFlowReorientCommand(ReorientRelationshipRequest request) {
	super(request.getLabel(), request.getRelationship(), request);
	reorientDirection = request.getDirection();
	oldEnd = request.getOldRelationshipEnd();
	newEnd = request.getNewRelationshipEnd();
}
 
开发者ID:bluezio,项目名称:simplified-bpmn-example,代码行数:10,代码来源:SequenceFlowReorientCommand.java

示例13: TargetLifelineReferenceReorientCommand

import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientRelationshipRequest; //导入方法依赖的package包/类
/**
* @generated
*/
public TargetLifelineReferenceReorientCommand(ReorientRelationshipRequest request) {
	super(request.getLabel(), request.getRelationship(), request);
	reorientDirection = request.getDirection();
	oldEnd = request.getOldRelationshipEnd();
	newEnd = request.getNewRelationshipEnd();
}
 
开发者ID:adisandro,项目名称:MMINT,代码行数:10,代码来源:TargetLifelineReferenceReorientCommand.java

示例14: ClassReferenceReorientCommand

import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientRelationshipRequest; //导入方法依赖的package包/类
/**
* @generated
*/
public ClassReferenceReorientCommand(ReorientRelationshipRequest request) {
	super(request.getLabel(), request.getRelationship(), request);
	reorientDirection = request.getDirection();
	oldEnd = request.getOldRelationshipEnd();
	newEnd = request.getNewRelationshipEnd();
}
 
开发者ID:adisandro,项目名称:MMINT,代码行数:10,代码来源:ClassReferenceReorientCommand.java

示例15: SourceLifelineReferenceReorientCommand

import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientRelationshipRequest; //导入方法依赖的package包/类
/**
* @generated
*/
public SourceLifelineReferenceReorientCommand(ReorientRelationshipRequest request) {
	super(request.getLabel(), request.getRelationship(), request);
	reorientDirection = request.getDirection();
	oldEnd = request.getOldRelationshipEnd();
	newEnd = request.getNewRelationshipEnd();
}
 
开发者ID:adisandro,项目名称:MMINT,代码行数:10,代码来源:SourceLifelineReferenceReorientCommand.java


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