|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.graphiti.features.impl.AbstractFeature
org.eclipse.graphiti.features.impl.DefaultPrintFeature
public class DefaultPrintFeature
The Class DefaultPrintFeature. It is planned to use this for print support. Not yet supported perfectly.
| Field Summary | |
|---|---|
private static java.lang.String |
NAME
|
| Constructor Summary | |
|---|---|
DefaultPrintFeature(IFeatureProvider fp)
Creates a new DefaultPrintFeature. |
|
| Method Summary | |
|---|---|
boolean |
canExecute(IContext context)
Decides if the current feature can execute with the given context. |
boolean |
canPrint(IPrintContext context)
Can print. |
void |
execute(IContext context)
Executes the current feature with the given context. |
java.lang.String |
getName()
Gets the name. |
void |
postPrint(IPrintContext context)
Post-print hook. |
void |
prePrint(IPrintContext context)
Pre-print hook. |
| Methods inherited from class org.eclipse.graphiti.features.impl.AbstractFeature |
|---|
addGraphicalRepresentation, canUndo, getAllBusinessObjectsForPictogramElement, getBusinessObjectForPictogramElement, getDescription, getDiagram, getDiagramEditor, getFeatureProvider, getProgressCallback, getUserDecision, hasDoneChanges, isAvailable, layoutPictogramElement, link, link, manageColor, manageColor, setProgressCallback, toString, updatePictogramElement |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.graphiti.features.IFeature |
|---|
canUndo, hasDoneChanges, isAvailable |
| Methods inherited from interface org.eclipse.graphiti.IDescription |
|---|
getDescription |
| Methods inherited from interface org.eclipse.graphiti.features.IFeatureProviderHolder |
|---|
getFeatureProvider |
| Field Detail |
|---|
private static final java.lang.String NAME
| Constructor Detail |
|---|
public DefaultPrintFeature(IFeatureProvider fp)
DefaultPrintFeature.
fp - the feauture provider| Method Detail |
|---|
public boolean canPrint(IPrintContext context)
IPrintFeature
canPrint in interface IPrintFeaturecontext - the context
public void postPrint(IPrintContext context)
IPrintFeature
postPrint in interface IPrintFeaturecontext - the contextpublic void prePrint(IPrintContext context)
IPrintFeature
prePrint in interface IPrintFeaturecontext - the contextpublic boolean canExecute(IContext context)
IFeature
canExecute in interface IFeaturecontext - this is the general input for this method
IContextpublic final void execute(IContext context)
IFeature
execute in interface IFeaturecontext - this is the general input for this methodIContextpublic java.lang.String getName()
IName
getName in interface INamegetName in class AbstractFeature
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||