wood.keith.opentools.otnode
Class OTProjectWizardPage1

public class OTProjectWizardPage1
extends BasicWizardPage
This class contains wizard page 1 of the OpenTools Project Wizard.
Version:
1.0 19 May 2003
Author:
Keith Wood (kbwood@iprimus.com.au)
Constructor Detail

OTProjectWizardPage1

public OTProjectWizardPage1(Project project)
Create a new wizard page.
Parameters:
project - the current project

Method Detail

jbInit

protected void jbInit()
Define the user interface. The user interface is constructed here so the JBuilder UI Designer may be used to edit it.

loadData

private void loadData()
Initialise UI controls.

_browseButton_actionPerformed

void _browseButton_actionPerformed(ActionEvent e)
Browse for a directory to use.
Parameters:
e - the triggering event

checkPage

public void checkPage()
Check for user input error. The user has completed this page so check for input error. If any, then report the error in a dialog and throw an exception.

checkCondition

private void checkCondition(boolean condition,
                            String message,
                            JComponent focus)
Check for a user input error.
Parameters:
condition - a test that must be true for the page to be valid
message - the text to display
focus - the UI component to move focus to
Throws:
VetoException - if the condition is not met

getName

public String getName()
Fetches the name for the new project.
Returns:
the project name

getType

public String getType()
Fetches the type for the new project.
Returns:
the project type

getDirectory

public String getDirectory()
Fetches the directory for the new project.
Returns:
the directory

isHelpIncluded

public boolean isHelpIncluded()
Add support for including help for the new project.
Returns:
true to include help, false if not