public interface IConfigurationProvider extends IFeatureProviderHolder
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.
Modifier and Type | Method and Description |
---|---|
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.
|
getFeatureProvider
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
.