public class ProgressContribution
extends org.eclipse.jface.action.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
|
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