public class UserScript extends Query
notToStringSet, sortElementsByName, targets, titles
dgElement, ignore, loop, titlePrefix, titleSuffix, useContextNameAsTitle
Constructor and Description |
---|
UserScript() |
Modifier and Type | Method and Description |
---|---|
java.util.List<com.nomagic.magicdraw.actions.MDAction> |
getActions()
These actions will show up as menu items under View Interaction, if the
user right clicks on a view that will execute this query
|
java.util.Map<?,?> |
getScriptOutput(java.util.Map<java.lang.String,java.lang.Object> inputs) |
java.lang.String |
getStereotypeName() |
java.util.List<DocumentElement> |
visit(boolean forViewEditor,
java.lang.String outputDir)
This method must be overidden by subclasses to return the result of the
query
|
accept, getTargets, getTitles, initialize, isSortElementsByName, notToString, parse, setSortElementsByName, setTargets, setTitles, toStringStart
getDgElement, getIgnore, getLoop, getTitlePrefix, getTitleSuffix, getUseContextNameAsTitle, setDgElement, setIgnore, setLoop, setTitlePrefix, setTitleSuffix, setUseContextNameAsTitle, toString, toStringEnd
public java.lang.String getStereotypeName()
public java.util.Map<?,?> getScriptOutput(java.util.Map<java.lang.String,java.lang.Object> inputs)
public java.util.List<DocumentElement> visit(boolean forViewEditor, java.lang.String outputDir)
Query
visit
in interface Generatable
visit
in class Query
public java.util.List<com.nomagic.magicdraw.actions.MDAction> getActions()
Query
These actions will show up as menu items under View Interaction, if the user right clicks on a view that will execute this query
targets and dgElement would have been filled
getActions
in interface Generatable
getActions
in class Query