Class ModelModificationHandlerProvider

java.lang.Object
de.cau.cs.kieler.klighd.ui.modifymodel.ModelModificationHandlerProvider

public final class ModelModificationHandlerProvider extends Object
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 Details

    • getFittingHandler

      public IModelModificationHandler getFittingHandler(org.eclipse.ui.IWorkbenchPart part)
      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 IModelModificationHandler for the passed parameters.
    • getInstance

      public static ModelModificationHandlerProvider getInstance()
      Gets the singleton instance of the ModelModificationHandlerProvider.
      Returns:
      Singleton instance