|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.swt.widgets.Widget | +--org.eclipse.swt.widgets.Control | +--org.eclipse.swt.widgets.Scrollable | +--org.eclipse.swt.widgets.Composite | +--org.eclipse.jface.dialogs.ProgressIndicator
A control for showing progress feedback for a long running operation.
In contrast to the native SWT ProgressBar control
this control supports a so called "ANIMATED" mode
where we don't have to know the total amount of work in advance
and no worked
method needs to be called.
Field Summary |
Fields inherited from class org.eclipse.swt.widgets.Control |
handle |
Constructor Summary | |
ProgressIndicator(Composite parent)
Create a ProgressIndicator as a child under the given parent. |
Method Summary | |
void |
beginAnimatedTask()
Initialize the progress bar to be animated. |
void |
beginTask(int totalWork)
Initialize the progress bar. |
void |
done()
Progress is done. |
void |
sendRemainingWork()
Moves the progress indicator to the end. |
void |
worked(double work)
Moves the progress indicator by the given amount of work units |
Methods inherited from class org.eclipse.swt.widgets.Composite |
checkSubclass, computeSize, getChildren, getLayout, getTabList, layout, layout, setFocus, setLayout, setTabList |
Methods inherited from class org.eclipse.swt.widgets.Scrollable |
computeTrim, getClientArea, getHorizontalBar, getVerticalBar |
Methods inherited from class org.eclipse.swt.widgets.Widget |
addDisposeListener, addListener, checkWidget, dispose, getData, getData, getStyle, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, setData, setData, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ProgressIndicator(Composite parent)
parent
- The widgets parentMethod Detail |
public void beginAnimatedTask()
public void beginTask(int totalWork)
public void done()
public void sendRemainingWork()
public void worked(double work)
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |