Interface IProjectFileSystemSupport

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.eclipse.core.resources.IFile getFile​(org.eclipse.emf.ecore.EObject eObject)
      Returns file for given model object.
      org.eclipse.core.resources.IFile getFile​(org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EReference feature)
      Returns file for given for given external property feature and context.
      org.eclipse.core.runtime.IPath getPath​(org.eclipse.emf.ecore.EObject eObject)
      Returns path to file in project for given object.
      org.eclipse.core.runtime.IPath getPath​(org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EReference feature)
      Returns path to file in project for given external property feature and context.
    • Method Detail

      • getFile

        org.eclipse.core.resources.IFile getFile​(org.eclipse.emf.ecore.EObject eObject)
        Returns file for given model object.
        Parameters:
        eObject - the model object, not null
        Returns:
        file for given model object or null if model object is not supported
      • getPath

        org.eclipse.core.runtime.IPath getPath​(org.eclipse.emf.ecore.EObject eObject)
        Returns path to file in project for given object.
        Parameters:
        eObject - the model object, not null
        Returns:
        path to file in project for given object or null if model object is not supported
      • getPath

        org.eclipse.core.runtime.IPath getPath​(org.eclipse.emf.ecore.EObject context,
                                               org.eclipse.emf.ecore.EReference feature)
        Returns path to file in project for given external property feature and context.
        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
      • getFile

        org.eclipse.core.resources.IFile getFile​(org.eclipse.emf.ecore.EObject eObject,
                                                 org.eclipse.emf.ecore.EReference feature)
        Returns file for given for given external property feature and context.
        Parameters:
        eObject - the model object, not null
        feature - the feature refer to external property of given context, not null
        Returns:
        file in context project for given external property feature and context or null if model object is not supported