|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LabelUpdater
LabelUpdater is responsible for updating an action's label.
| Field Summary | |
|---|---|
static java.lang.String |
LABEL_UPDATER_MACROS
|
| Method Summary | |
|---|---|
java.lang.String |
labelWhenDisabled(Context context,
IdeAction action,
java.lang.String originalLabel)
Returns the action's label when it is disabled. If null then the action will be left unchanged. |
java.lang.String |
labelWhenEnabled(Context context,
IdeAction action,
java.lang.String originalLabel)
Returns the action's label when it is enabled. If null then the action will be left unchanged. |
void |
setDisabledFormat(java.lang.String format)
Sets the value for the disabled format. |
void |
setEnabledFormat(java.lang.String format)
Sets the value for the enabled format. |
| Field Detail |
|---|
static final java.lang.String LABEL_UPDATER_MACROS
| Method Detail |
|---|
java.lang.String labelWhenEnabled(Context context,
IdeAction action,
java.lang.String originalLabel)
context - the current contextaction - the action to be updatedoriginalLabel - the action's first label
java.lang.String labelWhenDisabled(Context context,
IdeAction action,
java.lang.String originalLabel)
context - the current contextaction - the action to be updatedoriginalLabel - the action's first labelvoid setEnabledFormat(java.lang.String format)
format - the value for enabled formatvoid setDisabledFormat(java.lang.String format)
format - the value for disabled format
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||