public abstract class AbstractActionPlugin extends java.lang.Object implements ActionPlugin
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
BASE_RESOURCE_CLASS
The base resource class.
|
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractActionPlugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener l) |
void |
addPropertyChangeListener(java.lang.String property,
java.beans.PropertyChangeListener l) |
protected ReportProgressDialog |
createProgressDialog()
Creates a progress dialog, and tries to assign a parent based on the given
preview proxy.
|
org.pentaho.reporting.libraries.base.config.ExtendedConfiguration |
getConfig() |
protected abstract java.lang.String |
getConfigurationPrefix() |
SwingGuiContext |
getContext() |
java.lang.String |
getFailureDescription()
Returns an error description for the last operation.
|
IconTheme |
getIconTheme() |
int |
getMenuOrder()
A sort key used to enforce a certain order within the actions.
|
protected java.beans.PropertyChangeSupport |
getPropertyChangeSupport() |
java.lang.String |
getRole() |
int |
getRolePreference() |
java.lang.String |
getStatusText() |
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(java.beans.PropertyChangeListener l) |
void |
setEnabled(boolean enabled) |
void |
setStatusText(java.lang.String statusText) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAcceleratorKey, getDisplayName, getLargeIcon, getMnemonicKey, getShortDescription, getSmallIconpublic static final java.lang.String BASE_RESOURCE_CLASS
public boolean initialize(SwingGuiContext context)
initialize in interface ActionPluginprotected java.beans.PropertyChangeSupport getPropertyChangeSupport()
public SwingGuiContext getContext()
public org.pentaho.reporting.libraries.base.config.ExtendedConfiguration getConfig()
public boolean isSeparated()
isSeparated in interface ActionPluginpublic java.lang.String getFailureDescription()
public java.lang.String getStatusText()
public void setStatusText(java.lang.String statusText)
public boolean isAddToToolbar()
isAddToToolbar in interface ActionPluginpublic boolean isAddToMenu()
isAddToMenu in interface ActionPluginprotected ReportProgressDialog createProgressDialog()
public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
addPropertyChangeListener in interface ActionPluginpublic void addPropertyChangeListener(java.lang.String property,
java.beans.PropertyChangeListener l)
addPropertyChangeListener in interface ActionPluginpublic void removePropertyChangeListener(java.beans.PropertyChangeListener l)
removePropertyChangeListener in interface ActionPluginpublic void setEnabled(boolean enabled)
public boolean isEnabled()
public IconTheme getIconTheme()
protected abstract java.lang.String getConfigurationPrefix()
public int getMenuOrder()
getMenuOrder in interface ActionPluginpublic int getToolbarOrder()
getToolbarOrder in interface ActionPluginpublic java.lang.String getRole()
getRole in interface ActionPluginpublic int getRolePreference()
getRolePreference in interface ActionPlugin