org.jfree.report.modules.gui.swing.common
public abstract class AbstractActionPlugin extends Object implements ActionPlugin
Field Summary | |
---|---|
static String | BASE_RESOURCE_CLASS
The base resource class. |
Constructor Summary | |
---|---|
protected | AbstractActionPlugin() |
Method Summary | |
---|---|
void | addPropertyChangeListener(PropertyChangeListener l) |
void | addPropertyChangeListener(String property, PropertyChangeListener l) |
protected ReportProgressDialog | createProgressDialog()
Creates a progress dialog, and tries to assign a parent based on the given
preview proxy.
|
ExtendedConfiguration | getConfig() |
protected abstract String | getConfigurationPrefix() |
SwingGuiContext | getContext() |
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 PropertyChangeSupport | getPropertyChangeSupport() |
String | getRole() |
int | getRolePreference() |
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(PropertyChangeListener l) |
void | setEnabled(boolean enabled) |
void | setStatusText(String statusText) |
Returns: the progress dialog.
Returns: returns a error description.
Returns:
Returns: A boolean.
Returns: true, if the plugin should be added to the toolbar, false otherwise.
Returns: true, if the action should be separated from previous actions, false otherwise.