com.aptana.ide.editor.css.wizards
Class CSSUntitledTextFileWizard

java.lang.Object
  extended by org.eclipse.jface.wizard.Wizard
      extended by com.aptana.ide.editors.wizards.UntitledTextFileWizard
          extended by com.aptana.ide.editor.css.wizards.CSSUntitledTextFileWizard
All Implemented Interfaces:
org.eclipse.jface.wizard.IWizard, org.eclipse.ui.INewWizard, org.eclipse.ui.IWorkbenchWizard

public class CSSUntitledTextFileWizard
extends UntitledTextFileWizard

Author:
Spike Washburn

Field Summary
 
Fields inherited from class org.eclipse.jface.wizard.Wizard
DEFAULT_IMAGE
 
Constructor Summary
CSSUntitledTextFileWizard()
           
 
Method Summary
protected  java.lang.String getEditorId(java.io.File file)
          Returns the ID of the default associated editor
protected  java.lang.String getFileExtension()
          Returns the file extension.
protected  java.lang.String getFriendlyName()
          Returns the "friendly name" to use when naming the file
protected  java.lang.String getInitialFileContents()
          getInitialFileContents
 
Methods inherited from class com.aptana.ide.editors.wizards.UntitledTextFileWizard
dispose, getInitialCaretOffset, init, performFinish
 
Methods inherited from class org.eclipse.jface.wizard.Wizard
addPage, addPages, canFinish, createPageControls, 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, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer
 

Constructor Detail

CSSUntitledTextFileWizard

public CSSUntitledTextFileWizard()
Method Detail

getFriendlyName

protected java.lang.String getFriendlyName()
Description copied from class: UntitledTextFileWizard
Returns the "friendly name" to use when naming the file

Overrides:
getFriendlyName in class UntitledTextFileWizard
Returns:
The friendly name
See Also:
UntitledTextFileWizard.getFriendlyName()

getEditorId

protected java.lang.String getEditorId(java.io.File file)
Description copied from class: UntitledTextFileWizard
Returns the ID of the default associated editor

Overrides:
getEditorId in class UntitledTextFileWizard
Parameters:
file - The file to get the editor for
Returns:
The string ID of the associated editor
See Also:
UntitledTextFileWizard.getEditorId(java.io.File)

getFileExtension

protected java.lang.String getFileExtension()
Description copied from class: UntitledTextFileWizard
Returns the file extension. "" in this case.

Overrides:
getFileExtension in class UntitledTextFileWizard
Returns:
The string representing the extension.
See Also:
UntitledTextFileWizard.getFileExtension()

getInitialFileContents

protected java.lang.String getInitialFileContents()
Description copied from class: UntitledTextFileWizard
getInitialFileContents

Overrides:
getInitialFileContents in class UntitledTextFileWizard
Returns:
Returns the initial file contents. Null by default.
See Also:
UntitledTextFileWizard.getInitialFileContents()