Class 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
    • Field Summary

      Fields 
      Modifier and Type Field Description
      Element element  
      • Fields inherited from class com.nomagic.magicdraw.ui.dialogs.specifications.SpecificationSelection

        path, property
    • Constructor Summary

      Constructors 
      Constructor 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
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

    • Constructor Detail

      • SpecificationRecord

        public SpecificationRecord​(Element element,
                                   @CheckForNull
                                   java.lang.String[] path)
        Constructs a reference to a specification dialog page

         
          new SpecificationRecord(element, new String[]{element.getID(), IConfigurableNode.ATTRIBUTES})
          new SpecificationRecord(element, new String[]{element.getID(), IConfigurableNode.TAGS})
         

        Parameters:
        element - element
        path - 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 page

         
          new SpecificationRecord(element, null, PropertyNames.OWNER)
         

        Parameters:
        element - element
        path - 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