be.ac.vub.cocompose.eclipse.actions
Class CoComposePrintAction
java.lang.Object
org.eclipse.jface.action.Action
be.ac.vub.cocompose.eclipse.actions.CoComposePrintAction
- All Implemented Interfaces:
- IAction, IActionDelegate, IObjectActionDelegate
- public class CoComposePrintAction
- extends Action
- implements IObjectActionDelegate
CoCompose Eclipse printing
- Since:
- 0.2.8
- Version:
- 0.2.9, 28/04/2004
- Author:
- Dennis Wagelaar
Fields inherited from interface org.eclipse.jface.action.IAction |
AS_CHECK_BOX, AS_DROP_DOWN_MENU, AS_PUSH_BUTTON, AS_RADIO_BUTTON, AS_UNSPECIFIED, CHECKED, DESCRIPTION, ENABLED, IMAGE, TEXT, TOOL_TIP_TEXT |
Methods inherited from class org.eclipse.jface.action.Action |
addPropertyChangeListener, convertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, firePropertyChange, firePropertyChange, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, removeAcceleratorText, removePropertyChangeListener, run, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CoComposePrintAction
public CoComposePrintAction()
setActivePart
public void setActivePart(IAction action,
IWorkbenchPart targetPart)
- Specified by:
setActivePart
in interface IObjectActionDelegate
- See Also:
IObjectActionDelegate.setActivePart(org.eclipse.jface.action.IAction, org.eclipse.ui.IWorkbenchPart)
run
public void run(IAction action)
- Specified by:
run
in interface IActionDelegate
- See Also:
IActionDelegate.run(org.eclipse.jface.action.IAction)
selectionChanged
public void selectionChanged(IAction action,
ISelection selection)
- Specified by:
selectionChanged
in interface IActionDelegate
- See Also:
IActionDelegate.selectionChanged(org.eclipse.jface.action.IAction, org.eclipse.jface.viewers.ISelection)
getContents
protected Object getContents()
- Gets printing contents.
- Returns:
- printing contents.
setContents
protected void setContents(Object o)
- Sets printing contents.
- Parameters:
o
- printing contents.