Class DefaultCopyQualifiedNameService

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.String _getQualifiedName​(java.lang.Void nullObject, java.lang.Void context)  
      protected java.lang.String _getQualifiedName​(java.lang.Void nullObject, org.eclipse.emf.ecore.EObject context)  
      protected java.lang.String _getQualifiedName​(org.eclipse.emf.ecore.EObject object, java.lang.Void context)  
      protected java.lang.String _getQualifiedName​(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EObject context)  
      protected QualifiedName getFullyQualifiedName​(org.eclipse.emf.ecore.EObject object)  
      java.lang.String getQualifiedName​(org.eclipse.emf.ecore.EObject it, org.eclipse.emf.ecore.EObject context)
      Compute a textual description of the selectedElement.
      protected java.lang.String toFullyQualifiedName​(org.eclipse.emf.ecore.EObject object)  
      protected <T> java.lang.CharSequence toQualifiedNames​(java.util.List<T> list, org.eclipse.xtext.xbase.lib.Functions.Function1<? super T,​? extends java.lang.String> toQualifiedNameFunction)  
      protected java.lang.String toString​(org.eclipse.emf.ecore.EObject it, QualifiedName fullyQualifiedName)  
      • Methods inherited from class java.lang.Object

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

      • DefaultCopyQualifiedNameService

        public DefaultCopyQualifiedNameService()
    • Method Detail

      • getQualifiedName

        public java.lang.String getQualifiedName​(org.eclipse.emf.ecore.EObject it,
                                                 org.eclipse.emf.ecore.EObject context)
        Description copied from interface: ICopyQualifiedNameService
        Compute a textual description of the selectedElement. Depending on context this might be different.
        Specified by:
        getQualifiedName in interface ICopyQualifiedNameService
        Parameters:
        it - The element to calculate the description for.
        context - The context to consider when calculating the description.
        Returns:
        A textual description of the element. For a class this might be a fully qualified name such as "com.mydomain.MyClass" whereas for a method the parameter types might be included such "com.mydomain.MyClass.myMethod(String,int)".
      • _getQualifiedName

        protected java.lang.String _getQualifiedName​(org.eclipse.emf.ecore.EObject object,
                                                     org.eclipse.emf.ecore.EObject context)
      • _getQualifiedName

        protected java.lang.String _getQualifiedName​(org.eclipse.emf.ecore.EObject object,
                                                     java.lang.Void context)
      • _getQualifiedName

        protected java.lang.String _getQualifiedName​(java.lang.Void nullObject,
                                                     org.eclipse.emf.ecore.EObject context)
      • _getQualifiedName

        protected java.lang.String _getQualifiedName​(java.lang.Void nullObject,
                                                     java.lang.Void context)
      • toQualifiedNames

        protected <T> java.lang.CharSequence toQualifiedNames​(java.util.List<T> list,
                                                              org.eclipse.xtext.xbase.lib.Functions.Function1<? super T,​? extends java.lang.String> toQualifiedNameFunction)
      • toFullyQualifiedName

        protected java.lang.String toFullyQualifiedName​(org.eclipse.emf.ecore.EObject object)
      • getFullyQualifiedName

        protected QualifiedName getFullyQualifiedName​(org.eclipse.emf.ecore.EObject object)
      • toString

        protected java.lang.String toString​(org.eclipse.emf.ecore.EObject it,
                                            QualifiedName fullyQualifiedName)