|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.jface.action.ContributionManager
org.eclipse.jface.action.StatusLineManager
net.sourceforge.java.feednread.frontend.components.statusbar.ExtendedStatusLineManager
Extends the basic JFace StatusLineManager to support an
extended StatusLine ui component.
| Field Summary | |
private StatusLine |
statusLine
The used status line component |
| Fields inherited from class org.eclipse.jface.action.StatusLineManager |
BEGIN_GROUP, END_GROUP, MIDDLE_GROUP |
| Fields inherited from class org.eclipse.jface.action.ContributionManager |
|
| Constructor Summary | |
ExtendedStatusLineManager()
Creates a new ExtendedStatusLineManager instance.
|
|
| Method Summary | |
Control |
createControl(Composite parent,
int style)
Creates and returns this manager's status line control. |
void |
dispose()
Disposes of this ExtendedStatusLineManager and frees all
allocated SWT resources. |
Control |
getControl()
Returns the control used by this ExtendedStatusLineManager.
|
IProgressMonitor |
getProgressMonitor()
Gets the IProgressMonitor to monitor progress to the
ProgressBar embedded in the managed
StatusLine.
|
void |
setDate(Date date)
Sets the Date to be displayed on the status line.
|
void |
setErrorMessage(Image image,
String errorMessage)
Sets the specified error image and message to be displayed on the status line. |
void |
setErrorMessage(String errorMessage)
Sets the specified error message to be displayed on the status line. |
void |
setMessage(Image image,
String message)
Sets the specified image and message to be displayed on the status line. |
void |
setMessage(String message)
Sets the specified message to be displayed on the status line. |
| Methods inherited from class org.eclipse.jface.action.StatusLineManager |
createControl, getProgressMonitorDelegate, isCancelEnabled, setCancelEnabled, update |
| 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 |
private StatusLine statusLine
The used status line component
| Constructor Detail |
public ExtendedStatusLineManager()
Creates a new ExtendedStatusLineManager instance.
| Method Detail |
public void dispose()
Disposes of this ExtendedStatusLineManager and frees all
allocated SWT resources. Notifies all contribution items of the dispose.
Note that this method does not clean up references between this
ExtendedStatusLineManager and its associated contribution
items. Use removeAll for that purpose.
public Control createControl(Composite parent,
int style)
Creates and returns this manager's status line control. Does not create a new control if one already exists.
parent - the parent controlstyle - the style for the control
public Control getControl()
Returns the control used by this ExtendedStatusLineManager.
public void setMessage(String message)
Sets the specified message to be displayed on the status line.
message - the message to be displayed
public void setMessage(Image image,
String message)
Sets the specified image and message to be displayed on the status line.
image - the image to be displayedmessage - the message to be displayedpublic void setErrorMessage(String errorMessage)
Sets the specified error message to be displayed on the status line.
errorMessage - the error message to be displayed
public void setErrorMessage(Image image,
String errorMessage)
Sets the specified error image and message to be displayed on the status line.
image - the error image to be displayederrorMessage - the error message to be displayedpublic void setDate(Date date)
Sets the Date to be displayed on the status line.
date - the date to be displayedpublic IProgressMonitor getProgressMonitor()
Gets the IProgressMonitor to monitor progress to the
ProgressBar embedded in the managed
StatusLine.
IProgressMonitor
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||