|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectWizard
JParameterListWizard
public class JParameterListWizard
The parameter list wizard.
Field Summary |
---|
Fields inherited from class Wizard |
---|
DEFAULT_IMAGE |
Constructor Summary | |
---|---|
JParameterListWizard(String title,
String description,
List<Parameter<?>> contents)
Constructor. |
|
JParameterListWizard(String title,
String description,
List<Parameter<?>> contents,
Map<String,Object> connectionParams)
|
Method Summary | |
---|---|
void |
addPages()
|
Map<String,Object> |
getConnectionParameters()
Retrieve the connection parameters entered |
File |
getFile()
Helper method that returns the "url" element of the connection parameters as a File, if present. |
boolean |
performFinish()
|
Methods inherited from class Wizard |
---|
addPage, canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getShell, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitle |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JParameterListWizard(String title, String description, List<Parameter<?>> contents)
title
- title for the dialogdescription
- brief description to be displayed on the pagecontents
- a List
of Parameter
objects defining the data being requestedpublic JParameterListWizard(String title, String description, List<Parameter<?>> contents, Map<String,Object> connectionParams)
Method Detail |
---|
public void addPages()
addPages
in interface IWizard
addPages
in class Wizard
public boolean performFinish()
performFinish
in interface IWizard
performFinish
in class Wizard
public Map<String,Object> getConnectionParameters()
Map
of connection parameterspublic File getFile()
URL url = (URL) myWizard.getConnectionParameters().get("url");
File file = DataUtilities.urlToFile(url);
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |