Package org.gvsig.andami.plugins
Interface ExclusiveUIExtension
- All Superinterfaces:
IExtension
Extensions implementing this interface are able to take control
over the user interface, by deciding which of the other extensions
will be enabled/disabled or visible/hidden.
Besides implementing this interface, the extension needs to
be set as ExclusiveUIExtension during Andami startup process.
This is performed by providing a command line argument to
Andami:
ExclusiveUIExtension=ExtensionName- Author:
- Cesar Martinez Izquierdo invalid input: '<'cesar.martinez@iver.es>
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisEnabled(IExtension extension) This method is used when this extension is installed as ExclusiveUIExtension.booleanisVisible(IExtension extension) This method is used when this extension is installed as ExclusiveUIExtension.Methods inherited from interface org.gvsig.andami.plugins.IExtension
execute, getStatus, getStatus, initialize, isEnabled, isVisible, postInitialize, terminate
-
Method Details
-
isEnabled
This method is used when this extension is installed as ExclusiveUIExtension. This extension will be asked for each installed extension to determine which of them should be enabled.- Returns:
- true if the provided extension should be enabled, false if it should be disabled.
-
isVisible
This method is used when this extension is installed as ExclusiveUIExtension. This extension will be asked for each installed extension to determine which of them should be visible.- Returns:
- true if the provided extension should be visible, false if it should be hidden.
-