Class AddMethodToExtensionHandler

java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.core.commands.AbstractHandler
com._1c.g5.v8.dt.bsl.ui.extension.handlers.AddMethodToExtensionHandler
All Implemented Interfaces:
org.eclipse.core.commands.IHandler, org.eclipse.core.commands.IHandler2

public class AddMethodToExtensionHandler extends org.eclipse.core.commands.AbstractHandler
Special handler for creating extension method for selected method for chosen extension project
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final Object
    execute(org.eclipse.core.commands.ExecutionEvent event)
     
    void
    execute(org.eclipse.xtext.ui.editor.XtextEditor target)
    Creates extension method for selected method for chosen extension project

    Methods inherited from class org.eclipse.core.commands.AbstractHandler

    addHandlerListener, dispose, fireHandlerChanged, hasListeners, isEnabled, isHandled, removeHandlerListener, setBaseEnabled, setEnabled

    Methods inherited from class org.eclipse.core.commands.common.EventManager

    addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject

    Methods inherited from class java.lang.Object

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

    • AddMethodToExtensionHandler

      public AddMethodToExtensionHandler()
  • Method Details

    • execute

      public final Object execute(org.eclipse.core.commands.ExecutionEvent event) throws org.eclipse.core.commands.ExecutionException
      Throws:
      org.eclipse.core.commands.ExecutionException
    • execute

      public void execute(org.eclipse.xtext.ui.editor.XtextEditor target)
      Creates extension method for selected method for chosen extension project
      Parameters:
      target - actual XtextEditor, can't be null