Class LibraryExtension

java.lang.Object
org.gvsig.andami.plugins.Extension
org.gvsig.andami.LibraryExtension
All Implemented Interfaces:
IExtension, IExtensionExecuteWithArgs, IExtensionQueryByAction

public class LibraryExtension extends Extension
  • Constructor Details

    • LibraryExtension

      public LibraryExtension()
  • Method Details

    • initialize

      public void initialize()
      Description copied from interface: IExtension
      Extension's initialization code should be here. This method is called for all the extensions during Andami's initialization.
    • execute

      public void execute(String actionCommand)
      Description copied from interface: IExtension
      This method is executed when the user clicks on any of the controls associated with this extension (menus, tools, etc).
      Parameters:
      actionCommand - An String specifying the action to execute. This is useful when there are different controls associated with the same extension.
    • isEnabled

      public boolean isEnabled()
      Description copied from interface: IExtension
      This method is invoked by Andami to check whether the extension (and its associated controls) is enabled or disabled. Disabled controls (menus and buttons) are shown in light grey colour, and it is not possible to click on them.
      Returns:
      true if the extension should be enabled, false otherwise
    • isVisible

      public boolean isVisible()
      Description copied from interface: IExtension
      This method is invoked by Andami to check whether the extension (and its associated controls) is visible or hidden.
      Returns:
      true if the extension should be visible, false otherwise