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, wait
getAcceleratorKey, getDisplayName, getLargeIcon, getMnemonicKey, getShortDescription, getSmallIcon
public static final java.lang.String BASE_RESOURCE_CLASS
public boolean initialize(SwingGuiContext context)
initialize
in interface ActionPlugin
protected java.beans.PropertyChangeSupport getPropertyChangeSupport()
public SwingGuiContext getContext()
public org.pentaho.reporting.libraries.base.config.ExtendedConfiguration getConfig()
public boolean isSeparated()
isSeparated
in interface ActionPlugin
public java.lang.String getFailureDescription()
public java.lang.String getStatusText()
public void setStatusText(java.lang.String statusText)
public boolean isAddToToolbar()
isAddToToolbar
in interface ActionPlugin
public boolean isAddToMenu()
isAddToMenu
in interface ActionPlugin
protected ReportProgressDialog createProgressDialog()
public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
addPropertyChangeListener
in interface ActionPlugin
public void addPropertyChangeListener(java.lang.String property, java.beans.PropertyChangeListener l)
addPropertyChangeListener
in interface ActionPlugin
public void removePropertyChangeListener(java.beans.PropertyChangeListener l)
removePropertyChangeListener
in interface ActionPlugin
public void setEnabled(boolean enabled)
public boolean isEnabled()
public IconTheme getIconTheme()
protected abstract java.lang.String getConfigurationPrefix()
public int getMenuOrder()
getMenuOrder
in interface ActionPlugin
public int getToolbarOrder()
getToolbarOrder
in interface ActionPlugin
public java.lang.String getRole()
getRole
in interface ActionPlugin
public int getRolePreference()
getRolePreference
in interface ActionPlugin