public class ConfigurableFeatureProviderWrapper extends DefaultFeatureProviderWrapper
Constructor and Description |
---|
ConfigurableFeatureProviderWrapper(IFeatureProvider innerFeatureProvider)
Creates a new
ConfigurableFeatureProviderWrapper . |
Modifier and Type | Method and Description |
---|---|
IReason |
canAdd(IAddContext context)
Can add.
|
IReason |
canLayout(ILayoutContext context)
Checks if an layout process can be processed.
|
IReason |
canUpdate(IUpdateContext context)
Checks if an update process can be processed.
|
IAddBendpointFeature |
getAddBendpointFeature(IAddBendpointContext context)
Add bendpoint features handle the user's requst to have more connection
bendpoints.
|
IAddFeature |
getAddFeature(IAddContext context)
Add features create graphical representations of domain model objects.
|
ICreateConnectionFeature[] |
getCreateConnectionFeatures()
Gets the create connection features.
|
ICreateFeature[] |
getCreateFeatures()
Provides all create features.
|
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.
|
IDirectEditingFeature |
getDirectEditingFeature(IDirectEditingContext context)
Direct editing features handle direct editing functionality (including
drop down lists and text completion).
|
IFeature[] |
getDragAndDropFeatures(IPictogramElementContext context)
if the user should be able to create connections directly from a
pictogram element without using the connection tool you can provide an
array of features.
|
ILayoutFeature |
getLayoutFeature(ILayoutContext context)
Layout features do the layouting work (sizes and dimensions) inside
(and/or) outside a pictogram element.
|
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.
|
IReconnectionFeature |
getReconnectionFeature(IReconnectionContext context)
Reconnection features handle the change of a connection's start or end
anchor.
|
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.
|
IUpdateFeature |
getUpdateFeature(IUpdateContext context)
Update features do the synchronization work and transport data from
domain model to pictograms model elements.
|
addIfPossible, dispose, getAllBusinessObjectsForPictogramElement, getAllPictogramElementsForBusinessObject, getBusinessObjectForPictogramElement, getCopyFeature, getDiagramTypeProvider, getDirectEditingInfo, getInnerFeatureProvider, getPictogramElementForBusinessObject, getPrintFeature, getSaveImageFeature, hasPictogramElementForBusinessObject, layoutIfPossible, link, link, updateIfPossible, updateIfPossibleAndNeeded, updateNeeded
public ConfigurableFeatureProviderWrapper(IFeatureProvider innerFeatureProvider)
ConfigurableFeatureProviderWrapper
.innerFeatureProvider
- the inner feature providerpublic IReason canAdd(IAddContext context)
IFeatureProvider
canAdd
in interface IFeatureProvider
canAdd
in class DefaultFeatureProviderWrapper
context
- the contextpublic IReason canLayout(ILayoutContext context)
IFeatureProvider
canLayout
in interface IFeatureProvider
canLayout
in class DefaultFeatureProviderWrapper
context
- the contextpublic IReason canUpdate(IUpdateContext context)
IFeatureProvider
canUpdate
in interface IFeatureProvider
canUpdate
in class DefaultFeatureProviderWrapper
context
- the contextpublic IAddBendpointFeature getAddBendpointFeature(IAddBendpointContext context)
IFeatureProvider
getAddBendpointFeature
in interface IFeatureProvider
getAddBendpointFeature
in class DefaultFeatureProviderWrapper
context
- the contextIAddBendpointFeature
,
IAddBendpointContext
public IAddFeature getAddFeature(IAddContext context)
IFeatureProvider
getAddFeature
in interface IFeatureProvider
getAddFeature
in class DefaultFeatureProviderWrapper
context
- the contextIAddFeature
public ICreateConnectionFeature[] getCreateConnectionFeatures()
IFeatureProvider
getCreateConnectionFeatures
in interface IFeatureProvider
getCreateConnectionFeatures
in class DefaultFeatureProviderWrapper
ICreateConnectionFeature
public ICreateFeature[] getCreateFeatures()
IFeatureProvider
getCreateFeatures
in interface IFeatureProvider
getCreateFeatures
in class DefaultFeatureProviderWrapper
ICreateFeature
public ICustomFeature[] getCustomFeatures(ICustomContext context)
IFeatureProvider
getCustomFeatures
in interface IFeatureProvider
getCustomFeatures
in class DefaultFeatureProviderWrapper
context
- the contextICustomFeature
public IDeleteFeature getDeleteFeature(IDeleteContext context)
IFeatureProvider
getDeleteFeature
in interface IFeatureProvider
getDeleteFeature
in class DefaultFeatureProviderWrapper
context
- the contextIDeleteFeature
public IDirectEditingFeature getDirectEditingFeature(IDirectEditingContext context)
IFeatureProvider
getDirectEditingFeature
in interface IFeatureProvider
getDirectEditingFeature
in class DefaultFeatureProviderWrapper
context
- the contextIDirectEditingFeature
public IFeature[] getDragAndDropFeatures(IPictogramElementContext context)
IFeatureProvider
getDragAndDropFeatures
in interface IFeatureProvider
getDragAndDropFeatures
in class DefaultFeatureProviderWrapper
context
- - the pictogram element the drag and drop should be initiated
onpublic ILayoutFeature getLayoutFeature(ILayoutContext context)
IFeatureProvider
getLayoutFeature
in interface IFeatureProvider
getLayoutFeature
in class DefaultFeatureProviderWrapper
context
- the contextILayoutFeature
public IMoveAnchorFeature getMoveAnchorFeature(IMoveAnchorContext context)
IFeatureProvider
FixPointAnchor
).getMoveAnchorFeature
in interface IFeatureProvider
getMoveAnchorFeature
in class DefaultFeatureProviderWrapper
context
- the contextIMoveAnchorFeature
public IMoveBendpointFeature getMoveBendpointFeature(IMoveBendpointContext context)
IFeatureProvider
FixPointAnchor
).getMoveBendpointFeature
in interface IFeatureProvider
getMoveBendpointFeature
in class DefaultFeatureProviderWrapper
context
- the contextIMoveBendpointFeature
public IMoveConnectionDecoratorFeature getMoveConnectionDecoratorFeature(IMoveConnectionDecoratorContext context)
IFeatureProvider
getMoveConnectionDecoratorFeature
in interface IFeatureProvider
getMoveConnectionDecoratorFeature
in class DefaultFeatureProviderWrapper
context
- the contextIMoveConnectionDecoratorFeature
public IMoveShapeFeature getMoveShapeFeature(IMoveShapeContext context)
IFeatureProvider
getMoveShapeFeature
in interface IFeatureProvider
getMoveShapeFeature
in class DefaultFeatureProviderWrapper
context
- the contextIMoveShapeFeature
public IPasteFeature getPasteFeature(IPasteContext context)
IFeatureProvider
getPasteFeature
in interface IFeatureProvider
getPasteFeature
in class DefaultFeatureProviderWrapper
context
- the contextICopyFeature
public IReconnectionFeature getReconnectionFeature(IReconnectionContext context)
IFeatureProvider
getReconnectionFeature
in interface IFeatureProvider
getReconnectionFeature
in class DefaultFeatureProviderWrapper
context
- the contextIReconnectionFeature
public IRemoveBendpointFeature getRemoveBendpointFeature(IRemoveBendpointContext context)
IFeatureProvider
getRemoveBendpointFeature
in interface IFeatureProvider
getRemoveBendpointFeature
in class DefaultFeatureProviderWrapper
context
- the contextIRemoveBendpointFeature
public IRemoveFeature getRemoveFeature(IRemoveContext context)
IFeatureProvider
getRemoveFeature
in interface IFeatureProvider
getRemoveFeature
in class DefaultFeatureProviderWrapper
context
- the contextIRemoveFeature
public IResizeShapeFeature getResizeShapeFeature(IResizeShapeContext context)
IFeatureProvider
getResizeShapeFeature
in interface IFeatureProvider
getResizeShapeFeature
in class DefaultFeatureProviderWrapper
context
- the contextIResizeShapeFeature
public IUpdateFeature getUpdateFeature(IUpdateContext context)
IFeatureProvider
getUpdateFeature
in interface IFeatureProvider
getUpdateFeature
in class DefaultFeatureProviderWrapper
context
- the contextIUpdateFeature