|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.graphiti.features.DefaultFeatureProviderWrapper
org.eclipse.graphiti.features.ConfigurableFeatureProviderWrapper
public class ConfigurableFeatureProviderWrapper
The Class ConfigurableFeatureProviderWrapper.
Constructor Summary | |
---|---|
ConfigurableFeatureProviderWrapper(IFeatureProvider innerFeatureProvider)
Creates a new ConfigurableFeatureProviderWrapper . |
Method Summary | |
---|---|
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. |
private ICustomFeature[] |
filterAllowedCustomFeatures(ICustomFeature[] features,
IContext context)
|
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. |
protected IFeatureChecker |
getFeatureChecker()
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConfigurableFeatureProviderWrapper(IFeatureProvider innerFeatureProvider)
ConfigurableFeatureProviderWrapper
.
innerFeatureProvider
- the inner feature providerMethod Detail |
---|
public IReason canAdd(IAddContext context)
IFeatureProvider
canAdd
in interface IFeatureProvider
canAdd
in class DefaultFeatureProviderWrapper
context
- the context
public IReason canLayout(ILayoutContext context)
IFeatureProvider
canLayout
in interface IFeatureProvider
canLayout
in class DefaultFeatureProviderWrapper
context
- the context
public IReason canUpdate(IUpdateContext context)
IFeatureProvider
canUpdate
in interface IFeatureProvider
canUpdate
in class DefaultFeatureProviderWrapper
context
- the context
public IAddBendpointFeature getAddBendpointFeature(IAddBendpointContext context)
IFeatureProvider
getAddBendpointFeature
in interface IFeatureProvider
getAddBendpointFeature
in class DefaultFeatureProviderWrapper
context
- the context
IAddBendpointFeature
,
IAddBendpointContext
public IAddFeature getAddFeature(IAddContext context)
IFeatureProvider
getAddFeature
in interface IFeatureProvider
getAddFeature
in class DefaultFeatureProviderWrapper
context
- the context
IAddFeature
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 context
ICustomFeature
private ICustomFeature[] filterAllowedCustomFeatures(ICustomFeature[] features, IContext context)
public IDeleteFeature getDeleteFeature(IDeleteContext context)
IFeatureProvider
getDeleteFeature
in interface IFeatureProvider
getDeleteFeature
in class DefaultFeatureProviderWrapper
context
- the context
IDeleteFeature
public IDirectEditingFeature getDirectEditingFeature(IDirectEditingContext context)
IFeatureProvider
getDirectEditingFeature
in interface IFeatureProvider
getDirectEditingFeature
in class DefaultFeatureProviderWrapper
context
- the context
IDirectEditingFeature
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
on
protected IFeatureChecker getFeatureChecker()
public ILayoutFeature getLayoutFeature(ILayoutContext context)
IFeatureProvider
getLayoutFeature
in interface IFeatureProvider
getLayoutFeature
in class DefaultFeatureProviderWrapper
context
- the context
ILayoutFeature
public IMoveAnchorFeature getMoveAnchorFeature(IMoveAnchorContext context)
IFeatureProvider
FixPointAnchor
).
getMoveAnchorFeature
in interface IFeatureProvider
getMoveAnchorFeature
in class DefaultFeatureProviderWrapper
context
- the context
IMoveAnchorFeature
public IMoveBendpointFeature getMoveBendpointFeature(IMoveBendpointContext context)
IFeatureProvider
FixPointAnchor
).
getMoveBendpointFeature
in interface IFeatureProvider
getMoveBendpointFeature
in class DefaultFeatureProviderWrapper
context
- the context
IMoveBendpointFeature
public IMoveConnectionDecoratorFeature getMoveConnectionDecoratorFeature(IMoveConnectionDecoratorContext context)
IFeatureProvider
getMoveConnectionDecoratorFeature
in interface IFeatureProvider
getMoveConnectionDecoratorFeature
in class DefaultFeatureProviderWrapper
context
- the context
IMoveConnectionDecoratorFeature
public IMoveShapeFeature getMoveShapeFeature(IMoveShapeContext context)
IFeatureProvider
getMoveShapeFeature
in interface IFeatureProvider
getMoveShapeFeature
in class DefaultFeatureProviderWrapper
context
- the context
IMoveShapeFeature
public IPasteFeature getPasteFeature(IPasteContext context)
IFeatureProvider
getPasteFeature
in interface IFeatureProvider
getPasteFeature
in class DefaultFeatureProviderWrapper
context
- the context
ICopyFeature
public IReconnectionFeature getReconnectionFeature(IReconnectionContext context)
IFeatureProvider
getReconnectionFeature
in interface IFeatureProvider
getReconnectionFeature
in class DefaultFeatureProviderWrapper
context
- the context
IReconnectionFeature
public IRemoveBendpointFeature getRemoveBendpointFeature(IRemoveBendpointContext context)
IFeatureProvider
getRemoveBendpointFeature
in interface IFeatureProvider
getRemoveBendpointFeature
in class DefaultFeatureProviderWrapper
context
- the context
IRemoveBendpointFeature
public IRemoveFeature getRemoveFeature(IRemoveContext context)
IFeatureProvider
getRemoveFeature
in interface IFeatureProvider
getRemoveFeature
in class DefaultFeatureProviderWrapper
context
- the context
IRemoveFeature
public IResizeShapeFeature getResizeShapeFeature(IResizeShapeContext context)
IFeatureProvider
getResizeShapeFeature
in interface IFeatureProvider
getResizeShapeFeature
in class DefaultFeatureProviderWrapper
context
- the context
IResizeShapeFeature
public IUpdateFeature getUpdateFeature(IUpdateContext context)
IFeatureProvider
getUpdateFeature
in interface IFeatureProvider
getUpdateFeature
in class DefaultFeatureProviderWrapper
context
- the context
IUpdateFeature
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |