com.ibm.carma.ui.wizard
Class ViewDefinitionWizard

java.lang.Object
  extended by org.eclipse.jface.wizard.Wizard
      extended by com.ibm.carma.ui.wizard.ViewDefinitionWizard
All Implemented Interfaces:
org.eclipse.jface.wizard.IWizard

public class ViewDefinitionWizard
extends org.eclipse.jface.wizard.Wizard

Wizard used to create new "views" in the CARMA hierarchy. Views are Filters in the CARMA hierarchy.

This Class may be instantiated, but is not intended to be subclassed.

Since:
7.0
See Also:
Filterable

Field Summary
static java.lang.String COPYRIGHT
           
 
Fields inherited from class org.eclipse.jface.wizard.Wizard
DEFAULT_IMAGE
 
Constructor Summary
ViewDefinitionWizard(boolean removeInitialView)
          Creates a new View definition wizard.
 
Method Summary
 void addPages()
           
 void init(Filterable viewable, java.lang.String displayView)
          Initializes the wizard to create a view on the given Filterable object.
 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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values
Constructor Detail

ViewDefinitionWizard

public ViewDefinitionWizard(boolean removeInitialView)
Creates a new View definition wizard.

Parameters:
removeInitialView - true if the filter specified in the {init(Filterable, String) method should be removed.
Method Detail

init

public void init(Filterable viewable,
                 java.lang.String displayView)
Initializes the wizard to create a view on the given Filterable object. The display view is the current view being worked on. If the display view is non-null and the user completes the wizard, the view will be replaced with the string specified by the user in the wizard.

Parameters:
viewable - the object to declare a new view on
displayView - string to populate the wizard with initially

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