Class PasteAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.pentaho.reporting.designer.core.actions.AbstractDesignerContextAction
-
- org.pentaho.reporting.designer.core.actions.AbstractReportContextAction
-
- org.pentaho.reporting.designer.core.actions.AbstractElementSelectionAction
-
- org.pentaho.reporting.designer.core.actions.global.PasteAction
-
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
,ChangeListener
,DesignerContextAction
,DesignerContextComponent
public class PasteAction extends AbstractElementSelectionAction implements ChangeListener
Todo: Document Me- Author:
- Thomas Morgner
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.pentaho.reporting.designer.core.actions.AbstractElementSelectionAction
AbstractElementSelectionAction.UpdatePropertiesForSelectionHandler
-
-
Field Summary
-
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
-
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
-
-
Constructor Summary
Constructors Constructor Description PasteAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(ActionEvent e)
Invoked when an action occurs.org.pentaho.reporting.designer.core.actions.global.PasteAction.ClipboardStatus
getClipboardStatus()
Object
normalizeElements(Object element)
protected void
selectedElementPropertiesChanged(org.pentaho.reporting.engine.classic.core.event.ReportModelEvent event)
void
setClipboardStatus(org.pentaho.reporting.designer.core.actions.global.PasteAction.ClipboardStatus clipboardStatus)
void
setSelectionActive(boolean selectionActive)
void
stateChanged(ChangeEvent e)
protected void
updateSelection()
-
Methods inherited from class org.pentaho.reporting.designer.core.actions.AbstractElementSelectionAction
getSelectionModel, isSingleElementSelection, updateActiveContext
-
Methods inherited from class org.pentaho.reporting.designer.core.actions.AbstractReportContextAction
getActiveContext, updateActiveContext, updateDesignerContext
-
Methods inherited from class org.pentaho.reporting.designer.core.actions.AbstractDesignerContextAction
getReportDesignerContext, isVisible, setReportDesignerContext, setVisible
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.swing.Action
accept, addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Method Detail
-
selectedElementPropertiesChanged
protected void selectedElementPropertiesChanged(org.pentaho.reporting.engine.classic.core.event.ReportModelEvent event)
- Specified by:
selectedElementPropertiesChanged
in classAbstractElementSelectionAction
-
updateSelection
protected void updateSelection()
- Overrides:
updateSelection
in classAbstractElementSelectionAction
-
setSelectionActive
public void setSelectionActive(boolean selectionActive)
-
actionPerformed
public void actionPerformed(ActionEvent e)
Invoked when an action occurs.- Specified by:
actionPerformed
in interfaceActionListener
-
getClipboardStatus
public org.pentaho.reporting.designer.core.actions.global.PasteAction.ClipboardStatus getClipboardStatus()
-
setClipboardStatus
public void setClipboardStatus(org.pentaho.reporting.designer.core.actions.global.PasteAction.ClipboardStatus clipboardStatus)
-
stateChanged
public void stateChanged(ChangeEvent e)
- Specified by:
stateChanged
in interfaceChangeListener
-
-