Package com.nomagic.magicdraw.core
Class ApplicationConstants
- java.lang.Object
-
- com.nomagic.runtime.RuntimeConstants
-
- com.nomagic.magicdraw.core.ApplicationConstants
-
@OpenApi @Deprecated public class ApplicationConstants extends RuntimeConstants
Deprecated.useApplication
This class holds application specific constants.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
MAGICDRAW_NAME
Deprecated.UseRebrandingConfigurator.getProductName()
with no "UML" addition in name.-
Fields inherited from class com.nomagic.runtime.RuntimeConstants
VERSION
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static java.lang.String
getApplicationName()
Deprecated.use {@link Application#runtime#getApplicationName()}static java.lang.String
getTemplatesDirectory()
Deprecated.use {@link Application#environment#getTemplatesDirectory()}static void
setApplicationName(java.lang.String name)
Deprecated.use {@link Application#runtimeInternal#setApplicationName(String)}-
Methods inherited from class com.nomagic.runtime.RuntimeConstants
getFullVersion
-
-
-
-
Field Detail
-
MAGICDRAW_NAME
@OpenApi @Deprecated public static final java.lang.String MAGICDRAW_NAME
Deprecated.UseRebrandingConfigurator.getProductName()
with no "UML" addition in name. Use {@link Application#runtimeInternal#MAGICDRAW_UML} if old reference is required (usually for import).Application name- See Also:
- Constant Field Values
-
-
Method Detail
-
setApplicationName
@OpenApi @Deprecated public static void setApplicationName(java.lang.String name)
Deprecated.use {@link Application#runtimeInternal#setApplicationName(String)}Set the name of the application.- Parameters:
name
- application name
-
getApplicationName
@OpenApi @Deprecated public static java.lang.String getApplicationName()
Deprecated.use {@link Application#runtime#getApplicationName()}Returns application name- Returns:
- application name
-
getTemplatesDirectory
@OpenApi @Deprecated public static java.lang.String getTemplatesDirectory()
Deprecated.use {@link Application#environment#getTemplatesDirectory()}Gets project templates directory.- Returns:
- project templates directory.
-
-