Class ConfigurationFileSystemSupport

    • Constructor Detail

      • ConfigurationFileSystemSupport

        public ConfigurationFileSystemSupport​(IDtProject dtProject,
                                              org.eclipse.core.resources.IProject project,
                                              IBmModelManager bmModelManager,
                                              IExternalPropertyManagerRegistry externalPropertyManagerRegistry)
        Constructor
        Parameters:
        dtProject -
        project - the context project (not null)
        bmModelManager - the BM model manager is used to provide context for external property manager registry (not null)
        externalPropertyManagerRegistry - the external property manager registry (not null)
    • Method Detail

      • getPath

        public org.eclipse.core.runtime.IPath getPath​(org.eclipse.emf.ecore.EObject context,
                                                      org.eclipse.emf.ecore.EReference feature)
        Description copied from interface: IProjectFileSystemSupport
        Returns path to file in project for given external property feature and context.
        Specified by:
        getPath in interface IProjectFileSystemSupport
        Specified by:
        getPath in class AbstractHierarchicalFileSystemSupport
        Parameters:
        context - the model object context, not null
        feature - the feature refer to external property of given context, not null
        Returns:
        path to file in project for given external property feature and context or null if model object is not supported
      • getFileName

        public String getFileName​(org.eclipse.emf.ecore.EObject eObject)
        Returns file name for given eObject
        Parameters:
        eObject - the object to get file name for (not null)
        Returns:
        file name for given eObject