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 TypeMethodDescriptionvoidremoveEventHandlerMethod(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;
ParametereditorExtractormust implement context check forIEditorPartor 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;
ParametereditorExtractormust implement context check forIEditorPartor methods will be removed from all opened editors.- Parameters:
sourceObject- event sourceEObject, cannot benullmoduleObject-EObjectwith module reference, cannot benullmoduleStructuralFeature- moduleEStructuralFeaturefor current moduleObject, cannot benullmethodName- - method name to remove from module, cannot benullhandlerNameExtractor- to extract handler name if exist fromEObject, can benulleditorExtractor- to extractXtextEditorfromIEditorPart, cannot benull
-