Package org.eclipse.xtext.naming
Interface ICopyQualifiedNameService
-
- All Known Implementing Classes:
DefaultCopyQualifiedNameService
public interface ICopyQualifiedNameService
Service to provide a description of the selected object such as a fully qualified name for a class or the method signature.- Since:
- 2.14
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getQualifiedName(org.eclipse.emf.ecore.EObject selectedElement, org.eclipse.emf.ecore.EObject context)
Compute a textual description of the selectedElement.
-
-
-
Method Detail
-
getQualifiedName
java.lang.String getQualifiedName(org.eclipse.emf.ecore.EObject selectedElement, org.eclipse.emf.ecore.EObject context)
Compute a textual description of the selectedElement. Depending on context this might be different.- Parameters:
selectedElement
- 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)".
-
-