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
Implementation of
IBslModuleContentManagementService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
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;
ParametereditorExtractor
must implement context check forIEditorPart
or methods will be removed from all opened editors.
-
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;
ParametereditorExtractor
must implement context check forIEditorPart
or methods will be removed from all opened editors.- Specified by:
removeEventHandlerMethod
in interfaceIBslModuleContentManagementService
- Parameters:
sourceObject
- event sourceEObject
, cannot benull
moduleObject
-EObject
with module reference, cannot benull
moduleStructuralFeature
- moduleEStructuralFeature
for current moduleObject, cannot benull
methodName
- - method name to remove from module, cannot benull
handlerNameExtractor
- to extract handler name if exist fromEObject
, can benull
editorExtractor
- to extractXtextEditor
fromIEditorPart
, cannot benull
-