public abstract class AbstractApplicationFeature extends AbstractFeature implements NetworkActivitySignal.NetworkUser
Modifier and Type | Field and Description |
---|---|
protected LayerList |
appLayers |
protected boolean |
autoSelectLayers |
protected java.lang.Thread |
createLayersThread |
protected boolean |
on |
controller, featureID
Modifier | Constructor and Description |
---|---|
protected |
AbstractApplicationFeature(java.lang.String name,
java.lang.String featureID,
java.lang.String largeIconPath,
Registry registry) |
Modifier and Type | Method and Description |
---|---|
protected void |
addLayer(Layer layer,
LayerPath path) |
protected void |
addLayers(LayerList layerList) |
protected LayerTree |
addLayerTree(LayerTree layerTree) |
protected void |
createLayers() |
protected void |
destroyLayer(Layer layer) |
protected void |
destroyLayers() |
protected void |
doAddLayer(Layer layer,
LayerPath path) |
protected abstract void |
doCreateLayers() |
LayerList |
getAppLayers() |
protected abstract java.lang.String |
getLayerGroupName() |
protected void |
handleInterrupt() |
boolean |
hasNetworkActivity() |
void |
initialize(Controller controller) |
boolean |
isAutoSelectLayers() |
boolean |
isOn() |
protected void |
killPopulateLayerThread() |
protected void |
removeLayers() |
void |
setAutoSelectLayers(boolean autoSelectLayers) |
protected void |
setOn(boolean tf) |
actionPerformed, addToToolBar, doActionPerformed, doPropertyChange, getController, getFeatureID, getName, getStringValue, isInitialized, isTwoState, propertyChange, register, setMenuAccellerator, turnOn
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
protected LayerList appLayers
protected boolean autoSelectLayers
protected java.lang.Thread createLayersThread
protected boolean on
protected AbstractApplicationFeature(java.lang.String name, java.lang.String featureID, java.lang.String largeIconPath, Registry registry)
protected void addLayers(LayerList layerList)
protected void createLayers()
protected void destroyLayer(Layer layer)
protected void destroyLayers()
protected abstract void doCreateLayers()
public LayerList getAppLayers()
protected abstract java.lang.String getLayerGroupName()
protected void handleInterrupt()
public boolean hasNetworkActivity()
hasNetworkActivity
in interface NetworkActivitySignal.NetworkUser
public void initialize(Controller controller)
initialize
in interface Initializable
initialize
in class AbstractFeature
public boolean isAutoSelectLayers()
public boolean isOn()
isOn
in interface Feature
isOn
in class AbstractFeature
protected void killPopulateLayerThread()
protected void removeLayers()
public void setAutoSelectLayers(boolean autoSelectLayers)
protected void setOn(boolean tf)