public abstract class AbstractTocContextMenuAction extends AbstractContextMenuAction implements ExtensionBuilder
Constructor and Description |
---|
AbstractTocContextMenuAction() |
Modifier and Type | Method and Description |
---|---|
Object |
create()
Crea una instancia de la extension y la retorna.
|
Object |
create(Map args) |
Object |
create(Object[] args)
Crea una instancia de la extension y la retorna.
|
abstract void |
execute(ITocItem item,
FLayer[] selectedItems) |
void |
execute(Object item,
Object[] selectedItems)
Deprecated.
use public void execute(ITocItem item, FLayer[] selectedItems)
|
MapContext |
getMapContext() |
FLayer |
getNodeLayer(ITocItem node) |
boolean |
isEnabled(ITocItem item,
FLayer[] selectedItems) |
boolean |
isEnabled(Object item,
Object[] selectedItems)
Deprecated.
use public boolean isEnabled(ITocItem item, FLayer[] selectedItems)
|
boolean |
isTocItemBranch(ITocItem node) |
boolean |
isTocItemLeaf(ITocItem node) |
boolean |
isVisible(ITocItem item,
FLayer[] selectedItems) |
boolean |
isVisible(Object item,
Object[] selectedItems)
Deprecated.
use public boolean isVisible(ITocItem item, FLayer[] selectedItems)
|
void |
setMapContext(MapContext mapContext) |
getDescription, getGroup, getGroupOrder, getOrder
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getText
public MapContext getMapContext()
public void setMapContext(MapContext mapContext)
public boolean isEnabled(Object item, Object[] selectedItems)
IContextMenuAction
isEnabled
in interface IContextMenuAction
isEnabled
in class AbstractContextMenuAction
item
- elemento sobre el que se ha pulsadoselectedItems
- elementos seleccionados en el momento de pulsarpublic boolean isVisible(Object item, Object[] selectedItems)
IContextMenuAction
isVisible
in interface IContextMenuAction
isVisible
in class AbstractContextMenuAction
item
- elemento sobre el que se ha pulsadoselectedItems
- elementos seleccionados en el momento de pulsarpublic void execute(Object item, Object[] selectedItems)
IContextMenuAction
execute
in interface IContextMenuAction
item
- elemento sobre el que se ha pulsadoselectedItems
- elementos seleccionados en el momento de pulsarpublic boolean isTocItemLeaf(ITocItem node)
public boolean isTocItemBranch(ITocItem node)
public Object create()
ExtensionBuilder
create
in interface ExtensionBuilder
public Object create(Map args)
create
in interface ExtensionBuilder
public Object create(Object[] args)
ExtensionBuilder
create
in interface ExtensionBuilder