org.eclipse.ocl.examples.xtext.oclstdlib.ui.wizards
Class OCLstdlibFileNewWizard

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.oclstdlib.ui.wizards.OCLstdlibFileNewWizard
All Implemented Interfaces:
org.eclipse.jface.wizard.IWizard, org.eclipse.ui.INewWizard, org.eclipse.ui.IWorkbenchWizard

public class OCLstdlibFileNewWizard
extends AbstractFileNewWizard

Wizard allowing the user to create a new OCL Standard Library file.


Field Summary
 
Fields inherited from class org.eclipse.jface.wizard.Wizard
DEFAULT_IMAGE
 
Constructor Summary
OCLstdlibFileNewWizard()
           
 
Method Summary
protected  OCLstdlibFileDialog createDialog(AbstractFileNewWizardPage wizardPage, org.eclipse.core.resources.IResource initialSelection)
           
protected  java.lang.String getEditorId()
           
 java.lang.String getInitialContentsAsString(org.eclipse.core.resources.IFile newFile, AbstractFileDialog dialog)
          Returns a string containing the initial contents to be given to new complete OCL file resource instances.
 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 getNewFileName()
          Returns the name 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.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

OCLstdlibFileNewWizard

public OCLstdlibFileNewWizard()
Method Detail

createDialog

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

getEditorId

protected java.lang.String getEditorId()
Specified by:
getEditorId in class AbstractFileNewWizard

getInitialContentsAsString

@NonNull
public java.lang.String getInitialContentsAsString(@NonNull
                                                           org.eclipse.core.resources.IFile newFile,
                                                           @NonNull
                                                           AbstractFileDialog dialog)
Description copied from class: AbstractFileNewWizard
Returns a string containing the initial contents to be given to new complete OCL file resource instances.

Specified by:
getInitialContentsAsString in class AbstractFileNewWizard
Returns:
contents to be given to new complete OCL file resource instances

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

getNewFileName

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

Specified by:
getNewFileName in class AbstractFileNewWizard
Returns:
the name 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