Class CompareBslTranslationAbstractHandler

java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.core.commands.AbstractHandler
com.e1c.langtool.v8.dt.internal.bsl.ui.commands.CompareBslTranslationAbstractHandler
All Implemented Interfaces:
org.eclipse.core.commands.IHandler, org.eclipse.core.commands.IHandler2
Direct Known Subclasses:
CompareBslFileTranslationHandler, CompareBslModuleTranslationHandler

public abstract class CompareBslTranslationAbstractHandler extends org.eclipse.core.commands.AbstractHandler
Base class for side-by-side BSL editor command implementation.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected abstract void
    doPreprocessEvent(org.eclipse.core.commands.ExecutionEvent event)
     
    protected abstract void
    doProcessItem(org.eclipse.ui.IWorkbenchWindow workbenchWindow, Object item)
     
    execute(org.eclipse.core.commands.ExecutionEvent event)
     
    protected void
    openSideBySideEditor(org.eclipse.ui.IWorkbenchWindow workbenchWindow, org.eclipse.emf.ecore.EObject object, ISelection selection)
     

    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
  • Field Details

  • Constructor Details

    • CompareBslTranslationAbstractHandler

      public CompareBslTranslationAbstractHandler()
  • Method Details

    • execute

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

      protected abstract void doPreprocessEvent(org.eclipse.core.commands.ExecutionEvent event)
    • doProcessItem

      protected abstract void doProcessItem(org.eclipse.ui.IWorkbenchWindow workbenchWindow, Object item)
    • openSideBySideEditor

      protected void openSideBySideEditor(org.eclipse.ui.IWorkbenchWindow workbenchWindow, org.eclipse.emf.ecore.EObject object, ISelection selection)