|
||||||||||
| 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 provider| Method Detail |
|---|
public IReason canAdd(IAddContext context)
IFeatureProvider
canAdd in interface IFeatureProvidercanAdd in class DefaultFeatureProviderWrappercontext - the context
public IReason canLayout(ILayoutContext context)
IFeatureProvider
canLayout in interface IFeatureProvidercanLayout in class DefaultFeatureProviderWrappercontext - the context
public IReason canUpdate(IUpdateContext context)
IFeatureProvider
canUpdate in interface IFeatureProvidercanUpdate in class DefaultFeatureProviderWrappercontext - the context
public IAddBendpointFeature getAddBendpointFeature(IAddBendpointContext context)
IFeatureProvider
getAddBendpointFeature in interface IFeatureProvidergetAddBendpointFeature in class DefaultFeatureProviderWrappercontext - the context
IAddBendpointFeature,
IAddBendpointContextpublic IAddFeature getAddFeature(IAddContext context)
IFeatureProvider
getAddFeature in interface IFeatureProvidergetAddFeature in class DefaultFeatureProviderWrappercontext - the context
IAddFeaturepublic ICreateConnectionFeature[] getCreateConnectionFeatures()
IFeatureProvider
getCreateConnectionFeatures in interface IFeatureProvidergetCreateConnectionFeatures in class DefaultFeatureProviderWrapperICreateConnectionFeaturepublic ICreateFeature[] getCreateFeatures()
IFeatureProvider
getCreateFeatures in interface IFeatureProvidergetCreateFeatures in class DefaultFeatureProviderWrapperICreateFeaturepublic ICustomFeature[] getCustomFeatures(ICustomContext context)
IFeatureProvider
getCustomFeatures in interface IFeatureProvidergetCustomFeatures in class DefaultFeatureProviderWrappercontext - the context
ICustomFeature
private ICustomFeature[] filterAllowedCustomFeatures(ICustomFeature[] features,
IContext context)
public IDeleteFeature getDeleteFeature(IDeleteContext context)
IFeatureProvider
getDeleteFeature in interface IFeatureProvidergetDeleteFeature in class DefaultFeatureProviderWrappercontext - the context
IDeleteFeaturepublic IDirectEditingFeature getDirectEditingFeature(IDirectEditingContext context)
IFeatureProvider
getDirectEditingFeature in interface IFeatureProvidergetDirectEditingFeature in class DefaultFeatureProviderWrappercontext - the context
IDirectEditingFeaturepublic IFeature[] getDragAndDropFeatures(IPictogramElementContext context)
IFeatureProvider
getDragAndDropFeatures in interface IFeatureProvidergetDragAndDropFeatures in class DefaultFeatureProviderWrappercontext - - the pictogram element the drag and drop should be initiated
on
protected IFeatureChecker getFeatureChecker()
public ILayoutFeature getLayoutFeature(ILayoutContext context)
IFeatureProvider
getLayoutFeature in interface IFeatureProvidergetLayoutFeature in class DefaultFeatureProviderWrappercontext - the context
ILayoutFeaturepublic IMoveAnchorFeature getMoveAnchorFeature(IMoveAnchorContext context)
IFeatureProviderFixPointAnchor).
getMoveAnchorFeature in interface IFeatureProvidergetMoveAnchorFeature in class DefaultFeatureProviderWrappercontext - the context
IMoveAnchorFeaturepublic IMoveBendpointFeature getMoveBendpointFeature(IMoveBendpointContext context)
IFeatureProviderFixPointAnchor).
getMoveBendpointFeature in interface IFeatureProvidergetMoveBendpointFeature in class DefaultFeatureProviderWrappercontext - the context
IMoveBendpointFeaturepublic IMoveConnectionDecoratorFeature getMoveConnectionDecoratorFeature(IMoveConnectionDecoratorContext context)
IFeatureProvider
getMoveConnectionDecoratorFeature in interface IFeatureProvidergetMoveConnectionDecoratorFeature in class DefaultFeatureProviderWrappercontext - the context
IMoveConnectionDecoratorFeaturepublic IMoveShapeFeature getMoveShapeFeature(IMoveShapeContext context)
IFeatureProvider
getMoveShapeFeature in interface IFeatureProvidergetMoveShapeFeature in class DefaultFeatureProviderWrappercontext - the context
IMoveShapeFeaturepublic IPasteFeature getPasteFeature(IPasteContext context)
IFeatureProvider
getPasteFeature in interface IFeatureProvidergetPasteFeature in class DefaultFeatureProviderWrappercontext - the context
ICopyFeaturepublic IReconnectionFeature getReconnectionFeature(IReconnectionContext context)
IFeatureProvider
getReconnectionFeature in interface IFeatureProvidergetReconnectionFeature in class DefaultFeatureProviderWrappercontext - the context
IReconnectionFeaturepublic IRemoveBendpointFeature getRemoveBendpointFeature(IRemoveBendpointContext context)
IFeatureProvider
getRemoveBendpointFeature in interface IFeatureProvidergetRemoveBendpointFeature in class DefaultFeatureProviderWrappercontext - the context
IRemoveBendpointFeaturepublic IRemoveFeature getRemoveFeature(IRemoveContext context)
IFeatureProvider
getRemoveFeature in interface IFeatureProvidergetRemoveFeature in class DefaultFeatureProviderWrappercontext - the context
IRemoveFeaturepublic IResizeShapeFeature getResizeShapeFeature(IResizeShapeContext context)
IFeatureProvider
getResizeShapeFeature in interface IFeatureProvidergetResizeShapeFeature in class DefaultFeatureProviderWrappercontext - the context
IResizeShapeFeaturepublic IUpdateFeature getUpdateFeature(IUpdateContext context)
IFeatureProvider
getUpdateFeature in interface IFeatureProvidergetUpdateFeature in class DefaultFeatureProviderWrappercontext - the context
IUpdateFeature
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||