public class ProgressContribution extends ControlContribution
ControlContribution
,
ProgressBar
Modifier and Type | Field and Description |
---|---|
static String |
PROGRESS_CONTRIBUTION_ID
Progress Contribution ID to share the contribution within ACTF
|
Constructor and Description |
---|
ProgressContribution(String id)
Creates a control contribution item with the given id.
|
Modifier and Type | Method and Description |
---|---|
void |
setText(String text)
Set text as Label of contribution item
|
void |
setValue(int percent)
Set percentage of progress
|
fill, fill, fill
dispose, fill, getId, getParent, isDirty, isDynamic, isEnabled, isGroupMarker, isSeparator, isVisible, saveWidgetState, setId, setParent, setVisible, toString, update, update
public static final String PROGRESS_CONTRIBUTION_ID
public ProgressContribution(String id)
id
- public void setText(String text)
text
- target Stringpublic void setValue(int percent)
percent
- target percentage value