Example #1
0
 public void execute(final SNode node, final EditorContext editorContext) {
   SNode twi =
       SNodeOperations.replaceWithNewChild(
           node,
           MetaAdapterFactory.getConcept(
               0x9290638e635b4ec6L,
               0xbcad945ecb88a928L,
               0x116157dc0d8c532bL,
               "testWrappedType.structure.TypeWithUnits"));
   SLinkOperations.setTarget(
       twi,
       MetaAdapterFactory.getContainmentLink(
           0x9290638e635b4ec6L,
           0xbcad945ecb88a928L,
           0x116157dc0d8c52bcL,
           0x116157dc0d8c52bdL,
           "wrapped"),
       node);
 }