org.eclipse.gmf.map.editor.part
Class GMFMapDiagramFileCreator

java.lang.Object
  extended by org.eclipse.gmf.map.editor.part.GMFMapDiagramFileCreator

public class GMFMapDiagramFileCreator
extends Object


Constructor Summary
GMFMapDiagramFileCreator()
           
GMFMapDiagramFileCreator(GMFMapCreationWizard wizard)
           
 
Method Summary
 String appendExtensionToFileName(String fileName)
           
protected  void createFile(org.eclipse.core.resources.IFile fileHandle, InputStream contents)
           
 org.eclipse.core.resources.IFile createNewFile(org.eclipse.core.runtime.IPath containerPath, String fileName, InputStream initialContents, org.eclipse.swt.widgets.Shell shell)
           
static boolean exists(org.eclipse.core.runtime.IPath path)
           
 String getExtension()
           
static GMFMapDiagramFileCreator getInstance()
           
 String getUniqueFileName(org.eclipse.core.runtime.IPath containerPath, String fileName)
           
 GMFMapCreationWizard getWizard()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GMFMapDiagramFileCreator

public GMFMapDiagramFileCreator()

GMFMapDiagramFileCreator

public GMFMapDiagramFileCreator(GMFMapCreationWizard wizard)
Method Detail

getInstance

public static GMFMapDiagramFileCreator getInstance()

exists

public static boolean exists(org.eclipse.core.runtime.IPath path)

getWizard

public GMFMapCreationWizard getWizard()

getExtension

public String getExtension()

getUniqueFileName

public String getUniqueFileName(org.eclipse.core.runtime.IPath containerPath,
                                String fileName)

appendExtensionToFileName

public String appendExtensionToFileName(String fileName)

createNewFile

public org.eclipse.core.resources.IFile createNewFile(org.eclipse.core.runtime.IPath containerPath,
                                                      String fileName,
                                                      InputStream initialContents,
                                                      org.eclipse.swt.widgets.Shell shell)

createFile

protected void createFile(org.eclipse.core.resources.IFile fileHandle,
                          InputStream contents)
                   throws org.eclipse.core.runtime.CoreException
Throws:
org.eclipse.core.runtime.CoreException


Copyright © 2011. All Rights Reserved.