|
||||||||||
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 | |
---|---|
java.util.ArrayList<java.lang.String> |
getCoordinatesList()
Returns the list of predefined coordinates to be used as input for algorithms that require coordinate pairs. |
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,
java.util.ArrayList<DateAndCommand> command)
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 |
showBatchProcessingFromGISDialog(GeoAlgorithm alg,
javax.swing.JDialog parent)
Shows the batch processing dialog using data from the GIS interface (not from files)for the specified algorithm |
void |
showCommandLineDialog()
Shows the command-line dialog |
void |
showDataExplorer()
Shows the data-explorer 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 |
updateHistory()
If the history is visible, it updates its content. |
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, java.util.ArrayList<DateAndCommand> command)
alg
- a GeoAlgorithmparent
- the parent dialog (usually the toolbox). If null, the main frame is usedcommand
- a list of previous commands to use instead of al the
ones available in the history. If null, all commands from the
history are used
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 showDataExplorer()
void 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 showBatchProcessingFromGISDialog(GeoAlgorithm alg, javax.swing.JDialog parent)
alg
- The algorithmparent
- the parent dialog (usually the toolbox)void updateToolbox()
void updateHistory()
java.util.ArrayList<java.lang.String> getCoordinatesList()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |