Package org.eclipse.graphiti.features
Class ConfigurableFeatureProviderWrapper
java.lang.Object
org.eclipse.graphiti.features.DefaultFeatureProviderWrapper
org.eclipse.graphiti.features.ConfigurableFeatureProviderWrapper
- All Implemented Interfaces:
- IFeatureProvider,- IMappingProvider
The Class ConfigurableFeatureProviderWrapper.
- 
Constructor SummaryConstructorsConstructorDescriptionConfigurableFeatureProviderWrapper(IFeatureProvider innerFeatureProvider) Creates a newConfigurableFeatureProviderWrapper.
- 
Method SummaryModifier and TypeMethodDescriptioncanAdd(IAddContext context) Can add.canLayout(ILayoutContext context) Checks if an layout process can be processed.canUpdate(IUpdateContext context) Checks if an update process can be processed.Add bendpoint features handle the user's requst to have more connection bendpoints.getAddFeature(IAddContext context) Add features create graphical representations of domain model objects.Gets the create connection features.Provides all create features.getCustomFeatures(ICustomContext context) Custom features can do anything.getDeleteFeature(IDeleteContext context) Delete features remove the grapical representations of domain model objects as well as the domain model objects itself.Direct editing features handle direct editing functionality (including drop down lists and text completion).IFeature[]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 IFeatureCheckergetLayoutFeature(ILayoutContext context) Layout features do the layouting work (sizes and dimensions) inside (and/or) outside a pictogram element.getMoveAnchorFeature(IMoveAnchorContext context) Move features respond to user's move requests.Move features respond to user's move requests.Move features respond to user's move requests.getMoveShapeFeature(IMoveShapeContext context) Move shape features respond to user's move requests.getPasteFeature(IPasteContext context) Paste features bring clipboard content to the diagram.Reconnection features handle the change of a connection's start or end anchor.Add bendpoint features handle the user's requst to remove connection bendpoints.getRemoveFeature(IRemoveContext context) Remove features remove the grapical representations of domain model objects.getResizeShapeFeature(IResizeShapeContext context) Resize shape features respond to user's resize requests.getUpdateFeature(IUpdateContext context) Update features do the synchronization work and transport data from domain model to pictograms model elements.Methods inherited from class org.eclipse.graphiti.features.DefaultFeatureProviderWrapperaddIfPossible, dispose, getAllBusinessObjectsForPictogramElement, getAllPictogramElementsForBusinessObject, getBusinessObjectForPictogramElement, getCopyFeature, getDiagramTypeProvider, getDirectEditingInfo, getInnerFeatureProvider, getPictogramElementForBusinessObject, getPrintFeature, getSaveImageFeature, hasPictogramElementForBusinessObject, layoutIfPossible, link, link, updateIfPossible, updateIfPossibleAndNeeded, updateNeeded
- 
Constructor Details- 
ConfigurableFeatureProviderWrapperCreates a newConfigurableFeatureProviderWrapper.- Parameters:
- innerFeatureProvider- the inner feature provider
 
 
- 
- 
Method Details- 
canAddDescription copied from interface:IFeatureProviderCan add.- Specified by:
- canAddin interface- IFeatureProvider
- Overrides:
- canAddin class- DefaultFeatureProviderWrapper
- Parameters:
- context- the context
- Returns:
- status and reason
 
- 
canLayoutDescription copied from interface:IFeatureProviderChecks if an layout process can be processed. Usually implementers have to check the context.- Specified by:
- canLayoutin interface- IFeatureProvider
- Overrides:
- canLayoutin class- DefaultFeatureProviderWrapper
- Parameters:
- context- the context
- Returns:
- status and reason
 
- 
canUpdateDescription copied from interface:IFeatureProviderChecks if an update process can be processed. Usually implementers have to check the context.- Specified by:
- canUpdatein interface- IFeatureProvider
- Overrides:
- canUpdatein class- DefaultFeatureProviderWrapper
- Parameters:
- context- the context
- Returns:
- status and reason
 
- 
getAddBendpointFeatureDescription copied from interface:IFeatureProviderAdd bendpoint features handle the user's requst to have more connection bendpoints.- Specified by:
- getAddBendpointFeaturein interface- IFeatureProvider
- Overrides:
- getAddBendpointFeaturein class- DefaultFeatureProviderWrapper
- Parameters:
- context- the context
- Returns:
- add feature according to the given context
- See Also:
 
- 
getAddFeatureDescription copied from interface:IFeatureProviderAdd features create graphical representations of domain model objects.- Specified by:
- getAddFeaturein interface- IFeatureProvider
- Overrides:
- getAddFeaturein class- DefaultFeatureProviderWrapper
- Parameters:
- context- the context
- Returns:
- add feature according to the given context
- See Also:
 
- 
getCreateConnectionFeaturesDescription copied from interface:IFeatureProviderGets the create connection features.- Specified by:
- getCreateConnectionFeaturesin interface- IFeatureProvider
- Overrides:
- getCreateConnectionFeaturesin class- DefaultFeatureProviderWrapper
- Returns:
- all features to create connections
- See Also:
 
- 
getCreateFeaturesDescription copied from interface:IFeatureProviderProvides all create features. In the graphics framework they will be visualized in an editor as create tools.- Specified by:
- getCreateFeaturesin interface- IFeatureProvider
- Overrides:
- getCreateFeaturesin class- DefaultFeatureProviderWrapper
- Returns:
- all create features
- See Also:
 
- 
getCustomFeaturesDescription copied from interface:IFeatureProviderCustom features can do anything. Their functionality can not be planned by the graphics framework (team).- Specified by:
- getCustomFeaturesin interface- IFeatureProvider
- Overrides:
- getCustomFeaturesin class- DefaultFeatureProviderWrapper
- Parameters:
- context- the context
- Returns:
- custom feature according to the given context
- See Also:
 
- 
getDeleteFeatureDescription copied from interface:IFeatureProviderDelete features remove the grapical representations of domain model objects as well as the domain model objects itself.- Specified by:
- getDeleteFeaturein interface- IFeatureProvider
- Overrides:
- getDeleteFeaturein class- DefaultFeatureProviderWrapper
- Parameters:
- context- the context
- Returns:
- delete feature according to the given context
- See Also:
 
- 
getDirectEditingFeatureDescription copied from interface:IFeatureProviderDirect editing features handle direct editing functionality (including drop down lists and text completion).- Specified by:
- getDirectEditingFeaturein interface- IFeatureProvider
- Overrides:
- getDirectEditingFeaturein class- DefaultFeatureProviderWrapper
- Parameters:
- context- the context
- Returns:
- direct editing feature according to the given context
- See Also:
 
- 
getDragAndDropFeaturesDescription copied from interface:IFeatureProviderif 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. By providing one feature this feature will be executed directly on drop. By providing 2 or more features a popup menu will let the user select the feature.- Specified by:
- getDragAndDropFeaturesin interface- IFeatureProvider
- Overrides:
- getDragAndDropFeaturesin class- DefaultFeatureProviderWrapper
- Parameters:
- context- - the pictogram element the drag and drop should be initiated on
- Returns:
- an array of features or null.
 
- 
getFeatureChecker
- 
getLayoutFeatureDescription copied from interface:IFeatureProviderLayout features do the layouting work (sizes and dimensions) inside (and/or) outside a pictogram element.- Specified by:
- getLayoutFeaturein interface- IFeatureProvider
- Overrides:
- getLayoutFeaturein class- DefaultFeatureProviderWrapper
- Parameters:
- context- the context
- Returns:
- layout feature according to the given context
- See Also:
 
- 
getMoveAnchorFeatureDescription copied from interface:IFeatureProviderMove features respond to user's move requests. This one is especially for fix point anchors (FixPointAnchor).- Specified by:
- getMoveAnchorFeaturein interface- IFeatureProvider
- Overrides:
- getMoveAnchorFeaturein class- DefaultFeatureProviderWrapper
- Parameters:
- context- the context
- Returns:
- move feature according to the given context
- See Also:
 
- 
getMoveBendpointFeatureDescription copied from interface:IFeatureProviderMove features respond to user's move requests. This one is especially for fix point anchors (FixPointAnchor).- Specified by:
- getMoveBendpointFeaturein interface- IFeatureProvider
- Overrides:
- getMoveBendpointFeaturein class- DefaultFeatureProviderWrapper
- Parameters:
- context- the context
- Returns:
- move feature according to the given context
- See Also:
 
- 
getMoveConnectionDecoratorFeaturepublic IMoveConnectionDecoratorFeature getMoveConnectionDecoratorFeature(IMoveConnectionDecoratorContext context) Description copied from interface:IFeatureProviderMove features respond to user's move requests.- Specified by:
- getMoveConnectionDecoratorFeaturein interface- IFeatureProvider
- Overrides:
- getMoveConnectionDecoratorFeaturein class- DefaultFeatureProviderWrapper
- Parameters:
- context- the context
- Returns:
- move feature according to the given context
- See Also:
 
- 
getMoveShapeFeatureDescription copied from interface:IFeatureProviderMove shape features respond to user's move requests.- Specified by:
- getMoveShapeFeaturein interface- IFeatureProvider
- Overrides:
- getMoveShapeFeaturein class- DefaultFeatureProviderWrapper
- Parameters:
- context- the context
- Returns:
- move feature according to the given context
- See Also:
 
- 
getPasteFeatureDescription copied from interface:IFeatureProviderPaste features bring clipboard content to the diagram.- Specified by:
- getPasteFeaturein interface- IFeatureProvider
- Overrides:
- getPasteFeaturein class- DefaultFeatureProviderWrapper
- Parameters:
- context- the context
- Returns:
- copy feature according to the given context
- See Also:
 
- 
getReconnectionFeatureDescription copied from interface:IFeatureProviderReconnection features handle the change of a connection's start or end anchor.- Specified by:
- getReconnectionFeaturein interface- IFeatureProvider
- Overrides:
- getReconnectionFeaturein class- DefaultFeatureProviderWrapper
- Parameters:
- context- the context
- Returns:
- reconnection feature according to the given context
- See Also:
 
- 
getRemoveBendpointFeatureDescription copied from interface:IFeatureProviderAdd bendpoint features handle the user's requst to remove connection bendpoints.- Specified by:
- getRemoveBendpointFeaturein interface- IFeatureProvider
- Overrides:
- getRemoveBendpointFeaturein class- DefaultFeatureProviderWrapper
- Parameters:
- context- the context
- Returns:
- remove feature according to the given context
- See Also:
 
- 
getRemoveFeatureDescription copied from interface:IFeatureProviderRemove features remove the grapical representations of domain model objects.- Specified by:
- getRemoveFeaturein interface- IFeatureProvider
- Overrides:
- getRemoveFeaturein class- DefaultFeatureProviderWrapper
- Parameters:
- context- the context
- Returns:
- remove feature according to the given context
- See Also:
 
- 
getResizeShapeFeatureDescription copied from interface:IFeatureProviderResize shape features respond to user's resize requests.- Specified by:
- getResizeShapeFeaturein interface- IFeatureProvider
- Overrides:
- getResizeShapeFeaturein class- DefaultFeatureProviderWrapper
- Parameters:
- context- the context
- Returns:
- resize feature according to the given context
- See Also:
 
- 
getUpdateFeatureDescription copied from interface:IFeatureProviderUpdate features do the synchronization work and transport data from domain model to pictograms model elements.- Specified by:
- getUpdateFeaturein interface- IFeatureProvider
- Overrides:
- getUpdateFeaturein class- DefaultFeatureProviderWrapper
- Parameters:
- context- the context
- Returns:
- update feature according to the given context
- See Also:
 
 
-