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

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
All Implemented Interfaces:
org.eclipse.jface.wizard.IWizard, org.eclipse.ui.INewWizard, org.eclipse.ui.IWorkbenchWizard
Direct Known Subclasses:
EcoreWithOCLFileNewWizard, OCLinEcoreFileNewWizard

public abstract class AbstractOCLinEcoreFileNewWizard
extends AbstractFileNewWizard

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
AbstractOCLinEcoreFileNewWizard()
           
 
Method Summary
protected  void appendImports(java.lang.StringBuilder s, AbstractFileDialog dialog, org.eclipse.core.resources.IFile newFile)
           
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 getNewFileName()
          Returns the name to display in the file name specification visual component group.
 
Methods inherited from class org.eclipse.ocl.examples.xtext.base.ui.wizards.AbstractFileNewWizard
createDialog, createNewWizardPage, getNewFileExtension, getNewFileLabel, getPageDescription, getPageSummary, getPageTitle, 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

AbstractOCLinEcoreFileNewWizard

public AbstractOCLinEcoreFileNewWizard()
Method Detail

appendImports

protected void appendImports(java.lang.StringBuilder s,
                             AbstractFileDialog dialog,
                             org.eclipse.core.resources.IFile newFile)

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

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