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:
IConfigurableNode
-
-
Constructor Summary
Constructors Constructor Description SpecificationRecord(Element element, java.lang.String[] path)
Constructs a reference to a specification dialog pageSpecificationRecord(Element element, java.lang.String[] path, java.lang.String property)
Constructs a reference to a specification dialog page
-
-
-
Field Detail
-
element
public Element element
-
-
Constructor Detail
-
SpecificationRecord
public SpecificationRecord(Element element, @CheckForNull java.lang.String[] path)
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 java.lang.String[] path, @CheckForNull java.lang.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:
PropertyNames
-
-