Class AbstractRelocateApplicationHandler

java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.core.commands.AbstractHandler
com.e1c.g5.dt.applications.ui.handlers.AbstractRelocateApplicationHandler
All Implemented Interfaces:
org.eclipse.core.commands.IHandler, org.eclipse.core.commands.IHandler2
Direct Known Subclasses:
InfobaseRelocateApplicationHandler, ServerRelocateApplicationHandler

public abstract class AbstractRelocateApplicationHandler extends org.eclipse.core.commands.AbstractHandler
Abstract handler for command "com.e1c.g5.dt.applications.ui.commands.relocate" which working with IApplication

Triggers saving of changed editors.

  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    execute(org.eclipse.core.commands.ExecutionEvent event)
     
    protected abstract void
    openDialogOrWizard(org.eclipse.swt.widgets.Shell parentShell, IApplication application)
    Creates and open dialog or wizard for relocating application

    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

    • AbstractRelocateApplicationHandler

      public AbstractRelocateApplicationHandler()
  • Method Details

    • execute

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

      protected abstract void openDialogOrWizard(org.eclipse.swt.widgets.Shell parentShell, IApplication application) throws org.eclipse.core.runtime.CoreException
      Creates and open dialog or wizard for relocating application
      Parameters:
      parentShell - actual parent Shell, cannot be null
      application - current IApplication for relocating, cannot be null
      Throws:
      org.eclipse.core.runtime.CoreException - - thrown if there is a problem creating or openning the wizard