public abstract class AbstractGeometryMeasurementExtension
extends org.gvsig.andami.plugins.Extension
| Constructor and Description |
|---|
AbstractGeometryMeasurementExtension() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(java.lang.String actionCommand) |
protected abstract void |
execute(java.lang.String actionCommand,
org.gvsig.fmap.dal.feature.FeatureStore featureStore)
Executes a command for the given
FeatureStore. |
protected org.gvsig.app.project.documents.table.TableDocument |
getActiveTableDocument()
Returns the active table document.
|
void |
initialize() |
boolean |
isEnabled() |
protected boolean |
isStoreOfAnyType(org.gvsig.app.project.documents.table.TableDocument tableDocument,
int[] geomTypes) |
boolean |
isVisible() |
protected abstract boolean |
isVisibleForTable(org.gvsig.app.project.documents.table.TableDocument tableDocument)
Returns if the current extension is visible for the provided
table.
|
public AbstractGeometryMeasurementExtension()
public void execute(java.lang.String actionCommand)
protected abstract void execute(java.lang.String actionCommand,
org.gvsig.fmap.dal.feature.FeatureStore featureStore)
throws java.lang.Exception
FeatureStore.actionCommand - to executefeatureStore - to usejava.lang.Exception - if there is an error while executingprotected org.gvsig.app.project.documents.table.TableDocument getActiveTableDocument()
throws org.gvsig.fmap.dal.exception.DataException
org.gvsig.fmap.dal.exception.DataExceptionpublic void initialize()
public boolean isEnabled()
protected boolean isStoreOfAnyType(org.gvsig.app.project.documents.table.TableDocument tableDocument,
int[] geomTypes)
public final boolean isVisible()
protected abstract boolean isVisibleForTable(org.gvsig.app.project.documents.table.TableDocument tableDocument)
layer - the active tableCopyright © 2015 gvSIG Association. All Rights Reserved.