org.eclipse.emf.ecp.workspace.internal.ui
Class NewXMIFileWizard

java.lang.Object
  extended by org.eclipse.jface.wizard.Wizard
      extended by org.eclipse.emf.ecp.workspace.internal.ui.NewXMIFileWizard
All Implemented Interfaces:
org.eclipse.jface.wizard.IWizard

public class NewXMIFileWizard
extends org.eclipse.jface.wizard.Wizard

The NewXMIFileWizard allows to create a new XMI File in a project located in the workspace.

Author:
Tobias Verhoeven

Field Summary
 
Fields inherited from class org.eclipse.jface.wizard.Wizard
DEFAULT_IMAGE
 
Constructor Summary
NewXMIFileWizard()
          Instantiates a new new xmi file wizard.
 
Method Summary
 void addPages()
           
 org.eclipse.emf.common.util.URI getFileURI()
          Gets the URI of the newly created file.
 boolean performFinish()
           
 
Methods inherited from class org.eclipse.jface.wizard.Wizard
addPage, canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getShell, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitle
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NewXMIFileWizard

public NewXMIFileWizard()
Instantiates a new new xmi file wizard.

Method Detail

addPages

public void addPages()
Specified by:
addPages in interface org.eclipse.jface.wizard.IWizard
Overrides:
addPages in class org.eclipse.jface.wizard.Wizard

performFinish

public boolean performFinish()
Specified by:
performFinish in interface org.eclipse.jface.wizard.IWizard
Specified by:
performFinish in class org.eclipse.jface.wizard.Wizard

getFileURI

public org.eclipse.emf.common.util.URI getFileURI()
Gets the URI of the newly created file.

Returns:
the URI or null.


Copyright © 2014. All Rights Reserved.