Exemplo n.º 1
0
 public boolean isApplicableToNode(final SNode node, final EditorContext editorContext) {
   return (SNodeOperations.getParent(node) != null)
       && SNodeOperations.isInstanceOf(
           SNodeOperations.getParent(node),
           "jetbrains.mps.lang.editor.structure.CellModel_Collection")
       && SNodeOperations.isInstanceOf(
           SLinkOperations.getTarget(
               SNodeOperations.cast(
                   SNodeOperations.getParent(node),
                   "jetbrains.mps.lang.editor.structure.CellModel_Collection"),
               "cellLayout",
               true),
           "jetbrains.mps.lang.editor.structure.CellLayout_Indent")
       && !(EditorCellModel_Behavior.call_isNewLine_1237383076236(node));
 }
 private static boolean renderingCondition_jf7bj_a2a(SNode node, EditorContext editorContext) {
   return EditorCellModel_Behavior.call_getClosingTag_1220340488560(node).length() > 0;
 }
Exemplo n.º 3
0
 public static Object propertyMacro_GetPropertyValue_6189378527250534452(
     final IOperationContext operationContext, final PropertyMacroContext _context) {
   return EditorCellModel_Behavior.call_getFactoryMethodName_1216812165609(
       _context.getNode(), _context);
 }