public class AbstractActionInfoAdapterToTocContextMenuAction extends AbstractTocContextMenuAction implements IContextMenuActionWithIcon
Modifier and Type | Field and Description |
---|---|
protected ActionInfo |
action |
protected String |
group |
protected int |
groupOrder |
protected int |
order |
Modifier | Constructor and Description |
---|---|
protected |
AbstractActionInfoAdapterToTocContextMenuAction(ActionInfo action,
String group,
int groupOrder) |
protected |
AbstractActionInfoAdapterToTocContextMenuAction(ActionInfo action,
String group,
int groupOrder,
int order) |
protected |
AbstractActionInfoAdapterToTocContextMenuAction(String actionName,
String group,
int groupOrder) |
protected |
AbstractActionInfoAdapterToTocContextMenuAction(String actionName,
String group,
int groupOrder,
int order) |
Modifier and Type | Method and Description |
---|---|
void |
execute(ITocItem item,
FLayer[] selectedItems) |
String |
getGroup()
Nombre del grupo al que pertenece la accion
|
int |
getGroupOrder()
Orden del grupo al que pertenece la acción
|
ImageIcon |
getIcon() |
int |
getOrder()
Orden del elemento dentro del grupo
|
String |
getText()
Texto del elemento
|
boolean |
isEnabled(ITocItem item,
FLayer[] selectedItems) |
boolean |
isVisible(ITocItem item,
FLayer[] selectedItems) |
create, create, create, execute, getMapContext, getNodeLayer, isEnabled, isTocItemBranch, isTocItemLeaf, isVisible, setMapContext
getDescription
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute, getDescription, isEnabled, isVisible
protected ActionInfo action
protected String group
protected int groupOrder
protected int order
protected AbstractActionInfoAdapterToTocContextMenuAction(ActionInfo action, String group, int groupOrder, int order)
protected AbstractActionInfoAdapterToTocContextMenuAction(ActionInfo action, String group, int groupOrder)
protected AbstractActionInfoAdapterToTocContextMenuAction(String actionName, String group, int groupOrder, int order)
public String getGroup()
IContextMenuAction
getGroup
in interface IContextMenuAction
getGroup
in class AbstractContextMenuAction
public int getGroupOrder()
IContextMenuAction
getGroupOrder
in interface IContextMenuAction
getGroupOrder
in class AbstractContextMenuAction
public int getOrder()
IContextMenuAction
getOrder
in interface IContextMenuAction
getOrder
in class AbstractContextMenuAction
public String getText()
IContextMenuAction
getText
in interface IContextMenuAction
public boolean isEnabled(ITocItem item, FLayer[] selectedItems)
isEnabled
in class AbstractTocContextMenuAction
public boolean isVisible(ITocItem item, FLayer[] selectedItems)
isVisible
in class AbstractTocContextMenuAction
public void execute(ITocItem item, FLayer[] selectedItems)
execute
in class AbstractTocContextMenuAction
public ImageIcon getIcon()
getIcon
in interface IContextMenuActionWithIcon