public class ReprojectTocMenuEntry extends AbstractTocContextMenuAction implements IGenericToolBarMenuItem
Constructor and Description |
---|
ReprojectTocMenuEntry() |
Modifier and Type | Method and Description |
---|---|
void |
execute(ITocItem item,
FLayer[] selectedItems)
Método que se ejecuta cuando se pulsa la entrada en el menú contextual del TOC
correspondiente a "Zoom a la resolución del raster".
|
java.lang.String |
getGroup()
Nombre del grupo al que pertenece la accion
|
int |
getGroupOrder()
Orden del grupo al que pertenece la acción
|
javax.swing.Icon |
getIcon()
Devuelve el icono del item del menu
|
int |
getOrder()
Orden del elemento dentro del grupo
|
static ReprojectTocMenuEntry |
getSingleton() |
java.lang.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
|
create, create, create, execute, getMapContext, getNodeLayer, isEnabled, isTocItemBranch, isTocItemLeaf, isVisible, setMapContext
getDescription
public java.lang.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 java.lang.String getText()
IGenericToolBarMenuItem
getText
in interface IContextMenuAction
getText
in interface IGenericToolBarMenuItem
public static ReprojectTocMenuEntry getSingleton()
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)
execute
in interface IGenericToolBarMenuItem
execute
in class AbstractTocContextMenuAction
public javax.swing.Icon getIcon()
IGenericToolBarMenuItem
getIcon
in interface IGenericToolBarMenuItem