Class ModelModificationHandlerProvider
java.lang.Object
de.cau.cs.kieler.klighd.ui.modifymodel.ModelModificationHandlerProvider
Class is used to get fitting IModifyModelHandlers that can handle the given IWorkbenchPart.
ExtensionPoint will be lazily read when its first called.
- Author:
- ckru
-
Method Summary
Modifier and TypeMethodDescriptiongetFittingHandler(org.eclipse.ui.IWorkbenchPart part) Get a handler that is able to execute methods on the data source of the given IWorkbenchPart.Gets the singleton instance of the ModelModificationHandlerProvider.
-
Method Details
-
getFittingHandler
Get a handler that is able to execute methods on the data source of the given IWorkbenchPart.- Parameters:
part- the IWorkbenchPart the handlers should be compatible with.- Returns:
- the _first_ matching
IModelModificationHandlerfor the passed parameters.
-
getInstance
Gets the singleton instance of the ModelModificationHandlerProvider.- Returns:
- Singleton instance
-