net.officefloor.eclipse.wizard.file
Class AbstractNewWizard

java.lang.Object
  extended by org.eclipse.jface.wizard.Wizard
      extended by net.officefloor.eclipse.wizard.file.AbstractNewWizard
All Implemented Interfaces:
org.eclipse.jface.wizard.IWizard, org.eclipse.ui.INewWizard, org.eclipse.ui.IWorkbenchWizard
Direct Known Subclasses:
DeskNewWizard, OfficeFloorNewWizard, OfficeNewWizard, SectionNewWizard

public abstract class AbstractNewWizard
extends org.eclipse.jface.wizard.Wizard
implements org.eclipse.ui.INewWizard

New DeskModel Wizard.

Author:
Daniel Sagenschneider

Field Summary
 
Fields inherited from class org.eclipse.jface.wizard.Wizard
DEFAULT_IMAGE
 
Constructor Summary
AbstractNewWizard(String title, String description, String initialItemName, String extension, String itemFileContents)
          Initiate.
 
Method Summary
 void addPages()
           
 void init(org.eclipse.ui.IWorkbench workbench, org.eclipse.jface.viewers.IStructuredSelection selection)
           
 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.jface.wizard.IWizard
canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer
 

Constructor Detail

AbstractNewWizard

public AbstractNewWizard(String title,
                         String description,
                         String initialItemName,
                         String extension,
                         String itemFileContents)
Initiate.

Parameters:
title - Title.
description - Description.
initialItemName - Initial name of the item.
extension - Extension.
itemFileContents - Contents for the file.
Method Detail

init

public void init(org.eclipse.ui.IWorkbench workbench,
                 org.eclipse.jface.viewers.IStructuredSelection selection)
Specified by:
init in interface org.eclipse.ui.IWorkbenchWizard

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


Copyright © 2005-2013. All Rights Reserved.