@OpenApiAll
public class SpecificationRecord
extends com.nomagic.magicdraw.ui.dialogs.specifications.SpecificationSelection
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})
IConfigurableNode
Constructor and Description |
---|
SpecificationRecord(Element element,
java.lang.String[] path)
Constructs a reference to a specification dialog page
|
SpecificationRecord(Element element,
java.lang.String[] path,
java.lang.String property)
Constructs a reference to a specification dialog page
|
public Element element
public SpecificationRecord(Element element, @CheckForNull java.lang.String[] path)
new SpecificationRecord(element, new String[]{element.getID(), IConfigurableNode.ATTRIBUTES})
new SpecificationRecord(element, new String[]{element.getID(), IConfigurableNode.TAGS})
element
- elementpath
- inner node path (null means root node)public SpecificationRecord(Element element, @CheckForNull java.lang.String[] path, @CheckForNull java.lang.String property)
new SpecificationRecord(element, null, PropertyNames.OWNER)
element
- elementpath
- inner node path (null means root node)property
- id of property to select and activate inside a property pane referenced by pathPropertyNames