public abstract class AbstractDesignerContextAction extends AbstractAction implements DesignerContextAction
changeSupport, enabled
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
Modifier | Constructor and Description |
---|---|
protected |
AbstractDesignerContextAction()
Defines an
Action object with a default description string and default icon. |
Modifier and Type | Method and Description |
---|---|
ReportDesignerContext |
getReportDesignerContext() |
boolean |
isVisible() |
void |
setReportDesignerContext(ReportDesignerContext context) |
void |
setVisible(boolean visible) |
protected void |
updateDesignerContext(ReportDesignerContext oldContext,
ReportDesignerContext newContext) |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
actionPerformed
protected AbstractDesignerContextAction()
Action
object with a default description string and default icon.public void setReportDesignerContext(ReportDesignerContext context)
setReportDesignerContext
in interface DesignerContextComponent
public ReportDesignerContext getReportDesignerContext()
getReportDesignerContext
in interface DesignerContextComponent
public void setVisible(boolean visible)
public boolean isVisible()
protected void updateDesignerContext(ReportDesignerContext oldContext, ReportDesignerContext newContext)
Copyright © 2002–2017 Pentaho Corporation. All rights reserved.