コード例 #1
0
 /** @generated */
 protected void decorateView(
     View containerView,
     View view,
     IAdaptable semanticAdapter,
     String semanticHint,
     int index,
     boolean persisted) {
   if (semanticHint == null) {
     semanticHint = CIMLevelZeroVisualIDRegistry.getType(LANSegmentInSegmentEditPart.VISUAL_ID);
     view.setType(semanticHint);
   }
   super.decorateView(containerView, view, semanticAdapter, semanticHint, index, persisted);
   IAdaptable eObjectAdapter = null;
   getViewService()
       .createNode(
           eObjectAdapter,
           view,
           CIMLevelZeroVisualIDRegistry.getType(WrappingLabel151EditPart.VISUAL_ID),
           ViewUtil.APPEND,
           true,
           getPreferencesHint());
 }
コード例 #2
0
 /** @generated */
 static {
   registerSnapBackPosition(
       CIMLevelZeroVisualIDRegistry.getType(
           es.tid.cim.diagram.edit.parts.WrappingLabel149EditPart.VISUAL_ID),
       new Point(0, 40));
 }
コード例 #3
0
 /** @generated */
 public EditPart getPrimaryChildEditPart() {
   return getChildBySemanticHint(
       CIMLevelZeroVisualIDRegistry.getType(IPConnectivitySubnetElementNameEditPart.VISUAL_ID));
 }
コード例 #4
0
 /** @generated */
 public EditPart getPrimaryChildEditPart() {
   return getChildBySemanticHint(
       CIMLevelZeroVisualIDRegistry.getType(UniModemElementNameEditPart.VISUAL_ID));
 }