Methods Summary |
---|
public UMLPackage | getCurrentPackage()Returns the current package. Current package
is the package of the diagram, which has the
focus at the moment when the method has been called.
|
public UMLPackage | getDiagramByName(java.lang.String name)Returns diagram by name.
The name must be a fully qualified name in terms of Together/J,
how it is returned by, e.g., the
UMLElement.#getQualifiedName() method.
|
public UMLElement | getElementByName(java.lang.String name)Returns element by name. This covers any element in any diagram.
The name must be a fully qualified name in terms of Together/J,
how it is returned by, e.g., the
UMLElement.#getQualifiedName() method.
|
public UMLNode | getNodeByName(java.lang.String name)Returns node by name.
The name must be a fully qualified name in terms of Together/J,
how it is returned by, e.g., the
UMLElement.#getQualifiedName() method.
|
public UMLNode | getNodeByName(java.lang.String name, UMLNode context)Returns node by name.
The name may be short or fully qualified
If the name is short then context is used for its search
UMLElement.#getQualifiedName() method.
|
public UMLNode | getNodeByType(UMLType type)Returns node by type.
The type is returned by, e.g., the
UMLMember.#getType() method.
|
public java.io.File | getProjectFile()Returns File for project file.
There can be only one project opened.
|
public java.lang.String | getRelativePath(java.lang.String fullPath)Convert path to path relative to the project.
|
public UMLPackage | getRootPackage()Returns the root (top-level) package of the whole model.
|
public boolean | isIncludeLinkAttribute()Returns the value of "Include Link-Attribute" mode.
|
public boolean | isIncludeModelOnly()Returns the value of "Include model only" mode.
|
public boolean | isIncludePureLinkAttribute()Returns the value of "Include Pure Link-Attribute" mode.
|
public boolean | isIncludeVisibleOnly()Returns the value of "Include visible only" mode.
|
public void | setIncludeLinkAttribute(boolean includeLinkAttribute)This method controls the mode of including attributes those are
also links into the list of attributes.
True says to include attributes-as-links in any iteration of attributes.
False says to NOT include them.
The attributes mentioned here are extracted by iterative methods
of UMLClassifier interface and its subclasses.
By default, the Include Link-Attribute mode is set to false.
|
public void | setIncludeModelOnly(boolean includeModelOnly)This method controls the mode of including other elements
into the model.
True says to include only "model's" elements (that is defined
in the model);
False says to include additionally imported classes and
logical package diagrams.
The elements mentioned here are extracted by iterative methods
of UMLPackage interface and its subclasses.
By default, the Include Model Only mode is set to false.
|
public void | setIncludePureLinkAttribute(boolean includePureLinkAttribute)This method controls the mode of including design comments those are used
to create links into the list of attributes.
True says to include pure links (comment-as-links) into any iteration of attributes.
False says to NOT include them.
The attributes mentioned here are extracted by iterative methods
of UMLClassifier interface and its subclasses.
By default, the Include Pure Link-Attribute mode is set to false.
|
public void | setIncludeVisibleOnly(boolean includeVisibleOnly)This method controls the mode of including hidden elements
into the model.
True says to include only visible elements;
False says to include additionally hidden elements (which
can be hidden explicitly by the 'Hide' command or implicitly
by filters on the "Display" tab of diagrams.
The elements mentioned here are extracted by iterative methods
of UMLPackage interface and its subclasses.
By default, the Include Visible Only mode is set to true.
|
public void | updateDiagrams()Use this method when you change something
and wish to update diagrams from the source code.
|
public void | updateFileBuffers()Use this method when you change something
and wish to reload the changed source code.
|