|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.unex.sextante.gui.core.DefaultGUIFactory
public class DefaultGUIFactory
A default GUIFactory which shows SEXTANTE elements as model swing dialogs
Field Summary |
---|
Fields inherited from interface es.unex.sextante.gui.core.IGUIFactory |
---|
CANCEL, OK |
Constructor Summary | |
---|---|
DefaultGUIFactory()
|
Method Summary | |
---|---|
void |
showAdditionalResultsDialog(java.util.ArrayList components)
Shows the additional results dialog, only if there is at least one additional result |
int |
showAlgorithmDialog(GeoAlgorithm alg,
javax.swing.JDialog parent)
Shows the dialog for the specified algorithm |
int |
showAlgorithmDialogForModeler(GeoAlgorithm algorithm,
java.lang.String sName,
java.lang.String sDescription,
ModelAlgorithm modelAlgorithm,
java.util.HashMap dataObjects,
javax.swing.JDialog parent)
Shows the dialog to add the selected algorithm to a model using the graphical modeler |
void |
showBatchProcessingDialog(GeoAlgorithm alg,
javax.swing.JDialog parent)
Shows the batch processing dialog for the specified algorithm |
void |
showCommandLineDialog()
Shows the command-line dialog |
void |
showGenericInfoDialog(java.awt.Component component,
java.lang.String text)
Shows a simple dialog with the specified component as its only content |
void |
showHelpDialog(GeoAlgorithm algorithm)
Shows the help manager dialog, selecting the specified algorithm as the current help item |
void |
showHelpDialog(java.lang.String sFile)
Shows the help manager dialog, selecting as the current help item that with the associated filename equal to the specified filename. |
void |
showHelpEditionDialog(GeoAlgorithm alg)
Shows the help editing dialog for the specified algorithm |
void |
showHistoryDialog()
Shows the history dialog |
void |
showModelerDialog()
Shows the modeler dialog |
void |
showModelerDialog(ModelAlgorithm alg)
Opens a model and shows the modeler dialog. |
void |
showSettingsDialog(ToolboxPanel panel,
javax.swing.JDialog parent)
Show the settings dialog |
void |
showToolBoxDialog()
Shows the SEXTANTE toolbox |
void |
updateToolbox()
If the toolbox is visible, it updates its list of algorithms |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultGUIFactory()
Method Detail |
---|
public void showToolBoxDialog()
IGUIFactory
showToolBoxDialog
in interface IGUIFactory
public int showAlgorithmDialog(GeoAlgorithm alg, javax.swing.JDialog parent)
IGUIFactory
showAlgorithmDialog
in interface IGUIFactory
alg
- a GeoAlgorithmparent
- the parent dialog (usually the toolbox)
public int showAlgorithmDialogForModeler(GeoAlgorithm algorithm, java.lang.String sName, java.lang.String sDescription, ModelAlgorithm modelAlgorithm, java.util.HashMap dataObjects, javax.swing.JDialog parent)
IGUIFactory
showAlgorithmDialogForModeler
in interface IGUIFactory
algorithm
- a GeoAlgorithmsName
- the name of the algorithmsDescription
- the description of the algorithmmodelAlgorithm
- the model to add the algorithm todataObjects
- the set of data objects currently in the modelparent
- the parent dialog
public void showSettingsDialog(ToolboxPanel panel, javax.swing.JDialog parent)
IGUIFactory
showSettingsDialog
in interface IGUIFactory
panel
- The toolbox panelparent
- the parent dialog from which this method
was invokedpublic void showModelerDialog()
IGUIFactory
showModelerDialog
in interface IGUIFactory
public void showModelerDialog(ModelAlgorithm alg)
IGUIFactory
showModelerDialog
in interface IGUIFactory
alg
- the model. it will be reopened from its filename,
that meaning that it must have been saved before opening.
If it has not been save and its filename is null, the dialog
will open with no model.public void showHelpEditionDialog(GeoAlgorithm alg)
IGUIFactory
showHelpEditionDialog
in interface IGUIFactory
alg
- the algorithmpublic void showHelpDialog(GeoAlgorithm algorithm)
IGUIFactory
showHelpDialog
in interface IGUIFactory
algorithm
- the algorithm to select as the current help itempublic void showHelpDialog(java.lang.String sFile)
IGUIFactory
showHelpDialog
in interface IGUIFactory
sFile
- the help filenamepublic void showAdditionalResultsDialog(java.util.ArrayList components)
IGUIFactory
showAdditionalResultsDialog
in interface IGUIFactory
components
- a list of components representing additionalpublic void showHistoryDialog()
IGUIFactory
showHistoryDialog
in interface IGUIFactory
public void showCommandLineDialog()
IGUIFactory
showCommandLineDialog
in interface IGUIFactory
public void showGenericInfoDialog(java.awt.Component component, java.lang.String text)
IGUIFactory
showGenericInfoDialog
in interface IGUIFactory
component
- the component to add to the dialogtext
- the title of the dialogpublic void showBatchProcessingDialog(GeoAlgorithm alg, javax.swing.JDialog parent)
IGUIFactory
showBatchProcessingDialog
in interface IGUIFactory
alg
- The algorithmparent
- the parent dialog (usually the toolbox)public void updateToolbox()
IGUIFactory
updateToolbox
in interface IGUIFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |