|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<TranslationDataType>
de.olafpanz.translationtable.TranslationDataType
enum TranslationDataType
Defines all type of translations.
| Enum Constant Summary | |
|---|---|
Accelerator
Create an accelerator, use prefix "AC_" and create object |
|
EclipseRCP
Type is eclipse RCP |
|
Mnemonic
Create a mnemonic, use Character as object. |
|
Text
Create translation entry for plain text, use prefix "TX_" |
|
Tooltip
Create a tooltip, use prefix "TT_" |
|
| Field Summary | |
|---|---|
private boolean |
isInResourceBundle
True, if this element is part of resource bundle. |
private java.lang.String |
prefix
The prefix, needed for generation |
| Method Summary | |
|---|---|
java.lang.String |
getPrefix()
|
boolean |
isInResourceBundle()
|
static TranslationDataType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static TranslationDataType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final TranslationDataType Text
public static final TranslationDataType Tooltip
public static final TranslationDataType Accelerator
public static final TranslationDataType Mnemonic
public static final TranslationDataType EclipseRCP
| Field Detail |
|---|
private final java.lang.String prefix
private final boolean isInResourceBundle
| Method Detail |
|---|
public static TranslationDataType[] values()
for (TranslationDataType c : TranslationDataType.values()) System.out.println(c);
public static TranslationDataType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic boolean isInResourceBundle()
public java.lang.String getPrefix()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||