Class RootObject


  • public class RootObject
    extends java.lang.Object
    An wrapper for any EObject to allow displaying a tree which shows the EObject as a root element in the tree.
    Since:
    1.5
    Author:
    Anas Chakfeh
    • Constructor Summary

      Constructors 
      Constructor Description
      RootObject​(org.eclipse.emf.ecore.EObject modelElement)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.eclipse.emf.ecore.EObject getRoot()  
      • Methods inherited from class java.lang.Object

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

      • RootObject

        public RootObject​(org.eclipse.emf.ecore.EObject modelElement)
        Parameters:
        modelElement - The element to be shown in the tree as a root element.
    • Method Detail

      • getRoot

        public org.eclipse.emf.ecore.EObject getRoot()
        Returns:
        the root object