|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IConfigurationProvider
This interface is the wrapping container around the providers and Eclipse parts involved with an editor. So by having access to this interface, it is possible to retrieve every information which might be necessary to build on this framework.
All providers and factories have access to the IConfigurationProvider, to which they belong (backward-pointer). This is necessary, because the providers/factories are sometimes dependent on each other. However, this prohibits the usage of the same instance of a provider/factory in different IConfigurationProviders.
Method Summary | |
---|---|
void |
dispose()
Disposes this object and frees all resources. |
Diagram |
getDiagram()
Returns the Diagram-Model to display. |
DiagramBehavior |
getDiagramBehavior()
Returns the associated behavior object. |
IDiagramContainerUI |
getDiagramContainer()
Gets the diagram container. |
IDiagramTypeProvider |
getDiagramTypeProvider()
Returns the diagram type provider. |
IWorkbenchPart |
getWorkbenchPart()
Returns the workbench-part of this configuration-provider. |
boolean |
isDisposed()
Returns true, if this object is already disposed. |
void |
setWorkbenchPart(IWorkbenchPart workbenchPart)
Sets the workbench-part of this configuration-provider. |
Methods inherited from interface org.eclipse.graphiti.features.IFeatureProviderHolder |
---|
getFeatureProvider |
Method Detail |
---|
void dispose()
boolean isDisposed()
Diagram getDiagram()
void setWorkbenchPart(IWorkbenchPart workbenchPart)
However, it must not be assumed, that this method is ever called. So the workbench-part might always be null. It is just an offer, to support possible further functionality.
workbenchPart
- The workbench-part to set.IWorkbenchPart getWorkbenchPart()
IDiagramTypeProvider getDiagramTypeProvider()
IDiagramContainerUI getDiagramContainer()
DiagramBehavior getDiagramBehavior()
DiagramBehavior
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |