public abstract class AbstractActionPlugin extends Object implements ActionPlugin
Modifier and Type | Field and Description |
---|---|
static String |
ENABLED_PROPERTY |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener l) |
void |
addPropertyChangeListener(String property,
PropertyChangeListener l) |
void |
deinitialize(SwingGuiContext swingGuiContext) |
org.pentaho.reporting.libraries.base.util.ResourceBundleSupport |
getBaseResources() |
org.pentaho.reporting.libraries.base.config.ExtendedConfiguration |
getConfig() |
SwingGuiContext |
getContext() |
IconTheme |
getIconTheme() |
int |
getMenuOrder()
A sort key used to enforce a certain order within the actions.
|
String |
getRole() |
int |
getRolePreference() |
int |
getToolbarOrder() |
boolean |
initialize(SwingGuiContext context) |
boolean |
isAddToMenu()
Returns true if the action should be added to the menu, and false otherwise.
|
boolean |
isAddToToolbar()
Returns true if the action should be added to the toolbar, and false otherwise.
|
boolean |
isEnabled() |
boolean |
isSeparated()
Returns true if the action is separated, and false otherwise.
|
void |
removePropertyChangeListener(PropertyChangeListener l) |
void |
setEnabled(boolean enabled) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAcceleratorKey, getDisplayName, getLargeIcon, getMnemonicKey, getShortDescription, getSmallIcon
public static final String ENABLED_PROPERTY
public boolean isEnabled()
isEnabled
in interface ActionPlugin
public void setEnabled(boolean enabled)
public boolean initialize(SwingGuiContext context)
initialize
in interface ActionPlugin
public void deinitialize(SwingGuiContext swingGuiContext)
deinitialize
in interface ActionPlugin
public org.pentaho.reporting.libraries.base.util.ResourceBundleSupport getBaseResources()
public SwingGuiContext getContext()
public org.pentaho.reporting.libraries.base.config.ExtendedConfiguration getConfig()
public boolean isSeparated()
isSeparated
in interface ActionPlugin
public boolean isAddToToolbar()
isAddToToolbar
in interface ActionPlugin
public boolean isAddToMenu()
isAddToMenu
in interface ActionPlugin
public void addPropertyChangeListener(PropertyChangeListener l)
addPropertyChangeListener
in interface ActionPlugin
public void addPropertyChangeListener(String property, PropertyChangeListener l)
addPropertyChangeListener
in interface ActionPlugin
public void removePropertyChangeListener(PropertyChangeListener l)
removePropertyChangeListener
in interface ActionPlugin
public IconTheme getIconTheme()
public int getMenuOrder()
getMenuOrder
in interface ActionPlugin
public int getToolbarOrder()
getToolbarOrder
in interface ActionPlugin
public String getRole()
getRole
in interface ActionPlugin
public int getRolePreference()
getRolePreference
in interface ActionPlugin