Class BslModuleContentManagementService

java.lang.Object
com._1c.g5.v8.dt.internal.bsl.ui.service.BslModuleContentManagementService
All Implemented Interfaces:
IBslModuleContentManagementService

public class BslModuleContentManagementService extends Object implements IBslModuleContentManagementService
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • 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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BslModuleContentManagementService

      public BslModuleContentManagementService()
  • Method Details

    • removeEventHandlerMethod

      public 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)
      Description copied from interface: IBslModuleContentManagementService
      Remove named procedure or function from module;
      Parameter editorExtractor must implement context check for IEditorPart or methods will be removed from all opened editors.
      Specified by:
      removeEventHandlerMethod in interface IBslModuleContentManagementService
      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