Class InfobaseRelocateApplicationHandler
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.core.commands.AbstractHandler
com.e1c.g5.dt.applications.ui.handlers.AbstractRelocateApplicationHandler
com.e1c.g5.dt.internal.applications.infobases.ui.actions.InfobaseRelocateApplicationHandler
- All Implemented Interfaces:
org.eclipse.core.commands.IHandler,org.eclipse.core.commands.IHandler2
Handler for command "com.e1c.g5.dt.applications.ui.commands.relocate" which working with
IInfobaseApplication
Triggers saving of changed editors before changing application location.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidopenDialogOrWizard(org.eclipse.swt.widgets.Shell parentShell, IApplication application) Creates and open dialog or wizard for relocating applicationMethods inherited from class com.e1c.g5.dt.applications.ui.handlers.AbstractRelocateApplicationHandler
executeMethods inherited from class org.eclipse.core.commands.AbstractHandler
addHandlerListener, dispose, fireHandlerChanged, hasListeners, isEnabled, isHandled, removeHandlerListener, setBaseEnabled, setEnabledMethods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
-
Constructor Details
-
InfobaseRelocateApplicationHandler
public InfobaseRelocateApplicationHandler()
-
-
Method Details
-
openDialogOrWizard
protected void openDialogOrWizard(org.eclipse.swt.widgets.Shell parentShell, IApplication application) throws org.eclipse.core.runtime.CoreException Description copied from class:AbstractRelocateApplicationHandlerCreates and open dialog or wizard for relocating application- Specified by:
openDialogOrWizardin classAbstractRelocateApplicationHandler- Parameters:
parentShell- actual parentShell, cannot benullapplication- currentIApplicationfor relocating, cannot benull- Throws:
org.eclipse.core.runtime.CoreException- - thrown if there is a problem creating or openning the wizard
-