sk.uniba.euromath.editor.wizards.document
Class NameListItemChooserWizardPage<R extends BaseRule>

java.lang.Object
  extended by sk.uniba.euromath.editor.wizards.BaseWizardPage
      extended by sk.uniba.euromath.editor.wizards.document.NameListItemChooserWizardPage<R>
Type Parameters:
R - can be instance of NewElementRule or AttributeRule only.

public class NameListItemChooserWizardPage<R extends BaseRule>
extends BaseWizardPage

Allows user to choose one item from given namelist. User must select one item before he can proceed further.

Author:
Martin Vysny

Field Summary
protected  INameListItemChooserFactory<R> factory
          The name list widget producer.
protected  NameListItemChooser<R> nlic
          Item chooser widget.
 
Fields inherited from class sk.uniba.euromath.editor.wizards.BaseWizardPage
name
 
Constructor Summary
NameListItemChooserWizardPage(INameListItemChooserFactory<R> factory)
          Creates new instance of the page.
 
Method Summary
protected  Control handleCreateControl(Composite parent)
           Creates the top level control for this dialog page under the given parent composite.
protected  void handleDispose()
          Disposes the resources allocated by this dialog page.
protected  void validatePage()
          Validates the page and returns appropriate error message if necessary.
 
Methods inherited from class sk.uniba.euromath.editor.wizards.BaseWizardPage
getContext, hasErrors, setMessages, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

nlic

protected NameListItemChooser<R extends BaseRule> nlic
Item chooser widget.


factory

protected final INameListItemChooserFactory<R extends BaseRule> factory
The name list widget producer.

Constructor Detail

NameListItemChooserWizardPage

public NameListItemChooserWizardPage(INameListItemChooserFactory<R> factory)
Creates new instance of the page.

Parameters:
factory - the name list widget producer
Method Detail

handleCreateControl

protected Control handleCreateControl(Composite parent)
Description copied from class: BaseWizardPage

Creates the top level control for this dialog page under the given parent composite.

This method is called only once.

Specified by:
handleCreateControl in class BaseWizardPage
Parameters:
parent - the parent composite
Returns:
the control.

handleDispose

protected void handleDispose()
Description copied from class: BaseWizardPage
Disposes the resources allocated by this dialog page. The control is disposed automatically when this method ends.

Specified by:
handleDispose in class BaseWizardPage

validatePage

protected void validatePage()
Validates the page and returns appropriate error message if necessary.



Copyright © 2003-2006 null. All Rights Reserved.