public void installElementCellActions(
     SNode listOwner, SNode elementNode, EditorCell elementCell, EditorContext editorContext) {
   if (elementCell.getUserObject(AbstractCellListHandler.ELEMENT_CELL_ACTIONS_SET) == null) {
     elementCell.putUserObject(
         AbstractCellListHandler.ELEMENT_CELL_ACTIONS_SET,
         AbstractCellListHandler.ELEMENT_CELL_ACTIONS_SET);
     if (elementNode != null) {
       elementCell.setAction(CellActionType.DELETE, new CellAction_DeleteNode(elementNode));
     }
     if (elementCell.getSubstituteInfo() == null
         || elementCell.getSubstituteInfo() instanceof DefaultReferenceSubstituteInfo) {
       elementCell.setSubstituteInfo(
           new DefaultChildSubstituteInfo(
               listOwner, elementNode, super.getLinkDeclaration(), editorContext));
     }
   }
 }
 public static void setCellActions(EditorCell editorCell, SNode node, EditorContext context) {
   editorCell.setAction(
       CellActionType.DELETE,
       new InlineRegexpExpression_removeI.InlineRegexpExpression_removeI_DELETE(node));
 }
Exemplo n.º 3
0
 public static void setCellActions(EditorCell editorCell, SNode node, EditorContext context) {
   editorCell.setAction(
       CellActionType.DELETE, new MacroSymbol_Actions.MacroSymbol_Actions_DELETE(node));
 }
Exemplo n.º 4
0
 public static void setCellActions(EditorCell editorCell, SNode node, EditorContext context) {
   editorCell.setAction(
       CellActionType.DELETE, new transitionActions.transitionActions_DELETE(node));
 }
Exemplo n.º 5
0
 public static void setCellActions(EditorCell editorCell, SNode node, EditorContext context) {
   editorCell.setAction(CellActionType.DELETE, new RemoveNot.RemoveNot_DELETE(node));
   editorCell.setAction(CellActionType.BACKSPACE, new RemoveNot.RemoveNot_BACKSPACE(node));
 }
 public static void setCellActions(EditorCell editorCell, SNode node, EditorContext context) {
   editorCell.setAction(
       CellActionType.RIGHT_TRANSFORM,
       new ExtensionMethodDeclaration_Actions.ExtensionMethodDeclaration_Actions_RIGHT_TRANSFORM(
           node));
 }
Exemplo n.º 7
0
 public static void setCellActions(EditorCell editorCell, SNode node, EditorContext context) {
   editorCell.setAction(
       CellActionType.DELETE,
       new DownCastToLowLevel_Actions.DownCastToLowLevel_Actions_DELETE(node));
 }
 public static void setCellActions(EditorCell editorCell, SNode node, EditorContext context) {
   editorCell.setAction(
       CellActionType.DELETE,
       new FormatPeriodExpression_delete.FormatPeriodExpression_delete_DELETE(node));
 }
 public static void setCellActions(EditorCell editorCell, SNode node, EditorContext context) {
   editorCell.setAction(
       CellActionType.DELETE, new RedirectOutputExpression.RedirectOutputExpression_DELETE(node));
 }