Class ViewInstanceId


  • public class ViewInstanceId
    extends java.lang.Object
    A class used to specify a specific instance of a running DesignerViewModel, where the resourcepath designates a specific view's path in the ProjectResource hierarchy as seen in the designer's resource browser tree. The mount follows our mount path and points to a specific location in the DOM in which the view is loaded. Created by carlg on 12/14/2016.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String id  
      java.lang.String mountPath  
      java.lang.String resourcePath  
    • Constructor Summary

      Constructors 
      Constructor Description
      ViewInstanceId​(java.lang.String resourcePath, java.lang.String mountPath)  
    • Field Detail

      • id

        public final java.lang.String id
      • resourcePath

        public final java.lang.String resourcePath
      • mountPath

        public final java.lang.String mountPath
    • Constructor Detail

      • ViewInstanceId

        public ViewInstanceId​(java.lang.String resourcePath,
                              java.lang.String mountPath)
    • Method Detail

      • fromString

        public static ViewInstanceId fromString​(java.lang.String id)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object