Class SpecificationRecord
java.lang.Object
com.nomagic.magicdraw.ui.dialogs.specifications.SpecificationSelection
com.nomagic.magicdraw.ui.dialogs.specifications.SpecificationRecord
@OpenApiAll
public class SpecificationRecord
extends com.nomagic.magicdraw.ui.dialogs.specifications.SpecificationSelection
This class defines a reference to some page inside an Element specification window.
To reference "Attributes" or "Tagged Values" panels inside specification dialog use such constructors
new SpecificationRecord(element, new String[]{element.getID(), IConfigurableNode.ATTRIBUTES})
new SpecificationRecord(element, new String[]{element.getID(), IConfigurableNode.TAGS})
- See Also:
-
Field Summary
Fields inherited from class com.nomagic.magicdraw.ui.dialogs.specifications.SpecificationSelection
path, property
-
Constructor Summary
ConstructorDescriptionSpecificationRecord
(Element element, String[] path) Constructs a reference to a specification dialog pageSpecificationRecord
(Element element, String[] path, String property) Constructs a reference to a specification dialog page -
Method Summary
-
Field Details
-
element
-
-
Constructor Details
-
SpecificationRecord
Constructs a reference to a specification dialog pagenew SpecificationRecord(element, new String[]{element.getID(), IConfigurableNode.ATTRIBUTES}) new SpecificationRecord(element, new String[]{element.getID(), IConfigurableNode.TAGS})
- Parameters:
element
- elementpath
- inner node path (null means root node)
-
SpecificationRecord
public SpecificationRecord(Element element, @CheckForNull String[] path, @CheckForNull String property) Constructs a reference to a specification dialog pagenew SpecificationRecord(element, null, PropertyNames.OWNER)
- Parameters:
element
- elementpath
- inner node path (null means root node)property
- id of property to select and activate inside a property pane referenced by path- See Also:
-