Modelers

org.topcased.modeler.utils
Class ModelerURIConverter

java.lang.Object
  extended by org.eclipse.emf.ecore.resource.impl.URIConverterImpl
      extended by org.topcased.modeler.utils.ModelerURIConverter
All Implemented Interfaces:
URIConverter

public class ModelerURIConverter
extends URIConverterImpl


creation : 28 juin 2005 Extension of URIConverter


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.resource.impl.URIConverterImpl
URIConverterImpl.Archive, URIConverterImpl.PlatformResourceOutputStream, URIConverterImpl.URIMap, URIConverterImpl.WorkbenchHelper
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.resource.URIConverter
URIConverter.Cipher, URIConverter.Readable, URIConverter.ReadableInputStream, URIConverter.Writeable, URIConverter.WriteableOutputStream
 
Field Summary
 
Fields inherited from class org.eclipse.emf.ecore.resource.impl.URIConverterImpl
uriMap, workspaceRoot
 
Fields inherited from interface org.eclipse.emf.ecore.resource.URIConverter
URI_MAP
 
Constructor Summary
ModelerURIConverter()
           
 
Method Summary
 org.eclipse.core.resources.IFile convertToFile(org.eclipse.core.resources.IContainer container, URI uri)
          Return the file that matches with a given uri
static ModelerURIConverter getDefaultURIConverter()
          Returns the default URI converter that's used when there is no resource set.
 
Methods inherited from class org.eclipse.emf.ecore.resource.impl.URIConverterImpl
createArchive, createArchiveInputStream, createArchiveOutputStream, createEFSInputStream, createEFSOutputStream, createFileInputStream, createFileOutputStream, createInputStream, createOutputStream, createPlatformResourceInputStream, createPlatformResourceOutputStream, createURLInputStream, createURLOutputStream, getInternalURIMap, getURIMap, isArchiveScheme, isEFSScheme, normalize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelerURIConverter

public ModelerURIConverter()
Method Detail

getDefaultURIConverter

public static ModelerURIConverter getDefaultURIConverter()
Returns the default URI converter that's used when there is no resource set.

Returns:
the default URI converter.
See Also:
#getURIConverter

convertToFile

public org.eclipse.core.resources.IFile convertToFile(org.eclipse.core.resources.IContainer container,
                                                      URI uri)
Return the file that matches with a given uri

Parameters:
container - file container
uri -
Returns:

Modelers

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.