Class NameProvider
- java.lang.Object
-
- com._1c.g5.v8.dt.eventhandlers.services.NameProvider
-
public class NameProvider extends Object
Name provider for "All Events Handlers" editor.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetFullHandlerName(ExtensionMethodContainer container)Returns full extension method name of given extension method container.static StringgetFullHandlerName(HandlerContainer container)Returns full handler name of given handler container.static StringgetLocalizedEventName(Event event)Returns localized event name.static org.eclipse.xtext.naming.QualifiedNamegetLocalizedFullyQualifiedName(MdObject mdObject)Returns localized fully qualified name for given md object.static StringgetLocalizedTypeItemName(TypeItem typeItem)Returns localized type item name.
-
-
-
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 benull.- 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 benull.- 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 benull.- 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 benull.- 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 benull.- Returns:
- full extension method name. Can't return
null.
-
-