本文整理汇总了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();
}
示例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);
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}