|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.graphiti.features.impl.AbstractFeatureProvider
org.eclipse.graphiti.ui.features.DefaultFeatureProvider
public class DefaultFeatureProvider
The Class DefaultFeatureProvider.
Field Summary |
---|
Fields inherited from class org.eclipse.graphiti.features.impl.AbstractFeatureProvider |
---|
EMPTY_PICTOGRAM_ELEMENTS, NO_OBJECTS |
Constructor Summary | |
---|---|
DefaultFeatureProvider(IDiagramTypeProvider dtp)
Creates a new DefaultFeatureProvider . |
Method Summary | |
---|---|
IAddBendpointFeature |
getAddBendpointFeature(IAddBendpointContext context)
Add bendpoint features handle the user's requst to have more connection bendpoints. |
ICopyFeature |
getCopyFeature(ICopyContext context)
Copy features fill the clipboard. |
ICustomFeature[] |
getCustomFeatures(ICustomContext context)
Custom features can do anything. |
IDeleteFeature |
getDeleteFeature(IDeleteContext context)
Delete features remove the grapical representations of domain model objects as well as the domain model objects itself. |
IMoveAnchorFeature |
getMoveAnchorFeature(IMoveAnchorContext context)
Move features respond to user's move requests. |
IMoveBendpointFeature |
getMoveBendpointFeature(IMoveBendpointContext context)
Move features respond to user's move requests. |
IMoveConnectionDecoratorFeature |
getMoveConnectionDecoratorFeature(IMoveConnectionDecoratorContext context)
Move features respond to user's move requests. |
IMoveShapeFeature |
getMoveShapeFeature(IMoveShapeContext context)
Move shape features respond to user's move requests. |
IPasteFeature |
getPasteFeature(IPasteContext context)
Paste features bring clipboard content to the diagram. |
IPrintFeature |
getPrintFeature()
It is planned to use this for printing support. |
IRemoveBendpointFeature |
getRemoveBendpointFeature(IRemoveBendpointContext context)
Add bendpoint features handle the user's requst to remove connection bendpoints. |
IRemoveFeature |
getRemoveFeature(IRemoveContext context)
Remove features remove the grapical representations of domain model objects. |
IResizeShapeFeature |
getResizeShapeFeature(IResizeShapeContext context)
Resize shape features respond to user's resize requests. |
ISaveImageFeature |
getSaveImageFeature()
It is planned to use this for save as image support. |
IUpdateFeature |
getUpdateFeature(IUpdateContext context)
Update features do the synchronization work and transport data from domain model to pictograms model elements. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultFeatureProvider(IDiagramTypeProvider dtp)
DefaultFeatureProvider
.
dtp
- the default feature providerMethod Detail |
---|
public IAddBendpointFeature getAddBendpointFeature(IAddBendpointContext context)
IFeatureProvider
getAddBendpointFeature
in interface IFeatureProvider
getAddBendpointFeature
in class AbstractFeatureProvider
context
- the context
IAddBendpointFeature
,
IAddBendpointContext
public ICopyFeature getCopyFeature(ICopyContext context)
IFeatureProvider
context
- the context
ICopyFeature
public ICustomFeature[] getCustomFeatures(ICustomContext context)
IFeatureProvider
getCustomFeatures
in interface IFeatureProvider
getCustomFeatures
in class AbstractFeatureProvider
context
- the context
ICustomFeature
public IDeleteFeature getDeleteFeature(IDeleteContext context)
IFeatureProvider
getDeleteFeature
in interface IFeatureProvider
getDeleteFeature
in class AbstractFeatureProvider
context
- the context
IDeleteFeature
public IMoveAnchorFeature getMoveAnchorFeature(IMoveAnchorContext context)
IFeatureProvider
FixPointAnchor
).
getMoveAnchorFeature
in interface IFeatureProvider
getMoveAnchorFeature
in class AbstractFeatureProvider
context
- the context
IMoveAnchorFeature
public IMoveBendpointFeature getMoveBendpointFeature(IMoveBendpointContext context)
IFeatureProvider
FixPointAnchor
).
getMoveBendpointFeature
in interface IFeatureProvider
getMoveBendpointFeature
in class AbstractFeatureProvider
context
- the context
IMoveBendpointFeature
public IMoveConnectionDecoratorFeature getMoveConnectionDecoratorFeature(IMoveConnectionDecoratorContext context)
IFeatureProvider
getMoveConnectionDecoratorFeature
in interface IFeatureProvider
getMoveConnectionDecoratorFeature
in class AbstractFeatureProvider
context
- the context
IMoveConnectionDecoratorFeature
public IMoveShapeFeature getMoveShapeFeature(IMoveShapeContext context)
IFeatureProvider
getMoveShapeFeature
in interface IFeatureProvider
getMoveShapeFeature
in class AbstractFeatureProvider
context
- the context
IMoveShapeFeature
public IPasteFeature getPasteFeature(IPasteContext context)
IFeatureProvider
context
- the context
ICopyFeature
public IPrintFeature getPrintFeature()
IFeatureProvider
AbstractFeatureProvider
returns the an instance of DefaultPrintFeature
which could be
overridden to influence the standard behaviour.null
to disable printing.
getPrintFeature
in interface IFeatureProvider
getPrintFeature
in class AbstractFeatureProvider
null
to disable
printing.IPrintFeature
public ISaveImageFeature getSaveImageFeature()
IFeatureProvider
AbstractFeatureProvider
returns the an instance of DefaultSaveImageFeature
which could be
overridden to influence the standard behaviour.null
to disable save as image.
getSaveImageFeature
in interface IFeatureProvider
getSaveImageFeature
in class AbstractFeatureProvider
null
to disable save as
image.public IRemoveBendpointFeature getRemoveBendpointFeature(IRemoveBendpointContext context)
IFeatureProvider
getRemoveBendpointFeature
in interface IFeatureProvider
getRemoveBendpointFeature
in class AbstractFeatureProvider
context
- the context
IRemoveBendpointFeature
public IResizeShapeFeature getResizeShapeFeature(IResizeShapeContext context)
IFeatureProvider
getResizeShapeFeature
in interface IFeatureProvider
getResizeShapeFeature
in class AbstractFeatureProvider
context
- the context
IResizeShapeFeature
public IRemoveFeature getRemoveFeature(IRemoveContext context)
IFeatureProvider
getRemoveFeature
in interface IFeatureProvider
getRemoveFeature
in class AbstractFeatureProvider
context
- the context
IRemoveFeature
public IUpdateFeature getUpdateFeature(IUpdateContext context)
IFeatureProvider
getUpdateFeature
in interface IFeatureProvider
getUpdateFeature
in class AbstractFeatureProvider
context
- the context
IUpdateFeature
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |