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

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

public class GraphSelectorWizardPage
extends BaseWizardPage

Allows user to select between multiple exporters in the exporter graph.

Author:
Martin Vysny

Field Summary
protected  Map<sk.baka.xml.gene.exportgraph.GraphNode,Set<String>> editableChoices
          All choice nodes.
protected  sk.baka.xml.gene.exportgraph.ExportGraph graph
          All exporter graphs needed for exporting the document.
 GraphSelectorWidget gs
          The component.
 
Fields inherited from class sk.uniba.euromath.editor.wizards.BaseWizardPage
name
 
Constructor Summary
GraphSelectorWizardPage(Map<sk.baka.xml.gene.exportgraph.GraphNode,Set<String>> editableChoices, sk.baka.xml.gene.exportgraph.ExportGraph graph)
          Constructor.
 
Method Summary
protected  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

gs

public GraphSelectorWidget gs
The component. Must not be modified.


graph

protected final sk.baka.xml.gene.exportgraph.ExportGraph graph
All exporter graphs needed for exporting the document.


editableChoices

protected final Map<sk.baka.xml.gene.exportgraph.GraphNode,Set<String>> editableChoices
All choice nodes.

Constructor Detail

GraphSelectorWizardPage

public GraphSelectorWizardPage(Map<sk.baka.xml.gene.exportgraph.GraphNode,Set<String>> editableChoices,
                               sk.baka.xml.gene.exportgraph.ExportGraph graph)
Constructor.

Parameters:
editableChoices - all choice nodes. You may compute them using GraphSelectorWidget.getEditableChoices() method.
graph - offer this graph to user. Must not be empty.
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

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.