Package com.nomagic.magicdraw.ce
Class JavaCodeEngineeringManager
java.lang.Object
com.nomagic.magicdraw.ce.JavaCodeEngineeringManager
Dedicated to JAVA code engineering sets. Provides specific options setters for Java language.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String[]
getJavaClasspath
(Project project) Given a project, returns applied array of classpaths.static void
setJavaClasspath
(Project project, String[] classpaths) Applies given array of classpaths to java language options in provided project.static void
setResolveCollectionGenerics
(Project project, boolean resolve) Deprecated.
-
Constructor Details
-
JavaCodeEngineeringManager
public JavaCodeEngineeringManager()
-
-
Method Details
-
setJavaClasspath
Applies given array of classpaths to java language options in provided project.- Parameters:
project
- MagicDraw project, which has java code engineering sets.classpaths
- array of classpaths.
-
getJavaClasspath
Given a project, returns applied array of classpaths.- Parameters:
project
- MagicDraw project that has applied java classpaths.- Returns:
- Array of classpath, which was applied for project.
-
setResolveCollectionGenerics
Deprecated.Reverse engineering option, to enable resolve collection generic. Applies for all project's code engineering sets.- Parameters:
project
- MD project.resolve
- True, to resolve, false to not resolve.
-
CodeEngineeringManager.setResolveCollectionGenerics(com.nomagic.magicdraw.core.Project, boolean)