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
BETA_BUILD, MAGIC_DRAW_REGISTER_EMAIL, MAGIC_DRAW_SUPPORT_URL, MD_SERVER_ADDRESS, NO_MAGIC_SALES_EMAIL, NO_MAGIC_SUPPORT_EMAIL, REFRESH, REFRESH1_NUMBER, SP, VERSION, WEB_ADDRESS
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ApplicationConstants()
Deprecated.
-
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
constructFullVersion, constructFullVersion, getFullVersion, getPatchNumber, getProductHomePage, parsePatchIndex, setPatchNumber, setProductHomePage
-
-
-
-
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.
-
-