|
Eclipse Platform Release 3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.jface.action.ContributionManager org.eclipse.jface.action.StatusLineManager
A status line manager is a contribution manager which realizes itself and its items in a status line control.
This class may be instantiated; it may also be subclassed if a more sophisticated layout is required.
Field Summary | |
static String | BEGIN_GROUP
Global group marker used to control positioning of contributions |
static String | END_GROUP
Global group marker used to control positioning of contributions |
static String | MIDDLE_GROUP
Global group marker used to control positioning of contributions |
Constructor Summary | |
StatusLineManager()
Creates a new status line manager. |
Method Summary | |
Control | createControl(Composite parent)
Creates and returns this manager's status line control. |
Control | createControl(Composite parent,
int style)
Creates and returns this manager's status line control. |
void | dispose()
Disposes of this status line manager and frees all allocated SWT resources. |
Control | getControl()
Returns the control used by this StatusLineManager. |
IProgressMonitor | getProgressMonitor()
Returns a progress monitor which reports progress in the status line. |
protected IProgressMonitor | getProgressMonitorDelegate()
Returns the progress monitor delegate. |
boolean | isCancelEnabled()
Returns whether the cancel button on the status line's progress monitor is enabled. |
void | setCancelEnabled(boolean enabled)
Sets whether the cancel button on the status line's progress monitor is enabled. |
void | setErrorMessage(Image image,
String message)
Sets the image and error message to be displayed on the status line. |
void | setErrorMessage(String message)
Sets the error message text to be displayed on the status line. |
void | setMessage(Image image,
String message)
Sets the image and message to be displayed on the status line. |
void | setMessage(String message)
Sets the message text to be displayed on the status line. |
void | update(boolean force)
Updates this manager's underlying widget(s) with any changes which have been made to it or its items. |
Methods inherited from class org.eclipse.jface.action.ContributionManager |
add, add, allowItem, appendToGroup, appendToGroup, dumpStatistics, find, getItems, getOverrides, hasDynamicItems, indexOf, indexOf, insert, insertAfter, insertAfter, insertBefore, insertBefore, internalSetItems, isDirty, isEmpty, itemAdded, itemRemoved, markDirty, prependToGroup, prependToGroup, remove, remove, removeAll, replaceItem, setDirty, setOverrides |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.jface.action.IContributionManager |
add, add, appendToGroup, appendToGroup, find, getItems, getOverrides, insertAfter, insertAfter, insertBefore, insertBefore, isDirty, isEmpty, markDirty, prependToGroup, prependToGroup, remove, remove, removeAll |
Field Detail |
public static final String BEGIN_GROUP
public static final String MIDDLE_GROUP
public static final String END_GROUP
Constructor Detail |
public StatusLineManager()
Method Detail |
public Control createControl(Composite parent)
Note: Since 3.0 the return type is Control. Before 3.0, the return type was the package-private class StatusLine.
public Control createControl(Composite parent, int style)
public void dispose()
public Control getControl()
protected IProgressMonitor getProgressMonitorDelegate()
public IProgressMonitor getProgressMonitor()
public boolean isCancelEnabled()
public void setCancelEnabled(boolean enabled)
public void setErrorMessage(String message)
An error message overrides the current message until the error message is cleared (set to null).
public void setErrorMessage(Image image, String message)
An error message overrides the current message until the error message is cleared (set to null).
public void setMessage(String message)
This method replaces the current message but does not affect the error message. That is, the error message, if set, will continue to be displayed until it is cleared (set to null).
public void setMessage(Image image, String message)
This method replaces the current message but does not affect the error message. That is, the error message, if set, will continue to be displayed until it is cleared (set to null).
public void update(boolean force)
|
Eclipse Platform Release 3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.