org.eclipse.ocl.examples.xtext.oclinecore.ui.wizards
Class OCLinEcoreFileNewWizard

java.lang.Object
  extended by org.eclipse.jface.wizard.Wizard
      extended by org.eclipse.ocl.examples.xtext.base.ui.wizards.AbstractFileNewWizard
          extended by org.eclipse.ocl.examples.xtext.oclinecore.ui.wizards.AbstractOCLinEcoreFileNewWizard
              extended by org.eclipse.ocl.examples.xtext.oclinecore.ui.wizards.OCLinEcoreFileNewWizard
All Implemented Interfaces:
org.eclipse.jface.wizard.IWizard, org.eclipse.ui.INewWizard, org.eclipse.ui.IWorkbenchWizard

public class OCLinEcoreFileNewWizard
extends AbstractOCLinEcoreFileNewWizard

Wizard allowing the user to create a new OCLinEcore file.


Field Summary
 
Fields inherited from class org.eclipse.jface.wizard.Wizard
DEFAULT_IMAGE
 
Constructor Summary
OCLinEcoreFileNewWizard()
           
 
Method Summary
protected  void appendImports(java.lang.StringBuilder s, AbstractFileDialog dialog, org.eclipse.core.resources.IFile newFile)
           
protected  OCLinEcoreFileDialog createDialog(AbstractFileNewWizardPage wizardPage, org.eclipse.core.resources.IResource initialSelection)
           
 java.lang.String getNewFileExtension()
          Returns the extension to display in the file name specification visual component group.
 java.lang.String getNewFileLabel()
          Returns the label to display in the file name specification visual component group.
 java.lang.String getPageDescription()
          Return the long description to appear in the dialog.
 java.lang.String getPageSummary()
          Return the short description to appear in the dialog.
 java.lang.String getPageTitle()
          Return the text to appear as the title in the window manager frame.
 
Methods inherited from class org.eclipse.ocl.examples.xtext.oclinecore.ui.wizards.AbstractOCLinEcoreFileNewWizard
getEditorId, getInitialContentsAsString, getNewFileName
 
Methods inherited from class org.eclipse.ocl.examples.xtext.base.ui.wizards.AbstractFileNewWizard
createNewWizardPage, init, performFinish
 
Methods inherited from class org.eclipse.jface.wizard.Wizard
addPage, addPages, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.jface.wizard.IWizard
addPages, canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer
 

Constructor Detail

OCLinEcoreFileNewWizard

public OCLinEcoreFileNewWizard()
Method Detail

appendImports

protected void appendImports(java.lang.StringBuilder s,
                             AbstractFileDialog dialog,
                             org.eclipse.core.resources.IFile newFile)
Overrides:
appendImports in class AbstractOCLinEcoreFileNewWizard

createDialog

@NonNull
protected OCLinEcoreFileDialog createDialog(@NonNull
                                                    AbstractFileNewWizardPage wizardPage,
                                                    @Nullable
                                                    org.eclipse.core.resources.IResource initialSelection)
Specified by:
createDialog in class AbstractFileNewWizard

getNewFileExtension

@NonNull
public java.lang.String getNewFileExtension()
Description copied from class: AbstractFileNewWizard
Returns the extension to display in the file name specification visual component group.

Specified by:
getNewFileExtension in class AbstractFileNewWizard
Returns:
the extension to display in the file name specification visual component group

getNewFileLabel

@NonNull
public java.lang.String getNewFileLabel()
Description copied from class: AbstractFileNewWizard
Returns the label to display in the file name specification visual component group.

Specified by:
getNewFileLabel in class AbstractFileNewWizard
Returns:
the label to display in the file name specification visual component group

getPageDescription

@NonNull
public java.lang.String getPageDescription()
Description copied from class: AbstractFileNewWizard
Return the long description to appear in the dialog.

Specified by:
getPageDescription in class AbstractFileNewWizard

getPageSummary

@NonNull
public java.lang.String getPageSummary()
Description copied from class: AbstractFileNewWizard
Return the short description to appear in the dialog.

Specified by:
getPageSummary in class AbstractFileNewWizard

getPageTitle

@NonNull
public java.lang.String getPageTitle()
Description copied from class: AbstractFileNewWizard
Return the text to appear as the title in the window manager frame.

Specified by:
getPageTitle in class AbstractFileNewWizard