Package com._1c.g5.v8.dt.ide
Class QualifiedNameFilePathConverter
- java.lang.Object
- 
- com._1c.g5.v8.dt.ide.QualifiedNameFilePathConverter
 
- 
- All Implemented Interfaces:
- IQualifiedNameFilePathConverter
 
 public class QualifiedNameFilePathConverter extends Object implements IQualifiedNameFilePathConverter Util class to convert Path to QualifiedName and QualifiedName to Path
- 
- 
Constructor SummaryConstructors Constructor Description QualifiedNameFilePathConverter()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.eclipse.core.runtime.IPath>getAllPossibleFilePaths(org.eclipse.xtext.naming.QualifiedName fqn)Gets all possible file paths by the given FQN.StringgetFilePath(String qualifiedPath)Gets file path corresponding to the given top object's FQN.org.eclipse.core.runtime.IPathgetFilePath(String fqn, org.eclipse.emf.ecore.EClass eClass)Gets file path by the given top object FQN andEClass.StringgetFilePath(org.eclipse.xtext.naming.QualifiedName qName)Gets file path corresponding to the given top object's FQN.org.eclipse.core.runtime.IPathgetFilePath(org.eclipse.xtext.naming.QualifiedName fqn, org.eclipse.emf.ecore.EClass eClass)Gets file path by the given top object FQN andEClass.org.eclipse.xtext.naming.QualifiedNamegetFqn(String fileName)Gets top object's FQN corresponding to the given file name.org.eclipse.xtext.naming.QualifiedNamegetFqn(org.eclipse.core.resources.IFile file)Gets top object's FQN corresponding to the given file.org.eclipse.xtext.naming.QualifiedNamegetFqn(org.eclipse.core.runtime.IPath path)Gets top object's FQN corresponding to the given path.
 
- 
- 
- 
Method Detail- 
getFqnpublic org.eclipse.xtext.naming.QualifiedName getFqn(String fileName) Description copied from interface:IQualifiedNameFilePathConverterGets top object's FQN corresponding to the given file name.- Specified by:
- getFqnin interface- IQualifiedNameFilePathConverter
- Parameters:
- fileName- the file name, not- null.
- Returns:
- the FQN if can be resolved, nullotherwise.
 
 - 
getFqnpublic org.eclipse.xtext.naming.QualifiedName getFqn(org.eclipse.core.resources.IFile file) Description copied from interface:IQualifiedNameFilePathConverterGets top object's FQN corresponding to the given file.- Specified by:
- getFqnin interface- IQualifiedNameFilePathConverter
- Parameters:
- file- the file, not- null.
- Returns:
- the FQN if can be resolved, nullotherwise.
 
 - 
getFqnpublic org.eclipse.xtext.naming.QualifiedName getFqn(org.eclipse.core.runtime.IPath path) Description copied from interface:IQualifiedNameFilePathConverterGets top object's FQN corresponding to the given path.- Specified by:
- getFqnin interface- IQualifiedNameFilePathConverter
- Parameters:
- path- the path, not- null.
- Returns:
- the FQN if can be resolved, nullotherwise.
 
 - 
getAllPossibleFilePathspublic List<org.eclipse.core.runtime.IPath> getAllPossibleFilePaths(org.eclipse.xtext.naming.QualifiedName fqn) Description copied from interface:IQualifiedNameFilePathConverterGets all possible file paths by the given FQN.- Specified by:
- getAllPossibleFilePathsin interface- IQualifiedNameFilePathConverter
- Parameters:
- fqn- the FQN, not- null.
- Returns:
- all possible file paths, not null
 
 - 
getFilePathpublic org.eclipse.core.runtime.IPath getFilePath(org.eclipse.xtext.naming.QualifiedName fqn, org.eclipse.emf.ecore.EClass eClass)Description copied from interface:IQualifiedNameFilePathConverterGets file path by the given top object FQN andEClass.- Specified by:
- getFilePathin interface- IQualifiedNameFilePathConverter
- Parameters:
- fqn- the FQN, not- null.
- eClass- the- EClass, not- null.
- Returns:
- the file path or null.
 
 - 
getFilePathpublic org.eclipse.core.runtime.IPath getFilePath(String fqn, org.eclipse.emf.ecore.EClass eClass) Description copied from interface:IQualifiedNameFilePathConverterGets file path by the given top object FQN andEClass.- Specified by:
- getFilePathin interface- IQualifiedNameFilePathConverter
- Parameters:
- fqn- the FQN, not- null.
- eClass- the- EClass, not- null.
- Returns:
- the file path or null.
 
 - 
getFilePathpublic String getFilePath(org.eclipse.xtext.naming.QualifiedName qName) Description copied from interface:IQualifiedNameFilePathConverterGets file path corresponding to the given top object's FQN.- Specified by:
- getFilePathin interface- IQualifiedNameFilePathConverter
- Parameters:
- qName- - QualifiedName, not- null.
- Returns:
- the path if can be resolved, nullotherwise.
 
 - 
getFilePathpublic String getFilePath(String qualifiedPath) Description copied from interface:IQualifiedNameFilePathConverterGets file path corresponding to the given top object's FQN.- Specified by:
- getFilePathin interface- IQualifiedNameFilePathConverter
- Parameters:
- qualifiedPath- - qualified path to resource, not- null.
- Returns:
- the path if can be resolved, nullotherwise.
 
 
- 
 
-