Exemple #1
0
 /** @generated */
 public EditPart getPrimaryChildEditPart() {
   return getChildBySemanticHint(
       edu.toronto.cs.se.modelepedia.icse15_sequencediagram_mavo.diagram.part
           .ICSE15_SequenceDiagram_MAVOVisualIDRegistry.getType(
           edu.toronto.cs.se.modelepedia.icse15_sequencediagram_mavo.diagram.edit.parts
               .ClassNameEditPart.VISUAL_ID));
 }
Exemple #2
0
 /** @generated */
 public EditPart getTargetEditPart(Request request) {
   if (request instanceof CreateViewAndElementRequest) {
     CreateElementRequestAdapter adapter =
         ((CreateViewAndElementRequest) request)
             .getViewAndElementDescriptor()
             .getCreateElementRequestAdapter();
     IElementType type = (IElementType) adapter.getAdapter(IElementType.class);
     if (type
         == edu.toronto.cs.se.modelepedia.icse15_sequencediagram_mavo.diagram.providers
             .ICSE15_SequenceDiagram_MAVOElementTypes.Operation_3001) {
       return getChildBySemanticHint(
           edu.toronto.cs.se.modelepedia.icse15_sequencediagram_mavo.diagram.part
               .ICSE15_SequenceDiagram_MAVOVisualIDRegistry.getType(
               edu.toronto.cs.se.modelepedia.icse15_sequencediagram_mavo.diagram.edit.parts
                   .ClassClassOperationsCompartmentEditPart.VISUAL_ID));
     }
   }
   return super.getTargetEditPart(request);
 }