public class ROIMaskTocMenuEntry extends AbstractTocContextMenuAction implements IGenericToolBarMenuItem
Modifier and Type | Method and Description |
---|---|
void |
execute(ITocItem item,
FLayer[] selectedItems)
Metodo que sera invocado cuando el item del menu sea presionado
|
String |
getGroup()
Nombre del grupo al que pertenece la accion
|
int |
getGroupOrder()
Orden del grupo al que pertenece la acción
|
Icon |
getIcon()
Devuelve el icono del item del menu
|
int |
getOrder()
Orden del elemento dentro del grupo
|
static ROIMaskTocMenuEntry |
getSingleton() |
String |
getText()
Devuelve el texto que se verá en el menú
|
boolean |
isEnabled(ITocItem item,
FLayer[] selectedItems)
Dice si el item actual esta habilitado
|
boolean |
isVisible(ITocItem item,
FLayer[] selectedItems)
Dice si es visible el item de menu para dicha entrada
|
static void |
setExtension(Extension ext) |
create, create, create, execute, getMapContext, getNodeLayer, isEnabled, isTocItemBranch, isTocItemLeaf, isVisible, setMapContext
getDescription
public static void setExtension(Extension ext)
public static ROIMaskTocMenuEntry getSingleton()
public String getGroup()
IContextMenuAction
getGroup
in interface IContextMenuAction
getGroup
in interface IGenericToolBarMenuItem
getGroup
in class AbstractContextMenuAction
public int getGroupOrder()
IContextMenuAction
getGroupOrder
in interface IContextMenuAction
getGroupOrder
in interface IGenericToolBarMenuItem
getGroupOrder
in class AbstractContextMenuAction
public int getOrder()
IContextMenuAction
getOrder
in interface IContextMenuAction
getOrder
in interface IGenericToolBarMenuItem
getOrder
in class AbstractContextMenuAction
public String getText()
IGenericToolBarMenuItem
getText
in interface IContextMenuAction
getText
in interface IGenericToolBarMenuItem
public boolean isEnabled(ITocItem item, FLayer[] selectedItems)
IGenericToolBarMenuItem
isEnabled
in interface IGenericToolBarMenuItem
isEnabled
in class AbstractTocContextMenuAction
public boolean isVisible(ITocItem item, FLayer[] selectedItems)
IGenericToolBarMenuItem
isVisible
in interface IGenericToolBarMenuItem
isVisible
in class AbstractTocContextMenuAction
public void execute(ITocItem item, FLayer[] selectedItems)
IGenericToolBarMenuItem
execute
in interface IGenericToolBarMenuItem
execute
in class AbstractTocContextMenuAction
public Icon getIcon()
IGenericToolBarMenuItem
getIcon
in interface IGenericToolBarMenuItem