Class NameProvider


  • public class NameProvider
    extends Object
    Name provider for "All Events Handlers" editor.
    • Method Detail

      • getLocalizedFullyQualifiedName

        public static org.eclipse.xtext.naming.QualifiedName getLocalizedFullyQualifiedName​(MdObject mdObject)
        Returns localized fully qualified name for given md object.
        Parameters:
        mdObject - - md object. Can't be null.
        Returns:
        localized fully qualified name for given md object. Can't return null.
      • getLocalizedTypeItemName

        public static String getLocalizedTypeItemName​(TypeItem typeItem)
        Returns localized type item name.
        Parameters:
        typeItem - - type item to get localized name. Can't be null.
        Returns:
        localized type item name. Can't return null.
      • getLocalizedEventName

        public static String getLocalizedEventName​(Event event)
        Returns localized event name.
        Parameters:
        event - - event to get localized name. Can't be null.
        Returns:
        localized event name. Can't return null.
      • getFullHandlerName

        public static String getFullHandlerName​(HandlerContainer container)
        Returns full handler name of given handler container.
        Parameters:
        container - - container to get full handler name. Can't be null.
        Returns:
        full handler name. Can't return null.
      • getFullHandlerName

        public static String getFullHandlerName​(ExtensionMethodContainer container)
        Returns full extension method name of given extension method container.
        Parameters:
        container - - container to get full extension method name. Can't be null.
        Returns:
        full extension method name. Can't return null.