|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jface.action.ContributionItem
org.eclipse.jface.action.ControlContribution
org.eclipse.actf.ui.util.ProgressContribution
public class ProgressContribution
A contribution item implementation for adding ProgressBar commonly used in ACTF.
ControlContribution,
ProgressBar| Field Summary | |
|---|---|
static String |
PROGRESS_CONTRIBUTION_ID
Progress Contribution ID to share the contribution within ACTF |
| Constructor Summary | |
|---|---|
ProgressContribution(String id)
Creates a control contribution item with the given id. |
|
| Method Summary | |
|---|---|
void |
setText(String text)
Set text as Label of contribution item |
void |
setValue(int percent)
Set percentage of progress |
| Methods inherited from class org.eclipse.jface.action.ControlContribution |
|---|
fill, fill, fill |
| Methods inherited from class org.eclipse.jface.action.ContributionItem |
|---|
dispose, fill, getId, getParent, isDirty, isDynamic, isEnabled, isGroupMarker, isSeparator, isVisible, saveWidgetState, setId, setParent, setVisible, toString, update, update |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String PROGRESS_CONTRIBUTION_ID
| Constructor Detail |
|---|
public ProgressContribution(String id)
id - | Method Detail |
|---|
public void setText(String text)
text - target Stringpublic void setValue(int percent)
percent - target percentage value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||