com.togethersoft.openapi.ide.inspector
Interface IdeInspectorManager
- public interface IdeInspectorManager
This manager is used to control the process of inspector creation. It specifies
builder class for the inspector. To access the current
InspectorManager, use InspectorManagerAccess class.
- Author:
- TogetherSoft
- Since: Together 3.1
addInspector
public void addInspector(String id, IdeInspector inspector)
addInspectorBuilder
public void addInspectorBuilder(IdeInspectorBuilder builder)
- Adds new inspector builder to the list of inspectors.
- Parameters:
- builder
IdeInspectorBuilder object to be added - Since:
- Together 4.0
buildInspector
public IdeInspector buildInspector(IdeContext context)
- Builds inspector on the base of the existing inspector for the specified context.
During building, calls buildInspector methods for all existing builders,
so they could add required components to the existing inspector.- Parameters:
- context
IdeContext that stores information about selected element of the model - Returns:
IdeInspector object built with this context- See Also:
- IdeInspectorBuilder.buildInspector
buildInspector
public void buildInspector(IdeInspector inspector, IdeContext context)
- Builds inspector for the specified context.
During building, calls buildInspector methods for all existing builders,
so they could add required components to the existing inspector.- Parameters:
- context
IdeContext that stores information about selected element of the model- inspector
IdeInspector which will be created - Returns:
IdeInspector object built with this context- See Also:
- IdeInspectorBuilder.buildInspector
getInspector
public IdeInspector getInspector(String id)
removeInspector
public void removeInspector(String id)
removeInspectorBuilder
public void removeInspectorBuilder(IdeInspectorBuilder builder)
- Removes given inspector builder from the list of inspectors.
- Parameters:
- builder
IdeInspectorBuilder object to be removed - Since:
- Together 5.0