Exemplo n.º 1
0
 @Override
 public void execute(EditorContext context) {
   EditorComponent editorComponent = (EditorComponent) context.getEditorComponent();
   editorComponent.clearSelectionStack();
   editorComponent.changeSelection(
       CellFinderUtil.findLastSelectableLeaf(EditorCell_Collection.this));
 }
Exemplo n.º 2
0
 @Override
 public boolean canExecute(EditorContext context) {
   return EditorCell_Collection.this.isSelected()
       && CellFinderUtil.findLastSelectableLeaf(EditorCell_Collection.this) != null;
 }