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

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

public class NewPrefixesQueryWizardPage
extends BaseWizardPage

Queries for new prefixes.

Author:
Martin Vysny

Field Summary
protected  Set<String> namespaces
          Get prefixes for these namespaces.
 NewPrefixesQuery npq
          The widget.
protected  NamespaceManager nsManager
          Current namespace manager.
 
Fields inherited from class sk.uniba.euromath.editor.wizards.BaseWizardPage
name
 
Constructor Summary
NewPrefixesQueryWizardPage(Set<String> namespaces, NamespaceManager nsManager)
          Constructor.
 
Method Summary
 Control handleCreateControl(Composite parent)
           Creates the top level control for this dialog page under the given parent composite.
 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

npq

public NewPrefixesQuery npq
The widget. Do not modify.


namespaces

protected final Set<String> namespaces
Get prefixes for these namespaces.


nsManager

protected final NamespaceManager nsManager
Current namespace manager. New prefixes are not registered here, new manager is created instead.

Constructor Detail

NewPrefixesQueryWizardPage

public NewPrefixesQueryWizardPage(Set<String> namespaces,
                                  NamespaceManager nsManager)
Constructor.

Parameters:
namespaces - get prefixes for these namespaces.
nsManager - current namespace manager. New prefixes are not registered here, new manager is created instead.
Method Detail

handleCreateControl

public 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

public 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.