public interface IPrintFeature extends IFeature
Modifier and Type | Method and Description |
---|---|
boolean |
canPrint(IPrintContext context)
Checks if the printing can be executed, e.g the availability of printers
is being checked in the default implementation.
|
void |
postPrint(IPrintContext context)
Post-print hook.
|
void |
prePrint(IPrintContext context)
Pre-print hook.
|
void |
print(IPrintContext context)
Print the diagram using the given context information.
|
canExecute, canUndo, execute, hasDoneChanges, isAvailable
getDescription
getFeatureProvider
boolean canPrint(IPrintContext context)
context
- the contextvoid print(IPrintContext context)
context
- Context information for printingvoid prePrint(IPrintContext context)
context
- the contextvoid postPrint(IPrintContext context)
context
- the context