Package com.e1c.g5.dt.applications.ui
Interface IApplicationUiSupport
-
public interface IApplicationUiSupportApplication 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 booleanensureStarted(org.eclipse.swt.widgets.Shell shell, IApplication application, org.eclipse.core.runtime.IProgressMonitor monitor)Checks that application is started and shows user desired information.PublishStateensureUpdated(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.voidshowAndUpdateView()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.CoreExceptionChecks that application is started and shows user desired information. Returns whether application is started.- Parameters:
shell- the shell, cannot benullapplication- the application to update, cannot benullmonitor- the progress monitor ornullif 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 benullapplication- the application to update, cannot benullpublishKind- the publish kind, cannot benullcontext- the execution context, cannot benullmonitor- the progress monitor ornullif 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.CoreExceptionShows and updates Applications view.- Throws:
org.eclipse.core.runtime.CoreException- if show or update fails
-
-