org.gvsig.raster.tools.app.reproject
Class ReprojectTocMenuEntry
java.lang.Object
org.gvsig.app.project.documents.view.AbstractContextMenuAction
org.gvsig.app.project.documents.view.toc.AbstractTocContextMenuAction
org.gvsig.raster.tools.app.reproject.ReprojectTocMenuEntry
- All Implemented Interfaces:
- org.gvsig.app.project.documents.view.IContextMenuAction, IGenericToolBarMenuItem, ExtensionBuilder
public class ReprojectTocMenuEntry
- extends org.gvsig.app.project.documents.view.toc.AbstractTocContextMenuAction
- implements IGenericToolBarMenuItem
- Author:
- Nacho Brodin (nachobrodin@gmail.com)
| Methods inherited from class org.gvsig.app.project.documents.view.toc.AbstractTocContextMenuAction |
create, create, create, execute, getMapContext, getNodeLayer, isEnabled, isTocItemBranch, isTocItemLeaf, isVisible, setMapContext |
| Methods inherited from class org.gvsig.app.project.documents.view.AbstractContextMenuAction |
getDescription |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReprojectTocMenuEntry
public ReprojectTocMenuEntry()
getGroup
public String getGroup()
- Specified by:
getGroup in interface org.gvsig.app.project.documents.view.IContextMenuAction- Specified by:
getGroup in interface IGenericToolBarMenuItem- Overrides:
getGroup in class org.gvsig.app.project.documents.view.AbstractContextMenuAction
getGroupOrder
public int getGroupOrder()
- Specified by:
getGroupOrder in interface org.gvsig.app.project.documents.view.IContextMenuAction- Specified by:
getGroupOrder in interface IGenericToolBarMenuItem- Overrides:
getGroupOrder in class org.gvsig.app.project.documents.view.AbstractContextMenuAction
getOrder
public int getOrder()
- Specified by:
getOrder in interface org.gvsig.app.project.documents.view.IContextMenuAction- Specified by:
getOrder in interface IGenericToolBarMenuItem- Overrides:
getOrder in class org.gvsig.app.project.documents.view.AbstractContextMenuAction
getText
public String getText()
- Specified by:
getText in interface org.gvsig.app.project.documents.view.IContextMenuAction- Specified by:
getText in interface IGenericToolBarMenuItem
getSingleton
public static ReprojectTocMenuEntry getSingleton()
- Devuelve un objeto unico a dicha clase
- Returns:
isEnabled
public boolean isEnabled(org.gvsig.app.project.documents.view.toc.ITocItem item,
FLayer[] selectedItems)
- Specified by:
isEnabled in interface IGenericToolBarMenuItem- Overrides:
isEnabled in class org.gvsig.app.project.documents.view.toc.AbstractTocContextMenuAction
isVisible
public boolean isVisible(org.gvsig.app.project.documents.view.toc.ITocItem item,
FLayer[] selectedItems)
- Specified by:
isVisible in interface IGenericToolBarMenuItem- Overrides:
isVisible in class org.gvsig.app.project.documents.view.toc.AbstractTocContextMenuAction
execute
public void execute(org.gvsig.app.project.documents.view.toc.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". Aquí se creará el mapTool si
no se ha hecho antes y se cargará.
- Specified by:
execute in interface IGenericToolBarMenuItem- Specified by:
execute in class org.gvsig.app.project.documents.view.toc.AbstractTocContextMenuAction
getIcon
public Icon getIcon()
- Specified by:
getIcon in interface IGenericToolBarMenuItem
interrupted
public void interrupted()
Copyright © 2004-2013 gvSIG. All Rights Reserved.