Class DbViewSymbolicNameServiceDelegate
java.lang.Object
com.e1c.langtool.v8.dt.internal.md.sync.DbViewSymbolicNameServiceDelegate
- All Implemented Interfaces:
ITranslatedSymbolicNameServiceDelegate
public final class DbViewSymbolicNameServiceDelegate
extends Object
implements ITranslatedSymbolicNameServiceDelegate
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvertUriToCommonSymbolicName(org.eclipse.emf.common.util.URI targetUri) Converts URI to common symbolic name.convertUriToContextSpecificSymbolicName(org.eclipse.emf.common.util.URI targetUri, org.eclipse.emf.ecore.EObject contextObject, org.eclipse.emf.ecore.EReference contextFeature) Converts URI to context specific symbolic name.generateCommonSymbolicName(org.eclipse.emf.ecore.EObject targetObject, org.eclipse.emf.ecore.EObject contextObject, IProjectTranslationProvider translationProvider) Generates common symbolic name.generateContextSpecificSymbolicName(org.eclipse.emf.ecore.EObject targetObject, org.eclipse.emf.ecore.EObject contextObject, org.eclipse.emf.ecore.EReference contextFeature, IProjectTranslationProvider translationProvider) Generates context specific symbolic name.
-
Constructor Details
-
DbViewSymbolicNameServiceDelegate
public DbViewSymbolicNameServiceDelegate()
-
-
Method Details
-
convertUriToCommonSymbolicName
Description copied from interface:ITranslatedSymbolicNameServiceDelegateConverts URI to common symbolic name.- Specified by:
convertUriToCommonSymbolicNamein interfaceITranslatedSymbolicNameServiceDelegate- Parameters:
targetUri- the target URI, cannot benull- Returns:
- the string, can be
null
-
convertUriToContextSpecificSymbolicName
public String convertUriToContextSpecificSymbolicName(org.eclipse.emf.common.util.URI targetUri, org.eclipse.emf.ecore.EObject contextObject, org.eclipse.emf.ecore.EReference contextFeature) Description copied from interface:ITranslatedSymbolicNameServiceDelegateConverts URI to context specific symbolic name.- Specified by:
convertUriToContextSpecificSymbolicNamein interfaceITranslatedSymbolicNameServiceDelegate- Parameters:
targetUri- the target URI, cannot benullcontextObject- the context object, cannot benullcontextFeature- the context feature, cannot benull- Returns:
- the string, can be
null
-
generateCommonSymbolicName
public String generateCommonSymbolicName(org.eclipse.emf.ecore.EObject targetObject, org.eclipse.emf.ecore.EObject contextObject, IProjectTranslationProvider translationProvider) Description copied from interface:ITranslatedSymbolicNameServiceDelegateGenerates common symbolic name.- Specified by:
generateCommonSymbolicNamein interfaceITranslatedSymbolicNameServiceDelegate- Parameters:
targetObject- the target object, cannot benullcontextObject- the context object, cannot benulltranslationProvider- the translation provider, cannot benull- Returns:
- the string, can be
null
-
generateContextSpecificSymbolicName
public String generateContextSpecificSymbolicName(org.eclipse.emf.ecore.EObject targetObject, org.eclipse.emf.ecore.EObject contextObject, org.eclipse.emf.ecore.EReference contextFeature, IProjectTranslationProvider translationProvider) Description copied from interface:ITranslatedSymbolicNameServiceDelegateGenerates context specific symbolic name.- Specified by:
generateContextSpecificSymbolicNamein interfaceITranslatedSymbolicNameServiceDelegate- Parameters:
targetObject- the target object, cannot benullcontextObject- the context object, cannot benullcontextFeature- the context feature, cannot benulltranslationProvider- the translation provider, cannot benull- Returns:
- the string, can be
null
-