public class DefaultFeatureProvider extends AbstractFeatureProvider
| Constructor and Description |
|---|
DefaultFeatureProvider(IDiagramTypeProvider dtp)
Creates a new
DefaultFeatureProvider. |
| Modifier and Type | Method and Description |
|---|---|
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.
|
addIfPossible, canAdd, canLayout, canUpdate, dispose, getAddFeature, getAllBusinessObjectsForPictogramElement, getAllPictogramElementsForBusinessObject, getBusinessObjectForPictogramElement, getCreateConnectionFeatures, getCreateFeatures, getDiagramTypeProvider, getDirectEditingFeature, getDirectEditingInfo, getDragAndDropFeatures, getLayoutFeature, getPictogramElementForBusinessObject, getReconnectionFeature, hasPictogramElementForBusinessObject, layoutIfPossible, link, link, updateIfPossible, updateIfPossibleAndNeeded, updateNeededpublic DefaultFeatureProvider(IDiagramTypeProvider dtp)
DefaultFeatureProvider.dtp - the default feature providerpublic IAddBendpointFeature getAddBendpointFeature(IAddBendpointContext context)
IFeatureProvidergetAddBendpointFeature in interface IFeatureProvidergetAddBendpointFeature in class AbstractFeatureProvidercontext - the contextIAddBendpointFeature,
IAddBendpointContextpublic ICopyFeature getCopyFeature(ICopyContext context)
IFeatureProvidercontext - the contextICopyFeaturepublic ICustomFeature[] getCustomFeatures(ICustomContext context)
IFeatureProvidergetCustomFeatures in interface IFeatureProvidergetCustomFeatures in class AbstractFeatureProvidercontext - the contextICustomFeaturepublic IDeleteFeature getDeleteFeature(IDeleteContext context)
IFeatureProvidergetDeleteFeature in interface IFeatureProvidergetDeleteFeature in class AbstractFeatureProvidercontext - the contextIDeleteFeaturepublic IMoveAnchorFeature getMoveAnchorFeature(IMoveAnchorContext context)
IFeatureProviderFixPointAnchor).getMoveAnchorFeature in interface IFeatureProvidergetMoveAnchorFeature in class AbstractFeatureProvidercontext - the contextIMoveAnchorFeaturepublic IMoveBendpointFeature getMoveBendpointFeature(IMoveBendpointContext context)
IFeatureProviderFixPointAnchor).getMoveBendpointFeature in interface IFeatureProvidergetMoveBendpointFeature in class AbstractFeatureProvidercontext - the contextIMoveBendpointFeaturepublic IMoveConnectionDecoratorFeature getMoveConnectionDecoratorFeature(IMoveConnectionDecoratorContext context)
IFeatureProvidergetMoveConnectionDecoratorFeature in interface IFeatureProvidergetMoveConnectionDecoratorFeature in class AbstractFeatureProvidercontext - the contextIMoveConnectionDecoratorFeaturepublic IMoveShapeFeature getMoveShapeFeature(IMoveShapeContext context)
IFeatureProvidergetMoveShapeFeature in interface IFeatureProvidergetMoveShapeFeature in class AbstractFeatureProvidercontext - the contextIMoveShapeFeaturepublic IPasteFeature getPasteFeature(IPasteContext context)
IFeatureProvidercontext - the contextICopyFeaturepublic IPrintFeature getPrintFeature()
IFeatureProviderAbstractFeatureProvider
returns the an instance of DefaultPrintFeature which could be
overridden to influence the standard behaviour.null to disable printing.getPrintFeature in interface IFeatureProvidergetPrintFeature in class AbstractFeatureProvidernull to disable
printing.IPrintFeaturepublic ISaveImageFeature getSaveImageFeature()
IFeatureProviderAbstractFeatureProvider
returns the an instance of DefaultSaveImageFeature which could be
overridden to influence the standard behaviour.null to disable save as image.getSaveImageFeature in interface IFeatureProvidergetSaveImageFeature in class AbstractFeatureProvidernull to disable save as
image.public IRemoveBendpointFeature getRemoveBendpointFeature(IRemoveBendpointContext context)
IFeatureProvidergetRemoveBendpointFeature in interface IFeatureProvidergetRemoveBendpointFeature in class AbstractFeatureProvidercontext - the contextIRemoveBendpointFeaturepublic IResizeShapeFeature getResizeShapeFeature(IResizeShapeContext context)
IFeatureProvidergetResizeShapeFeature in interface IFeatureProvidergetResizeShapeFeature in class AbstractFeatureProvidercontext - the contextIResizeShapeFeaturepublic IRemoveFeature getRemoveFeature(IRemoveContext context)
IFeatureProvidergetRemoveFeature in interface IFeatureProvidergetRemoveFeature in class AbstractFeatureProvidercontext - the contextIRemoveFeaturepublic IUpdateFeature getUpdateFeature(IUpdateContext context)
IFeatureProvidergetUpdateFeature in interface IFeatureProvidergetUpdateFeature in class AbstractFeatureProvidercontext - the contextIUpdateFeature