org.eclipse.gmf.runtime.emf.type.core.requests.ReorientRelationshipRequest Java Examples

The following examples show how to use org.eclipse.gmf.runtime.emf.type.core.requests.ReorientRelationshipRequest. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: IntermediateCatchSignalEvent2ItemSemanticEditPolicy.java    From bonita-studio with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Returns command to reorient EClass based link. New link target or source
 * should be the domain model element associated with this node.
 * 
 * @generated
 */
protected Command getReorientRelationshipCommand(ReorientRelationshipRequest req) {
	switch (getVisualID(req)) {
	case SequenceFlowEditPart.VISUAL_ID:
		return getGEFWrapper(new SequenceFlowReorientCommand(req));
	case TextAnnotationAttachmentEditPart.VISUAL_ID:
		return getGEFWrapper(new TextAnnotationAttachmentReorientCommand(req));
	}
	return super.getReorientRelationshipCommand(req);
}
 
Example #2
Source File: Task2ItemSemanticEditPolicy.java    From bonita-studio with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Returns command to reorient EClass based link. New link target or source
 * should be the domain model element associated with this node.
 * 
 * @generated
 */
protected Command getReorientRelationshipCommand(ReorientRelationshipRequest req) {
	switch (getVisualID(req)) {
	case SequenceFlowEditPart.VISUAL_ID:
		return getGEFWrapper(new SequenceFlowReorientCommand(req));
	case TextAnnotationAttachmentEditPart.VISUAL_ID:
		return getGEFWrapper(new TextAnnotationAttachmentReorientCommand(req));
	}
	return super.getReorientRelationshipCommand(req);
}
 
Example #3
Source File: ANDGatewayItemSemanticEditPolicy.java    From bonita-studio with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Returns command to reorient EClass based link. New link target or source
 * should be the domain model element associated with this node.
 * 
 * @generated
 */
protected Command getReorientRelationshipCommand(ReorientRelationshipRequest req) {
	switch (getVisualID(req)) {
	case SequenceFlowEditPart.VISUAL_ID:
		return getGEFWrapper(new SequenceFlowReorientCommand(req));
	case TextAnnotationAttachmentEditPart.VISUAL_ID:
		return getGEFWrapper(new TextAnnotationAttachmentReorientCommand(req));
	}
	return super.getReorientRelationshipCommand(req);
}
 
Example #4
Source File: StartEventItemSemanticEditPolicy.java    From bonita-studio with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Returns command to reorient EClass based link. New link target or source
 * should be the domain model element associated with this node.
 * 
 * @generated
 */
protected Command getReorientRelationshipCommand(ReorientRelationshipRequest req) {
	switch (getVisualID(req)) {
	case SequenceFlowEditPart.VISUAL_ID:
		return getGEFWrapper(new SequenceFlowReorientCommand(req));
	case TextAnnotationAttachmentEditPart.VISUAL_ID:
		return getGEFWrapper(new TextAnnotationAttachmentReorientCommand(req));
	}
	return super.getReorientRelationshipCommand(req);
}
 
Example #5
Source File: IntermediateCatchMessageEvent2ItemSemanticEditPolicy.java    From bonita-studio with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Returns command to reorient EClass based link. New link target or source
 * should be the domain model element associated with this node.
 * 
 * @generated
 */
protected Command getReorientRelationshipCommand(ReorientRelationshipRequest req) {
	switch (getVisualID(req)) {
	case SequenceFlowEditPart.VISUAL_ID:
		return getGEFWrapper(new SequenceFlowReorientCommand(req));
	case MessageFlowEditPart.VISUAL_ID:
		return getGEFWrapper(new MessageFlowReorientCommand(req));
	case TextAnnotationAttachmentEditPart.VISUAL_ID:
		return getGEFWrapper(new TextAnnotationAttachmentReorientCommand(req));
	}
	return super.getReorientRelationshipCommand(req);
}
 
Example #6
Source File: StartEvent2ItemSemanticEditPolicy.java    From bonita-studio with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Returns command to reorient EClass based link. New link target or source
 * should be the domain model element associated with this node.
 * 
 * @generated
 */
protected Command getReorientRelationshipCommand(ReorientRelationshipRequest req) {
	switch (getVisualID(req)) {
	case SequenceFlowEditPart.VISUAL_ID:
		return getGEFWrapper(new SequenceFlowReorientCommand(req));
	case TextAnnotationAttachmentEditPart.VISUAL_ID:
		return getGEFWrapper(new TextAnnotationAttachmentReorientCommand(req));
	}
	return super.getReorientRelationshipCommand(req);
}
 
Example #7
Source File: ReceiveTask2ItemSemanticEditPolicy.java    From bonita-studio with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Returns command to reorient EClass based link. New link target or source
 * should be the domain model element associated with this node.
 * 
 * @generated
 */
protected Command getReorientRelationshipCommand(ReorientRelationshipRequest req) {
	switch (getVisualID(req)) {
	case SequenceFlowEditPart.VISUAL_ID:
		return getGEFWrapper(new SequenceFlowReorientCommand(req));
	case MessageFlowEditPart.VISUAL_ID:
		return getGEFWrapper(new MessageFlowReorientCommand(req));
	case TextAnnotationAttachmentEditPart.VISUAL_ID:
		return getGEFWrapper(new TextAnnotationAttachmentReorientCommand(req));
	}
	return super.getReorientRelationshipCommand(req);
}
 
Example #8
Source File: ThrowLinkEventItemSemanticEditPolicy.java    From bonita-studio with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Returns command to reorient EClass based link. New link target or source
 * should be the domain model element associated with this node.
 * 
 * @generated
 */
protected Command getReorientRelationshipCommand(ReorientRelationshipRequest req) {
	switch (getVisualID(req)) {
	case SequenceFlowEditPart.VISUAL_ID:
		return getGEFWrapper(new SequenceFlowReorientCommand(req));
	case TextAnnotationAttachmentEditPart.VISUAL_ID:
		return getGEFWrapper(new TextAnnotationAttachmentReorientCommand(req));
	}
	return super.getReorientRelationshipCommand(req);
}
 
Example #9
Source File: ThrowLinkEvent2ItemSemanticEditPolicy.java    From bonita-studio with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Returns command to reorient EClass based link. New link target or source
 * should be the domain model element associated with this node.
 * 
 * @generated
 */
protected Command getReorientRelationshipCommand(ReorientRelationshipRequest req) {
	switch (getVisualID(req)) {
	case SequenceFlowEditPart.VISUAL_ID:
		return getGEFWrapper(new SequenceFlowReorientCommand(req));
	case TextAnnotationAttachmentEditPart.VISUAL_ID:
		return getGEFWrapper(new TextAnnotationAttachmentReorientCommand(req));
	}
	return super.getReorientRelationshipCommand(req);
}
 
Example #10
Source File: ReceiveTaskItemSemanticEditPolicy.java    From bonita-studio with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Returns command to reorient EClass based link. New link target or source
 * should be the domain model element associated with this node.
 * 
 * @generated
 */
protected Command getReorientRelationshipCommand(ReorientRelationshipRequest req) {
	switch (getVisualID(req)) {
	case SequenceFlowEditPart.VISUAL_ID:
		return getGEFWrapper(new SequenceFlowReorientCommand(req));
	case MessageFlowEditPart.VISUAL_ID:
		return getGEFWrapper(new MessageFlowReorientCommand(req));
	case TextAnnotationAttachmentEditPart.VISUAL_ID:
		return getGEFWrapper(new TextAnnotationAttachmentReorientCommand(req));
	}
	return super.getReorientRelationshipCommand(req);
}
 
Example #11
Source File: StartMessageEventItemSemanticEditPolicy.java    From bonita-studio with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Returns command to reorient EClass based link. New link target or source
 * should be the domain model element associated with this node.
 * 
 * @generated
 */
protected Command getReorientRelationshipCommand(ReorientRelationshipRequest req) {
	switch (getVisualID(req)) {
	case SequenceFlowEditPart.VISUAL_ID:
		return getGEFWrapper(new SequenceFlowReorientCommand(req));
	case MessageFlowEditPart.VISUAL_ID:
		return getGEFWrapper(new MessageFlowReorientCommand(req));
	case TextAnnotationAttachmentEditPart.VISUAL_ID:
		return getGEFWrapper(new TextAnnotationAttachmentReorientCommand(req));
	}
	return super.getReorientRelationshipCommand(req);
}
 
Example #12
Source File: StartTimerEventItemSemanticEditPolicy.java    From bonita-studio with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Returns command to reorient EClass based link. New link target or source
 * should be the domain model element associated with this node.
 * 
 * @generated
 */
protected Command getReorientRelationshipCommand(ReorientRelationshipRequest req) {
	switch (getVisualID(req)) {
	case SequenceFlowEditPart.VISUAL_ID:
		return getGEFWrapper(new SequenceFlowReorientCommand(req));
	case TextAnnotationAttachmentEditPart.VISUAL_ID:
		return getGEFWrapper(new TextAnnotationAttachmentReorientCommand(req));
	}
	return super.getReorientRelationshipCommand(req);
}
 
Example #13
Source File: EndErrorEventItemSemanticEditPolicy.java    From bonita-studio with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Returns command to reorient EClass based link. New link target or source
 * should be the domain model element associated with this node.
 * 
 * @generated
 */
protected Command getReorientRelationshipCommand(ReorientRelationshipRequest req) {
	switch (getVisualID(req)) {
	case SequenceFlowEditPart.VISUAL_ID:
		return getGEFWrapper(new SequenceFlowReorientCommand(req));
	case TextAnnotationAttachmentEditPart.VISUAL_ID:
		return getGEFWrapper(new TextAnnotationAttachmentReorientCommand(req));
	}
	return super.getReorientRelationshipCommand(req);
}
 
Example #14
Source File: InclusiveGatewayItemSemanticEditPolicy.java    From bonita-studio with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Returns command to reorient EClass based link. New link target or source
 * should be the domain model element associated with this node.
 * 
 * @generated
 */
protected Command getReorientRelationshipCommand(ReorientRelationshipRequest req) {
	switch (getVisualID(req)) {
	case SequenceFlowEditPart.VISUAL_ID:
		return getGEFWrapper(new SequenceFlowReorientCommand(req));
	case TextAnnotationAttachmentEditPart.VISUAL_ID:
		return getGEFWrapper(new TextAnnotationAttachmentReorientCommand(req));
	}
	return super.getReorientRelationshipCommand(req);
}
 
Example #15
Source File: EndTerminatedEvent2ItemSemanticEditPolicy.java    From bonita-studio with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Returns command to reorient EClass based link. New link target or source
 * should be the domain model element associated with this node.
 * 
 * @generated
 */
protected Command getReorientRelationshipCommand(ReorientRelationshipRequest req) {
	switch (getVisualID(req)) {
	case SequenceFlowEditPart.VISUAL_ID:
		return getGEFWrapper(new SequenceFlowReorientCommand(req));
	case TextAnnotationAttachmentEditPart.VISUAL_ID:
		return getGEFWrapper(new TextAnnotationAttachmentReorientCommand(req));
	}
	return super.getReorientRelationshipCommand(req);
}
 
Example #16
Source File: ServiceTaskItemSemanticEditPolicy.java    From bonita-studio with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Returns command to reorient EClass based link. New link target or source
 * should be the domain model element associated with this node.
 * 
 * @generated
 */
protected Command getReorientRelationshipCommand(ReorientRelationshipRequest req) {
	switch (getVisualID(req)) {
	case SequenceFlowEditPart.VISUAL_ID:
		return getGEFWrapper(new SequenceFlowReorientCommand(req));
	case TextAnnotationAttachmentEditPart.VISUAL_ID:
		return getGEFWrapper(new TextAnnotationAttachmentReorientCommand(req));
	}
	return super.getReorientRelationshipCommand(req);
}
 
Example #17
Source File: Event2ItemSemanticEditPolicy.java    From bonita-studio with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Returns command to reorient EClass based link. New link target or source
 * should be the domain model element associated with this node.
 * 
 * @generated
 */
protected Command getReorientRelationshipCommand(ReorientRelationshipRequest req) {
	switch (getVisualID(req)) {
	case SequenceFlowEditPart.VISUAL_ID:
		return getGEFWrapper(new SequenceFlowReorientCommand(req));
	case TextAnnotationAttachmentEditPart.VISUAL_ID:
		return getGEFWrapper(new TextAnnotationAttachmentReorientCommand(req));
	}
	return super.getReorientRelationshipCommand(req);
}
 
Example #18
Source File: StartSignalEventItemSemanticEditPolicy.java    From bonita-studio with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Returns command to reorient EClass based link. New link target or source
 * should be the domain model element associated with this node.
 * 
 * @generated
 */
protected Command getReorientRelationshipCommand(ReorientRelationshipRequest req) {
	switch (getVisualID(req)) {
	case SequenceFlowEditPart.VISUAL_ID:
		return getGEFWrapper(new SequenceFlowReorientCommand(req));
	case TextAnnotationAttachmentEditPart.VISUAL_ID:
		return getGEFWrapper(new TextAnnotationAttachmentReorientCommand(req));
	}
	return super.getReorientRelationshipCommand(req);
}
 
Example #19
Source File: EndMessageEventItemSemanticEditPolicy.java    From bonita-studio with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Returns command to reorient EClass based link. New link target or source
 * should be the domain model element associated with this node.
 * 
 * @generated
 */
protected Command getReorientRelationshipCommand(ReorientRelationshipRequest req) {
	switch (getVisualID(req)) {
	case SequenceFlowEditPart.VISUAL_ID:
		return getGEFWrapper(new SequenceFlowReorientCommand(req));
	case MessageFlowEditPart.VISUAL_ID:
		return getGEFWrapper(new MessageFlowReorientCommand(req));
	case TextAnnotationAttachmentEditPart.VISUAL_ID:
		return getGEFWrapper(new TextAnnotationAttachmentReorientCommand(req));
	}
	return super.getReorientRelationshipCommand(req);
}
 
Example #20
Source File: EndSignalEvent2ItemSemanticEditPolicy.java    From bonita-studio with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Returns command to reorient EClass based link. New link target or source
 * should be the domain model element associated with this node.
 * 
 * @generated
 */
protected Command getReorientRelationshipCommand(ReorientRelationshipRequest req) {
	switch (getVisualID(req)) {
	case SequenceFlowEditPart.VISUAL_ID:
		return getGEFWrapper(new SequenceFlowReorientCommand(req));
	case TextAnnotationAttachmentEditPart.VISUAL_ID:
		return getGEFWrapper(new TextAnnotationAttachmentReorientCommand(req));
	}
	return super.getReorientRelationshipCommand(req);
}
 
Example #21
Source File: StartErrorEvent2ItemSemanticEditPolicy.java    From bonita-studio with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Returns command to reorient EClass based link. New link target or source
 * should be the domain model element associated with this node.
 * 
 * @generated
 */
protected Command getReorientRelationshipCommand(ReorientRelationshipRequest req) {
	switch (getVisualID(req)) {
	case SequenceFlowEditPart.VISUAL_ID:
		return getGEFWrapper(new SequenceFlowReorientCommand(req));
	case TextAnnotationAttachmentEditPart.VISUAL_ID:
		return getGEFWrapper(new TextAnnotationAttachmentReorientCommand(req));
	}
	return super.getReorientRelationshipCommand(req);
}
 
Example #22
Source File: BoundaryTimerEventItemSemanticEditPolicy.java    From bonita-studio with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Returns command to reorient EClass based link. New link target or source
 * should be the domain model element associated with this node.
 * 
 * @generated
 */
protected Command getReorientRelationshipCommand(ReorientRelationshipRequest req) {
	switch (getVisualID(req)) {
	case SequenceFlowEditPart.VISUAL_ID:
		return getGEFWrapper(new SequenceFlowReorientCommand(req));
	case TextAnnotationAttachmentEditPart.VISUAL_ID:
		return getGEFWrapper(new TextAnnotationAttachmentReorientCommand(req));
	}
	return super.getReorientRelationshipCommand(req);
}
 
Example #23
Source File: IntermediateThrowMessageEventItemSemanticEditPolicy.java    From bonita-studio with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Returns command to reorient EClass based link. New link target or source
 * should be the domain model element associated with this node.
 * 
 * @generated
 */
protected Command getReorientRelationshipCommand(ReorientRelationshipRequest req) {
	switch (getVisualID(req)) {
	case SequenceFlowEditPart.VISUAL_ID:
		return getGEFWrapper(new SequenceFlowReorientCommand(req));
	case MessageFlowEditPart.VISUAL_ID:
		return getGEFWrapper(new MessageFlowReorientCommand(req));
	case TextAnnotationAttachmentEditPart.VISUAL_ID:
		return getGEFWrapper(new TextAnnotationAttachmentReorientCommand(req));
	}
	return super.getReorientRelationshipCommand(req);
}
 
Example #24
Source File: EventItemSemanticEditPolicy.java    From bonita-studio with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Returns command to reorient EClass based link. New link target or source
 * should be the domain model element associated with this node.
 * 
 * @generated
 */
protected Command getReorientRelationshipCommand(ReorientRelationshipRequest req) {
	switch (getVisualID(req)) {
	case SequenceFlowEditPart.VISUAL_ID:
		return getGEFWrapper(new SequenceFlowReorientCommand(req));
	case TextAnnotationAttachmentEditPart.VISUAL_ID:
		return getGEFWrapper(new TextAnnotationAttachmentReorientCommand(req));
	}
	return super.getReorientRelationshipCommand(req);
}
 
Example #25
Source File: TaskItemSemanticEditPolicy.java    From bonita-studio with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Returns command to reorient EClass based link. New link target or source
 * should be the domain model element associated with this node.
 * 
 * @generated
 */
protected Command getReorientRelationshipCommand(ReorientRelationshipRequest req) {
	switch (getVisualID(req)) {
	case SequenceFlowEditPart.VISUAL_ID:
		return getGEFWrapper(new SequenceFlowReorientCommand(req));
	case TextAnnotationAttachmentEditPart.VISUAL_ID:
		return getGEFWrapper(new TextAnnotationAttachmentReorientCommand(req));
	}
	return super.getReorientRelationshipCommand(req);
}
 
Example #26
Source File: IntermediateErrorCatchEvent5ItemSemanticEditPolicy.java    From bonita-studio with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Returns command to reorient EClass based link. New link target or source
 * should be the domain model element associated with this node.
 * 
 * @generated
 */
protected Command getReorientRelationshipCommand(ReorientRelationshipRequest req) {
	switch (getVisualID(req)) {
	case SequenceFlowEditPart.VISUAL_ID:
		return getGEFWrapper(new SequenceFlowReorientCommand(req));
	case TextAnnotationAttachmentEditPart.VISUAL_ID:
		return getGEFWrapper(new TextAnnotationAttachmentReorientCommand(req));
	}
	return super.getReorientRelationshipCommand(req);
}
 
Example #27
Source File: SendTask2ItemSemanticEditPolicy.java    From bonita-studio with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Returns command to reorient EClass based link. New link target or source
 * should be the domain model element associated with this node.
 * 
 * @generated
 */
protected Command getReorientRelationshipCommand(ReorientRelationshipRequest req) {
	switch (getVisualID(req)) {
	case SequenceFlowEditPart.VISUAL_ID:
		return getGEFWrapper(new SequenceFlowReorientCommand(req));
	case MessageFlowEditPart.VISUAL_ID:
		return getGEFWrapper(new MessageFlowReorientCommand(req));
	case TextAnnotationAttachmentEditPart.VISUAL_ID:
		return getGEFWrapper(new TextAnnotationAttachmentReorientCommand(req));
	}
	return super.getReorientRelationshipCommand(req);
}
 
Example #28
Source File: EndSignalEventItemSemanticEditPolicy.java    From bonita-studio with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Returns command to reorient EClass based link. New link target or source
 * should be the domain model element associated with this node.
 * 
 * @generated
 */
protected Command getReorientRelationshipCommand(ReorientRelationshipRequest req) {
	switch (getVisualID(req)) {
	case SequenceFlowEditPart.VISUAL_ID:
		return getGEFWrapper(new SequenceFlowReorientCommand(req));
	case TextAnnotationAttachmentEditPart.VISUAL_ID:
		return getGEFWrapper(new TextAnnotationAttachmentReorientCommand(req));
	}
	return super.getReorientRelationshipCommand(req);
}
 
Example #29
Source File: BoundarySignalEventItemSemanticEditPolicy.java    From bonita-studio with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Returns command to reorient EClass based link. New link target or source
 * should be the domain model element associated with this node.
 * 
 * @generated
 */
protected Command getReorientRelationshipCommand(ReorientRelationshipRequest req) {
	switch (getVisualID(req)) {
	case SequenceFlowEditPart.VISUAL_ID:
		return getGEFWrapper(new SequenceFlowReorientCommand(req));
	case TextAnnotationAttachmentEditPart.VISUAL_ID:
		return getGEFWrapper(new TextAnnotationAttachmentReorientCommand(req));
	}
	return super.getReorientRelationshipCommand(req);
}
 
Example #30
Source File: SubProcessEventItemSemanticEditPolicy.java    From bonita-studio with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Returns command to reorient EClass based link. New link target or source
 * should be the domain model element associated with this node.
 * 
 * @generated
 */
protected Command getReorientRelationshipCommand(ReorientRelationshipRequest req) {
	switch (getVisualID(req)) {
	case TextAnnotationAttachmentEditPart.VISUAL_ID:
		return getGEFWrapper(new TextAnnotationAttachmentReorientCommand(req));
	}
	return super.getReorientRelationshipCommand(req);
}