Package org.omegat.gui.editor
Class ModificationInfoManager
- java.lang.Object
-
- org.omegat.gui.editor.ModificationInfoManager
-
public final class ModificationInfoManager extends java.lang.Object
This class is used to generate modification info for a TMXEntry to a text visible above source segment according to the given template containing variables.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ModificationInfoManager.ModificationInfoVarExpansion
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DEFAULT_TEMPLATE
static java.lang.String
DEFAULT_TEMPLATE_NO_DATE
static java.lang.String
VAR_CHANGED_DATE
static java.lang.String
VAR_CHANGED_DATE_COUNTRY
static java.lang.String
VAR_CHANGED_DATE_SHORT
static java.lang.String
VAR_CHANGED_DATE_SHORT_COUNTRY
static java.lang.String
VAR_CHANGED_ID
static java.lang.String
VAR_CHANGED_TIME
static java.lang.String
VAR_CHANGED_TIME_COUNTRY
static java.lang.String
VAR_CHANGED_TIME_SHORT
static java.lang.String
VAR_CHANGED_TIME_SHORT_COUNTRY
static java.lang.String
VAR_CREATION_DATE
static java.lang.String
VAR_CREATION_DATE_COUNTRY
static java.lang.String
VAR_CREATION_DATE_SHORT
static java.lang.String
VAR_CREATION_DATE_SHORT_COUNTRY
static java.lang.String
VAR_CREATION_ID
static java.lang.String
VAR_CREATION_TIME
static java.lang.String
VAR_CREATION_TIME_COUNTRY
static java.lang.String
VAR_CREATION_TIME_SHORT
static java.lang.String
VAR_CREATION_TIME_SHORT_COUNTRY
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
apply(TMXEntry trans)
static java.util.List<java.lang.String>
getModInfoVariables()
static java.util.List<java.lang.String>
getModInfoVariablesNoDate()
static void
reset()
-
-
-
Field Detail
-
VAR_CREATION_ID
public static final java.lang.String VAR_CREATION_ID
- See Also:
- Constant Field Values
-
VAR_CREATION_DATE
public static final java.lang.String VAR_CREATION_DATE
- See Also:
- Constant Field Values
-
VAR_CREATION_DATE_COUNTRY
public static final java.lang.String VAR_CREATION_DATE_COUNTRY
- See Also:
- Constant Field Values
-
VAR_CREATION_DATE_SHORT
public static final java.lang.String VAR_CREATION_DATE_SHORT
- See Also:
- Constant Field Values
-
VAR_CREATION_DATE_SHORT_COUNTRY
public static final java.lang.String VAR_CREATION_DATE_SHORT_COUNTRY
- See Also:
- Constant Field Values
-
VAR_CREATION_TIME
public static final java.lang.String VAR_CREATION_TIME
- See Also:
- Constant Field Values
-
VAR_CREATION_TIME_COUNTRY
public static final java.lang.String VAR_CREATION_TIME_COUNTRY
- See Also:
- Constant Field Values
-
VAR_CREATION_TIME_SHORT
public static final java.lang.String VAR_CREATION_TIME_SHORT
- See Also:
- Constant Field Values
-
VAR_CREATION_TIME_SHORT_COUNTRY
public static final java.lang.String VAR_CREATION_TIME_SHORT_COUNTRY
- See Also:
- Constant Field Values
-
VAR_CHANGED_ID
public static final java.lang.String VAR_CHANGED_ID
- See Also:
- Constant Field Values
-
VAR_CHANGED_DATE
public static final java.lang.String VAR_CHANGED_DATE
- See Also:
- Constant Field Values
-
VAR_CHANGED_DATE_COUNTRY
public static final java.lang.String VAR_CHANGED_DATE_COUNTRY
- See Also:
- Constant Field Values
-
VAR_CHANGED_DATE_SHORT
public static final java.lang.String VAR_CHANGED_DATE_SHORT
- See Also:
- Constant Field Values
-
VAR_CHANGED_DATE_SHORT_COUNTRY
public static final java.lang.String VAR_CHANGED_DATE_SHORT_COUNTRY
- See Also:
- Constant Field Values
-
VAR_CHANGED_TIME
public static final java.lang.String VAR_CHANGED_TIME
- See Also:
- Constant Field Values
-
VAR_CHANGED_TIME_COUNTRY
public static final java.lang.String VAR_CHANGED_TIME_COUNTRY
- See Also:
- Constant Field Values
-
VAR_CHANGED_TIME_SHORT
public static final java.lang.String VAR_CHANGED_TIME_SHORT
- See Also:
- Constant Field Values
-
VAR_CHANGED_TIME_SHORT_COUNTRY
public static final java.lang.String VAR_CHANGED_TIME_SHORT_COUNTRY
- See Also:
- Constant Field Values
-
DEFAULT_TEMPLATE
public static final java.lang.String DEFAULT_TEMPLATE
- See Also:
- Constant Field Values
-
DEFAULT_TEMPLATE_NO_DATE
public static final java.lang.String DEFAULT_TEMPLATE_NO_DATE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getModInfoVariables
public static java.util.List<java.lang.String> getModInfoVariables()
-
getModInfoVariablesNoDate
public static java.util.List<java.lang.String> getModInfoVariablesNoDate()
-
reset
public static void reset()
-
apply
public static java.lang.String apply(TMXEntry trans)
-
-