Package com._1c.g5.v8.dt.bsl.ui.service
Interface IBslModuleContentManagementService
- All Known Implementing Classes:
BslModuleContentManagementService
public interface IBslModuleContentManagementService
Performs BSL module changes
-
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.
-
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;
ParametereditorExtractor
must implement context check forIEditorPart
or methods will be removed from all opened editors.- 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
-