@Deprecated
public class MDKHelper
extends java.lang.Object
Constructor and Description |
---|
MDKHelper()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static void |
generateViews(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element doc,
java.lang.Boolean recurse)
Deprecated.
Executes "Generate View(s)" MDK element action on the selected element
|
static java.util.Collection<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element> |
getElement(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element,
com.nomagic.magicdraw.core.Project project)
Deprecated.
MMS REST Interactions
|
static java.util.Collection<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element> |
getElementsById(java.util.Collection<java.lang.String> elementIds,
com.nomagic.magicdraw.core.Project project,
com.nomagic.task.ProgressStatus progressStatus)
Deprecated.
|
static void |
setMMSLoginCredentials(java.lang.String username,
java.lang.String password)
Deprecated.
Sets the supplied username and password in memory.
|
static void |
setPopupsDisabled(boolean disabled)
Deprecated.
Sets boolean that can disabled popups and redirect their messages to the GUI log.
|
public static void setPopupsDisabled(boolean disabled)
disabled
- true to redirect popups to gui log, false to renable normal popup behaviorpublic static void setMMSLoginCredentials(java.lang.String username, java.lang.String password)
username
- Username for MMS loginpassword
- Password for MMS loginpublic static void generateViews(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element doc, java.lang.Boolean recurse)
doc
- Document elementrecurse
- Select true to generate all views under this element, false to
generate only the view for the selected elementpublic static java.util.Collection<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element> getElement(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, com.nomagic.magicdraw.core.Project project) throws java.io.IOException, ServerException, java.net.URISyntaxException
java.io.IOException
ServerException
java.net.URISyntaxException
public static java.util.Collection<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element> getElementsById(java.util.Collection<java.lang.String> elementIds, com.nomagic.magicdraw.core.Project project, com.nomagic.task.ProgressStatus progressStatus) throws java.io.IOException, ServerException, java.net.URISyntaxException
java.io.IOException
ServerException
java.net.URISyntaxException