|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGUIFactory
a GUI factory implements method to show SEXTANTE elements, adapted to the particular framework being used, and the graphical characteristics of the application SEXTANTE is running onto.
Field Summary | |
---|---|
static int |
CANCEL
|
static int |
OK
|
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 |
Field Detail |
---|
static final int OK
static final int CANCEL
Method Detail |
---|
void showToolBoxDialog()
int showAlgorithmDialog(GeoAlgorithm alg, javax.swing.JDialog parent)
alg
- a GeoAlgorithmparent
- the parent dialog (usually the toolbox)
int showAlgorithmDialogForModeler(GeoAlgorithm algorithm, java.lang.String sName, java.lang.String sDescription, ModelAlgorithm modelAlgorithm, java.util.HashMap dataObjects, javax.swing.JDialog parent)
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
void showSettingsDialog(ToolboxPanel panel, javax.swing.JDialog parent)
panel
- The toolbox panelparent
- the parent dialog from which this method
was invokedvoid showModelerDialog()
void showModelerDialog(ModelAlgorithm alg)
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.void showHelpEditionDialog(GeoAlgorithm alg)
alg
- the algorithmvoid showHelpDialog(GeoAlgorithm algorithm)
algorithm
- the algorithm to select as the current help itemvoid showHelpDialog(java.lang.String sFile)
sFile
- the help filenamevoid showAdditionalResultsDialog(java.util.ArrayList components)
components
- a list of components representing additionalvoid showHistoryDialog()
void showCommandLineDialog()
void showGenericInfoDialog(java.awt.Component component, java.lang.String text)
component
- the component to add to the dialogtext
- the title of the dialogvoid showBatchProcessingDialog(GeoAlgorithm alg, javax.swing.JDialog parent)
alg
- The algorithmparent
- the parent dialog (usually the toolbox)void updateToolbox()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |