com.sri.emo.wizard.selection
Class NameNodePage

java.lang.Object
  extended by com.sri.emo.wizard.defaults.EmoWizardPage
      extended by com.sri.emo.wizard.selection.NameNodePage
All Implemented Interfaces:
WizardPage, Serializable

public class NameNodePage
extends EmoWizardPage

Handles the execution of the decision matrix to find a wizard node and then provides a prompt to name the given wizard.

Version:
1.0
Author:
Michael Rimov
See Also:
Serialized Form

Field Summary
static String PAGE_ID
          Name the node page id.
 
Constructor Summary
NameNodePage(Integer newId, PageMetadata pageMetadata)
           
 
Method Summary
 Node getSelectedNode()
           
 void setData(Serializable newData)
          Sets the data associated with the page.
 void setSelectedNodeId(String nodeId)
           
 
Methods inherited from class com.sri.emo.wizard.defaults.EmoWizardPage
addError, equals, getData, getId, getMenu, getMetadata, getPageErrors, getPrintableData, hashCode, removeErrors, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

PAGE_ID

public static final String PAGE_ID
Name the node page id.

See Also:
Constant Field Values
Constructor Detail

NameNodePage

public NameNodePage(Integer newId,
                    PageMetadata pageMetadata)
Method Detail

getSelectedNode

public Node getSelectedNode()
                     throws WizardException
Throws:
WizardException

setSelectedNodeId

public void setSelectedNodeId(String nodeId)

setData

public void setData(Serializable newData)
             throws WizardException
Sets the data associated with the page.

Specified by:
setData in interface WizardPage
Overrides:
setData in class EmoWizardPage
Parameters:
newData - the new data for the page.
Throws:
WizardException - upon error.


Copyright © 2004-2006 Codeguild, Inc.. All Rights Reserved.