|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.emfstore.internal.client.ui.common.MonitoredEMFStoreAction<T> org.eclipse.emf.emfstore.internal.client.ui.controller.AbstractEMFStoreUIController<Void> org.eclipse.emf.emfstore.internal.client.ui.controller.UIShareProjectController
public class UIShareProjectController
UI-related controller class that shares a project and displays a progress bar during the share. When finished a confirmation dialog is shown.
Constructor Summary | |
---|---|
UIShareProjectController(org.eclipse.swt.widgets.Shell shell,
ESLocalProject localProject)
Constructor. |
|
UIShareProjectController(org.eclipse.swt.widgets.Shell shell,
ESUsersession usersession,
ESLocalProject localProject)
Constructor. |
Method Summary | |
---|---|
void |
afterRun()
Called after MonitoredEMFStoreAction.doRun(IProgressMonitor) is finished. |
Void |
doRun(org.eclipse.core.runtime.IProgressMonitor progressMonitor)
The actual behavior that should be performed when the MonitoredEMFStoreAction.execute() is called.Must be implemented by clients. |
Methods inherited from class org.eclipse.emf.emfstore.internal.client.ui.controller.AbstractEMFStoreUIController |
---|
confirm, getShell, setShell |
Methods inherited from class org.eclipse.emf.emfstore.internal.client.ui.common.MonitoredEMFStoreAction |
---|
execute, executeSub, isForked, preRun |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UIShareProjectController(org.eclipse.swt.widgets.Shell shell, ESLocalProject localProject)
shell
- the parent Shell
that is used during the sharelocalProject
- the ESLocalProject
that should be sharedpublic UIShareProjectController(org.eclipse.swt.widgets.Shell shell, ESUsersession usersession, ESLocalProject localProject)
shell
- the parent Shell
that is used during the shareusersession
- the ESUsersession
that is used to share the projectlocalProject
- the ESLocalProject
that should be sharedMethod Detail |
---|
public void afterRun()
MonitoredEMFStoreAction
MonitoredEMFStoreAction.doRun(IProgressMonitor)
is finished. This
method will not be executed via the IProgressService
and is
intended to be overridden by clients. Clients may use this method
in order to perform clean-up tasks or the like.
afterRun
in class MonitoredEMFStoreAction<Void>
public Void doRun(org.eclipse.core.runtime.IProgressMonitor progressMonitor) throws ESException
MonitoredEMFStoreAction.execute()
is called.
doRun
in class MonitoredEMFStoreAction<Void>
progressMonitor
- the IProgressMonitor
that should be used by clients to
update the status of their progress
ESException
- in case an error occursMonitoredEMFStoreAction.doRun(org.eclipse.core.runtime.IProgressMonitor)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |