Package com.e1c.g5.dt.applications.ui
Interface IApplicationUiSupport
-
public interface IApplicationUiSupport
Application UI support that allows clients to perform common UI operations.- Restriction:
- This interface is not intended to be extended by clients.
- Restriction:
- This interface is not intended to be implemented by clients.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
ensureStarted(org.eclipse.swt.widgets.Shell shell, IApplication application, org.eclipse.core.runtime.IProgressMonitor monitor)
Checks that application is started and shows user desired information.PublishState
ensureUpdated(org.eclipse.swt.widgets.Shell shell, IApplication application, PublishKind publishKind, ExecutionContext context, org.eclipse.core.runtime.IProgressMonitor monitor)
Checks application publish state and publishes application if needs.void
showAndUpdateView()
Shows and updates Applications view.
-
-
-
Method Detail
-
ensureStarted
boolean ensureStarted(org.eclipse.swt.widgets.Shell shell, IApplication application, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
Checks that application is started and shows user desired information. Returns whether application is started.- Parameters:
shell
- the shell, cannot benull
application
- the application to update, cannot benull
monitor
- the progress monitor ornull
if not needed- Returns:
- whether application is started
- Throws:
org.eclipse.core.runtime.CoreException
- if check fails
-
ensureUpdated
PublishState ensureUpdated(org.eclipse.swt.widgets.Shell shell, IApplication application, PublishKind publishKind, ExecutionContext context, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
Checks application publish state and publishes application if needs. Returns the new publish state after user interaction.- Parameters:
shell
- the shell, cannot benull
application
- the application to update, cannot benull
publishKind
- the publish kind, cannot benull
context
- the execution context, cannot benull
monitor
- the progress monitor ornull
if not needed- Returns:
- the application publish state, cannot be
null
- Throws:
org.eclipse.core.runtime.CoreException
- if check or update fails
-
showAndUpdateView
void showAndUpdateView() throws org.eclipse.core.runtime.CoreException
Shows and updates Applications view.- Throws:
org.eclipse.core.runtime.CoreException
- if show or update fails
-
-