本文整理汇总了Java中org.eclipse.gmf.runtime.emf.type.core.requests.ReorientReferenceRelationshipRequest类的典型用法代码示例。如果您正苦于以下问题:Java ReorientReferenceRelationshipRequest类的具体用法?Java ReorientReferenceRelationshipRequest怎么用?Java ReorientReferenceRelationshipRequest使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ReorientReferenceRelationshipRequest类属于org.eclipse.gmf.runtime.emf.type.core.requests包,在下文中一共展示了ReorientReferenceRelationshipRequest类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: getReorientReferenceRelationshipCommand
import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientReferenceRelationshipRequest; //导入依赖的package包/类
/**
* Returns command to reorient EReference based link. New link target or source
* should be the domain model element associated with this node.
*
* @generated
*/
protected Command getReorientReferenceRelationshipCommand(
ReorientReferenceRelationshipRequest req) {
switch (getVisualID(req)) {
case GroupFirstTeamEditPart.VISUAL_ID:
return getGEFWrapper(new GroupFirstTeamReorientCommand(req));
case MatchHomeEditPart.VISUAL_ID:
return getGEFWrapper(new MatchHomeReorientCommand(req));
case GroupSecondTeamEditPart.VISUAL_ID:
return getGEFWrapper(new GroupSecondTeamReorientCommand(req));
case MatchAwayEditPart.VISUAL_ID:
return getGEFWrapper(new MatchAwayReorientCommand(req));
case TeamAtGroupEditPart.VISUAL_ID:
return getGEFWrapper(new TeamAtGroupReorientCommand(req));
case EliminationMatchWinnerEditPart.VISUAL_ID:
return getGEFWrapper(new EliminationMatchWinnerReorientCommand(req));
}
return super.getReorientReferenceRelationshipCommand(req);
}
开发者ID:ggxx,项目名称:HelloBrazil,代码行数:25,代码来源:TeamItemSemanticEditPolicy.java
示例2: getSemanticCommandSwitch
import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientReferenceRelationshipRequest; //导入依赖的package包/类
/**
* @generated
*/
protected Command getSemanticCommandSwitch(IEditCommandRequest req) {
if (req instanceof CreateRelationshipRequest) {
return getCreateRelationshipCommand((CreateRelationshipRequest) req);
} else if (req instanceof CreateElementRequest) {
return getCreateCommand((CreateElementRequest) req);
} else if (req instanceof ConfigureRequest) {
return getConfigureCommand((ConfigureRequest) req);
} else if (req instanceof DestroyElementRequest) {
return getDestroyElementCommand((DestroyElementRequest) req);
} else if (req instanceof DestroyReferenceRequest) {
return getDestroyReferenceCommand((DestroyReferenceRequest) req);
} else if (req instanceof DuplicateElementsRequest) {
return getDuplicateCommand((DuplicateElementsRequest) req);
} else if (req instanceof GetEditContextRequest) {
return getEditContextCommand((GetEditContextRequest) req);
} else if (req instanceof MoveRequest) {
return getMoveCommand((MoveRequest) req);
} else if (req instanceof ReorientReferenceRelationshipRequest) {
return getReorientReferenceRelationshipCommand((ReorientReferenceRelationshipRequest) req);
} else if (req instanceof ReorientRelationshipRequest) {
return getReorientRelationshipCommand((ReorientRelationshipRequest) req);
} else if (req instanceof SetRequest) {
return getSetCommand((SetRequest) req);
}
return null;
}
开发者ID:spoenemann,项目名称:xtext-gef,代码行数:30,代码来源:StatemachineBaseItemSemanticEditPolicy.java
示例3: ContractRoleBIDReorientCommand
import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientReferenceRelationshipRequest; //导入依赖的package包/类
/**
* @generated
*/
public ContractRoleBIDReorientCommand(
ReorientReferenceRelationshipRequest request) {
super(request.getLabel(), null, request);
reorientDirection = request.getDirection();
referenceOwner = request.getReferenceOwner();
oldEnd = request.getOldRelationshipEnd();
newEnd = request.getNewRelationshipEnd();
}
开发者ID:road-framework,项目名称:ROADDesigner,代码行数:12,代码来源:ContractRoleBIDReorientCommand.java
示例4: ContractRoleAIDReorientCommand
import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientReferenceRelationshipRequest; //导入依赖的package包/类
/**
* @generated
*/
public ContractRoleAIDReorientCommand(
ReorientReferenceRelationshipRequest request) {
super(request.getLabel(), null, request);
reorientDirection = request.getDirection();
referenceOwner = request.getReferenceOwner();
oldEnd = request.getOldRelationshipEnd();
newEnd = request.getNewRelationshipEnd();
}
开发者ID:road-framework,项目名称:ROADDesigner,代码行数:12,代码来源:ContractRoleAIDReorientCommand.java
示例5: getReorientReferenceRelationshipCommand
import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientReferenceRelationshipRequest; //导入依赖的package包/类
/**
* Returns command to reorient EReference based link. New link target or source
* should be the domain model element associated with this node.
*
* @generated
*/
protected Command getReorientReferenceRelationshipCommand(
ReorientReferenceRelationshipRequest req) {
switch (getVisualID(req)) {
case ContractRoleAIDEditPart.VISUAL_ID:
return getGEFWrapper(new ContractRoleAIDReorientCommand(req));
case ContractRoleBIDEditPart.VISUAL_ID:
return getGEFWrapper(new ContractRoleBIDReorientCommand(req));
}
return super.getReorientReferenceRelationshipCommand(req);
}
开发者ID:road-framework,项目名称:ROADDesigner,代码行数:17,代码来源:RoleItemSemanticEditPolicy.java
示例6: MatchAwayReorientCommand
import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientReferenceRelationshipRequest; //导入依赖的package包/类
/**
* @generated
*/
public MatchAwayReorientCommand(ReorientReferenceRelationshipRequest request) {
super(request.getLabel(), null, request);
reorientDirection = request.getDirection();
referenceOwner = request.getReferenceOwner();
oldEnd = request.getOldRelationshipEnd();
newEnd = request.getNewRelationshipEnd();
}
开发者ID:ggxx,项目名称:HelloBrazil,代码行数:11,代码来源:MatchAwayReorientCommand.java
示例7: EliminationMatchWinnerReorientCommand
import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientReferenceRelationshipRequest; //导入依赖的package包/类
/**
* @generated
*/
public EliminationMatchWinnerReorientCommand(
ReorientReferenceRelationshipRequest request) {
super(request.getLabel(), null, request);
reorientDirection = request.getDirection();
referenceOwner = request.getReferenceOwner();
oldEnd = request.getOldRelationshipEnd();
newEnd = request.getNewRelationshipEnd();
}
开发者ID:ggxx,项目名称:HelloBrazil,代码行数:12,代码来源:EliminationMatchWinnerReorientCommand.java
示例8: GroupSecondTeamReorientCommand
import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientReferenceRelationshipRequest; //导入依赖的package包/类
/**
* @generated
*/
public GroupSecondTeamReorientCommand(
ReorientReferenceRelationshipRequest request) {
super(request.getLabel(), null, request);
reorientDirection = request.getDirection();
referenceOwner = request.getReferenceOwner();
oldEnd = request.getOldRelationshipEnd();
newEnd = request.getNewRelationshipEnd();
}
开发者ID:ggxx,项目名称:HelloBrazil,代码行数:12,代码来源:GroupSecondTeamReorientCommand.java
示例9: GroupFirstTeamReorientCommand
import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientReferenceRelationshipRequest; //导入依赖的package包/类
/**
* @generated
*/
public GroupFirstTeamReorientCommand(
ReorientReferenceRelationshipRequest request) {
super(request.getLabel(), null, request);
reorientDirection = request.getDirection();
referenceOwner = request.getReferenceOwner();
oldEnd = request.getOldRelationshipEnd();
newEnd = request.getNewRelationshipEnd();
}
开发者ID:ggxx,项目名称:HelloBrazil,代码行数:12,代码来源:GroupFirstTeamReorientCommand.java
示例10: TeamAtGroupReorientCommand
import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientReferenceRelationshipRequest; //导入依赖的package包/类
/**
* @generated
*/
public TeamAtGroupReorientCommand(
ReorientReferenceRelationshipRequest request) {
super(request.getLabel(), null, request);
reorientDirection = request.getDirection();
referenceOwner = request.getReferenceOwner();
oldEnd = request.getOldRelationshipEnd();
newEnd = request.getNewRelationshipEnd();
}
开发者ID:ggxx,项目名称:HelloBrazil,代码行数:12,代码来源:TeamAtGroupReorientCommand.java
示例11: MatchHomeReorientCommand
import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientReferenceRelationshipRequest; //导入依赖的package包/类
/**
* @generated
*/
public MatchHomeReorientCommand(ReorientReferenceRelationshipRequest request) {
super(request.getLabel(), null, request);
reorientDirection = request.getDirection();
referenceOwner = request.getReferenceOwner();
oldEnd = request.getOldRelationshipEnd();
newEnd = request.getNewRelationshipEnd();
}
开发者ID:ggxx,项目名称:HelloBrazil,代码行数:11,代码来源:MatchHomeReorientCommand.java
示例12: getReorientReferenceRelationshipCommand
import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientReferenceRelationshipRequest; //导入依赖的package包/类
/**
* Returns command to reorient EReference based link. New link target or source
* should be the domain model element associated with this node.
*
* @generated
*/
protected Command getReorientReferenceRelationshipCommand(
ReorientReferenceRelationshipRequest req) {
switch (getVisualID(req)) {
case MatchHomeEditPart.VISUAL_ID:
return getGEFWrapper(new MatchHomeReorientCommand(req));
case MatchAwayEditPart.VISUAL_ID:
return getGEFWrapper(new MatchAwayReorientCommand(req));
case EliminationMatchWinnerEditPart.VISUAL_ID:
return getGEFWrapper(new EliminationMatchWinnerReorientCommand(req));
}
return super.getReorientReferenceRelationshipCommand(req);
}
开发者ID:ggxx,项目名称:HelloBrazil,代码行数:19,代码来源:EliminationMatchItemSemanticEditPolicy.java
示例13: getReorientReferenceRelationshipCommand
import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientReferenceRelationshipRequest; //导入依赖的package包/类
/**
* Returns command to reorient EReference based link. New link target or source
* should be the domain model element associated with this node.
*
* @generated
*/
protected Command getReorientReferenceRelationshipCommand(
ReorientReferenceRelationshipRequest req) {
switch (getVisualID(req)) {
case GroupFirstTeamEditPart.VISUAL_ID:
return getGEFWrapper(new GroupFirstTeamReorientCommand(req));
case GroupSecondTeamEditPart.VISUAL_ID:
return getGEFWrapper(new GroupSecondTeamReorientCommand(req));
case TeamAtGroupEditPart.VISUAL_ID:
return getGEFWrapper(new TeamAtGroupReorientCommand(req));
}
return super.getReorientReferenceRelationshipCommand(req);
}
开发者ID:ggxx,项目名称:HelloBrazil,代码行数:19,代码来源:GroupItemSemanticEditPolicy.java
示例14: getReorientReferenceRelationshipCommand
import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientReferenceRelationshipRequest; //导入依赖的package包/类
/**
* Returns command to reorient EReference based link. New link target or source
* should be the domain model element associated with this node.
*
* @generated
*/
protected Command getReorientReferenceRelationshipCommand(
ReorientReferenceRelationshipRequest req) {
switch (getVisualID(req)) {
case MatchHomeEditPart.VISUAL_ID:
return getGEFWrapper(new MatchHomeReorientCommand(req));
case MatchAwayEditPart.VISUAL_ID:
return getGEFWrapper(new MatchAwayReorientCommand(req));
}
return super.getReorientReferenceRelationshipCommand(req);
}
开发者ID:ggxx,项目名称:HelloBrazil,代码行数:17,代码来源:GroupMatchItemSemanticEditPolicy.java
示例15: getSemanticCommandSwitch
import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientReferenceRelationshipRequest; //导入依赖的package包/类
/**
* @generated
*/
protected Command getSemanticCommandSwitch(IEditCommandRequest req) {
if (req instanceof CreateRelationshipRequest) {
return getCreateRelationshipCommand((CreateRelationshipRequest) req);
} else if (req instanceof CreateElementRequest) {
return getCreateCommand((CreateElementRequest) req);
} else if (req instanceof ConfigureRequest) {
return getConfigureCommand((ConfigureRequest) req);
} else if (req instanceof DestroyElementRequest) {
return getDestroyElementCommand((DestroyElementRequest) req);
} else if (req instanceof DestroyReferenceRequest) {
return getDestroyReferenceCommand((DestroyReferenceRequest) req);
} else if (req instanceof DuplicateElementsRequest) {
return getDuplicateCommand((DuplicateElementsRequest) req);
} else if (req instanceof GetEditContextRequest) {
return getEditContextCommand((GetEditContextRequest) req);
} else if (req instanceof MoveRequest) {
return getMoveCommand((MoveRequest) req);
} else if (req instanceof ReorientReferenceRelationshipRequest) {
return getReorientReferenceRelationshipCommand((ReorientReferenceRelationshipRequest) req);
} else if (req instanceof ReorientRelationshipRequest) {
return getReorientRelationshipCommand((ReorientRelationshipRequest) req);
} else if (req instanceof SetRequest) {
return getSetCommand((SetRequest) req);
}
return null;
}
开发者ID:adisandro,项目名称:MMINT,代码行数:30,代码来源:ICSE15_SequenceDiagram_MAVOBaseItemSemanticEditPolicy.java
示例16: ClassParentReorientCommand
import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientReferenceRelationshipRequest; //导入依赖的package包/类
/**
* @generated
*/
public ClassParentReorientCommand(
ReorientReferenceRelationshipRequest request) {
super(request.getLabel(), null, request);
reorientDirection = request.getDirection();
referenceOwner = request.getReferenceOwner();
oldEnd = request.getOldRelationshipEnd();
newEnd = request.getNewRelationshipEnd();
}
开发者ID:adisandro,项目名称:MMINT,代码行数:12,代码来源:ClassParentReorientCommand.java
示例17: getReorientReferenceRelationshipCommand
import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientReferenceRelationshipRequest; //导入依赖的package包/类
/**
* Returns command to reorient EReference based link. New link target or source
* should be the domain model element associated with this node.
*
* @generated
*/
protected Command getReorientReferenceRelationshipCommand(
ReorientReferenceRelationshipRequest req) {
switch (getVisualID(req)) {
case edu.toronto.cs.se.modelepedia.necsis14_classdiagram.diagram.edit.parts.ClassParentEditPart.VISUAL_ID:
return getGEFWrapper(new edu.toronto.cs.se.modelepedia.necsis14_classdiagram.diagram.edit.commands.ClassParentReorientCommand(
req));
}
return super.getReorientReferenceRelationshipCommand(req);
}
开发者ID:adisandro,项目名称:MMINT,代码行数:16,代码来源:ClassItemSemanticEditPolicy.java
示例18: ExtendibleElementSupertypeReorientCommand
import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientReferenceRelationshipRequest; //导入依赖的package包/类
/**
* @generated
*/
public ExtendibleElementSupertypeReorientCommand(ReorientReferenceRelationshipRequest request) {
super(request.getLabel(), null, request);
reorientDirection = request.getDirection();
referenceOwner = request.getReferenceOwner();
oldEnd = request.getOldRelationshipEnd();
newEnd = request.getNewRelationshipEnd();
}
开发者ID:adisandro,项目名称:MMINT,代码行数:11,代码来源:ExtendibleElementSupertypeReorientCommand.java
示例19: getReorientReferenceRelationshipCommand
import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientReferenceRelationshipRequest; //导入依赖的package包/类
/**
* Returns command to reorient EReference based link. New link target or source
* should be the domain model element associated with this node.
*
* @generated
*/
protected Command getReorientReferenceRelationshipCommand(ReorientReferenceRelationshipRequest req) {
switch (getVisualID(req)) {
case ExtendibleElementSupertypeEditPart.VISUAL_ID:
return getGEFWrapper(new ExtendibleElementSupertypeReorientCommand(req));
}
return super.getReorientReferenceRelationshipCommand(req);
}
开发者ID:adisandro,项目名称:MMINT,代码行数:14,代码来源:ModelRel2ItemSemanticEditPolicy.java
示例20: getSemanticCommandSwitch
import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientReferenceRelationshipRequest; //导入依赖的package包/类
/**
* @generated
*/
protected Command getSemanticCommandSwitch(IEditCommandRequest req) {
if (req instanceof CreateRelationshipRequest) {
return getCreateRelationshipCommand((CreateRelationshipRequest) req);
}
else if (req instanceof CreateElementRequest) {
return getCreateCommand((CreateElementRequest) req);
}
else if (req instanceof ConfigureRequest) {
return getConfigureCommand((ConfigureRequest) req);
}
else if (req instanceof DestroyElementRequest) {
return getDestroyElementCommand((DestroyElementRequest) req);
}
else if (req instanceof DestroyReferenceRequest) {
return getDestroyReferenceCommand((DestroyReferenceRequest) req);
}
else if (req instanceof DuplicateElementsRequest) {
return getDuplicateCommand((DuplicateElementsRequest) req);
}
else if (req instanceof GetEditContextRequest) {
return getEditContextCommand((GetEditContextRequest) req);
}
else if (req instanceof MoveRequest) {
return getMoveCommand((MoveRequest) req);
}
else if (req instanceof ReorientReferenceRelationshipRequest) {
return getReorientReferenceRelationshipCommand((ReorientReferenceRelationshipRequest) req);
}
else if (req instanceof ReorientRelationshipRequest) {
return getReorientRelationshipCommand((ReorientRelationshipRequest) req);
}
else if (req instanceof SetRequest) {
return getSetCommand((SetRequest) req);
}
return null;
}
开发者ID:adisandro,项目名称:MMINT,代码行数:40,代码来源:MIDBaseItemSemanticEditPolicy.java
注:本文中的org.eclipse.gmf.runtime.emf.type.core.requests.ReorientReferenceRelationshipRequest类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论