be.ac.vub.cocompose.eclipse.actions
Class CoComposePrintAction

java.lang.Object
  extended byorg.eclipse.jface.action.Action
      extended bybe.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.10, 07/05/2004
Author:
Dennis Wagelaar

Field Summary
 
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
 
Constructor Summary
CoComposePrintAction()
           
 
Method Summary
protected  Object getContents()
          Gets printing contents.
 void run(IAction action)
           
 void selectionChanged(IAction action, ISelection selection)
           
 void setActivePart(IAction action, IWorkbenchPart targetPart)
           
protected  void setContents(Object o)
          Sets printing contents.
 
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
 

Constructor Detail

CoComposePrintAction

public CoComposePrintAction()
Method Detail

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.