org.eclipse.graphiti.features
Interface IPrintFeature

All Superinterfaces:
IDescription, IFeature, IFeatureProviderHolder, IName
All Known Implementing Classes:
DefaultPrintFeature

public interface IPrintFeature
extends IFeature

The Interface IPrintFeature. It is planned to use this for print support. Not yet supported perfectly.


Method Summary
 boolean canPrint(IPrintContext context)
          Can print.
 void postPrint(IPrintContext context)
          Post-print hook.
 void prePrint(IPrintContext context)
          Pre-print hook.
 
Methods inherited from interface org.eclipse.graphiti.features.IFeature
canExecute, canUndo, execute, hasDoneChanges, isAvailable
 
Methods inherited from interface org.eclipse.graphiti.IName
getName
 
Methods inherited from interface org.eclipse.graphiti.IDescription
getDescription
 
Methods inherited from interface org.eclipse.graphiti.features.IFeatureProviderHolder
getFeatureProvider
 

Method Detail

canPrint

boolean canPrint(IPrintContext context)
Can print.

Parameters:
context - the context
Returns:
true, if successful

prePrint

void prePrint(IPrintContext context)
Pre-print hook. Called before the actual print process starts. You may use this hook to influence the current state of the diagram or the selection.

Parameters:
context - the context

postPrint

void postPrint(IPrintContext context)
Post-print hook. Called after the actual print process. You may use this hook to set back the changes done in the prePrint method.

Parameters:
context - the context


Copyright (c) SAP AG 2005, 2012.