sk.uniba.euromath.editor.wizards.document
Class EntityListWizardPage

java.lang.Object
  extended by sk.uniba.euromath.editor.wizards.BaseWizardPage
      extended by sk.uniba.euromath.editor.wizards.document.EntityListWizardPage

public class EntityListWizardPage
extends BaseWizardPage

Shows list of entities.

Author:
Martin Vysny

Field Summary
 EntityList el
          The component.
protected  EntityManager entityManager
          The entity manager.
protected  List<? extends String> entityNames
          Entity names list we can select an item from.
 
Fields inherited from class sk.uniba.euromath.editor.wizards.BaseWizardPage
name
 
Constructor Summary
EntityListWizardPage(EntityManager entityManager, List<? extends String> entityNames, String title)
          Constructor.
 
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 shows 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

el

public EntityList el
The component. Must not be changed.


entityNames

protected final List<? extends String> entityNames
Entity names list we can select an item from.


entityManager

protected final EntityManager entityManager
The entity manager.

Constructor Detail

EntityListWizardPage

public EntityListWizardPage(EntityManager entityManager,
                            List<? extends String> entityNames,
                            String title)
Constructor.

Parameters:
entityManager - an entity manager for the document.
entityNames - the list of entities that can be picked from.
title - the title for this wizard page, or null if none. It should be a command, something like 'Please configure the foo properties'.
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.

validatePage

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


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


Copyright © 2003-2006 null. All Rights Reserved.