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 -
Method Summary
Modifier and TypeMethodDescriptionexecute
(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 applicationMethods 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
-
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 parentShell
, cannot benull
application
- currentIApplication
for relocating, cannot benull
- Throws:
org.eclipse.core.runtime.CoreException
- - thrown if there is a problem creating or openning the wizard
-