Interface IBslModuleContentManagementService

All Known Implementing Classes:
BslModuleContentManagementService

public interface IBslModuleContentManagementService
Performs BSL module changes
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    removeEventHandlerMethod(org.eclipse.emf.ecore.EObject sourceObject, org.eclipse.emf.ecore.EObject moduleObject, org.eclipse.emf.ecore.EStructuralFeature moduleStructuralFeature, String methodName, Function<org.eclipse.emf.ecore.EObject,String> handlerNameExtractor, Function<org.eclipse.ui.IEditorPart,org.eclipse.xtext.ui.editor.XtextEditor> editorExtractor)
    Remove named procedure or function from module;
    Parameter editorExtractor must implement context check for IEditorPart or methods will be removed from all opened editors.
  • Method Details

    • removeEventHandlerMethod

      void removeEventHandlerMethod(org.eclipse.emf.ecore.EObject sourceObject, org.eclipse.emf.ecore.EObject moduleObject, org.eclipse.emf.ecore.EStructuralFeature moduleStructuralFeature, String methodName, Function<org.eclipse.emf.ecore.EObject,String> handlerNameExtractor, Function<org.eclipse.ui.IEditorPart,org.eclipse.xtext.ui.editor.XtextEditor> editorExtractor)
      Remove named procedure or function from module;
      Parameter editorExtractor must implement context check for IEditorPart or methods will be removed from all opened editors.
      Parameters:
      sourceObject - event source EObject, cannot be null
      moduleObject - EObject with module reference, cannot be null
      moduleStructuralFeature - module EStructuralFeature for current moduleObject, cannot be null
      methodName - - method name to remove from module, cannot be null
      handlerNameExtractor - to extract handler name if exist from EObject, can be null
      editorExtractor - to extract XtextEditor from IEditorPart, cannot be null