org.eclipse.graphiti.features
Interface ISaveImageFeature
- All Superinterfaces:
- IDescription, IFeature, IFeatureProviderHolder, IName
- All Known Implementing Classes:
- DefaultSaveImageFeature
public interface ISaveImageFeature
- extends IFeature
The Interface ISaveImageFeature. It is planned to use this for save as image
support. Not yet supported perfectly.
Methods inherited from interface org.eclipse.graphiti.IName |
getName |
canSave
boolean canSave(ISaveImageContext context)
- Can save.
- Parameters:
context
- the context
- Returns:
- true, if successful
preSave
void preSave(ISaveImageContext context)
- Pre-save hook. Called before the actual save process starts. You may use
this hook to influence the current state of the diagram or the selection.
- Parameters:
context
- the context
postSave
void postSave(ISaveImageContext context)
- Post-save hook. Called after the actual save process. You may use this
hook to set back the changes done in the preSave method.
- Parameters:
context
- the context
Copyright (c) SAP AG 2005, 2010.