Package com._1c.g5.v8.dt.bm.index.emf
Interface IBmEmfIndexManager
-
public interface IBmEmfIndexManager
Unified EMF index manager for all active projects in the workspace.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IBmEmfIndexProvider
addEmfIndexProvider(IBmModel model, org.eclipse.core.resources.IProject project)
Add a new index provider for the given BM model and project.IBmEmfIndexProvider
getEmfIndexProvider(IBmModel model)
Gets a specific EMF index provider bound to the provided BM model.IBmEmfIndexProvider
getEmfIndexProvider(org.eclipse.core.resources.IProject project)
Gets a specific EMF index provider bound to the provided project.List<IBmEmfIndexProvider>
getRegisteredProviders()
Gets the list of all registered EMF index providers.org.eclipse.xtext.ui.notification.IStateChangeEventBroker
getStateChangeEventBroker()
Gets actualIStateChangeEventBroker
void
removeEmfIndexProvider(IBmModel model, org.eclipse.core.resources.IProject project)
Removes an existing provider from the manager control.
-
-
-
Method Detail
-
addEmfIndexProvider
IBmEmfIndexProvider addEmfIndexProvider(IBmModel model, org.eclipse.core.resources.IProject project)
Add a new index provider for the given BM model and project.- Parameters:
model
- The model to add provider to. May not benull
project
- The project to associate provider with. May benull
- Returns:
- The newly created provider instance. May not be
null
-
getEmfIndexProvider
IBmEmfIndexProvider getEmfIndexProvider(org.eclipse.core.resources.IProject project)
Gets a specific EMF index provider bound to the provided project.- Parameters:
project
- The project to get provider for.- Returns:
- The BM Emf Index provider.
-
getEmfIndexProvider
IBmEmfIndexProvider getEmfIndexProvider(IBmModel model)
Gets a specific EMF index provider bound to the provided BM model.- Parameters:
project
- The model to get provider for.- Returns:
- The BM Emf Index provider.
-
getRegisteredProviders
List<IBmEmfIndexProvider> getRegisteredProviders()
Gets the list of all registered EMF index providers.- Returns:
- The list of EMF index providers being registered at the moment.
-
removeEmfIndexProvider
void removeEmfIndexProvider(IBmModel model, org.eclipse.core.resources.IProject project)
Removes an existing provider from the manager control.- Parameters:
model
- The model to remove provider for.project
- The project this provider is bound to. May benull
.
-
getStateChangeEventBroker
org.eclipse.xtext.ui.notification.IStateChangeEventBroker getStateChangeEventBroker()
Gets actualIStateChangeEventBroker
- Returns:
- actual
IStateChangeEventBroker
, ornull
ifIStateChangeEventBroker
wasn't initialized
-
-