|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectJDialogScriptableBase
edu.jhu.ece.iacl.jist.pipeline.ProcessingDialog
edu.jhu.ece.iacl.jist.pipeline.ProcessingGroupDialog
public class ProcessingGroupDialog
Processing Dialog is a generic class that replaces all MIPAV plug-in dialogs The dialogs are auto-generated based on the input and output parameters. This class should not be extended. Any changes to this class will appear globally across all plug-ins.
| Field Summary | |
|---|---|
protected PipeAlgorithmGroup |
pipeAlgorithm
The pipe algorithm. |
| Fields inherited from class edu.jhu.ece.iacl.jist.pipeline.ProcessingDialog |
|---|
algorithm, buttonPanel, inputView, outputView, paramInfoRegex, paramListDelimiter, parentFrame, serialVersionUID |
| Constructor Summary | |
|---|---|
ProcessingGroupDialog()
Empty constructor needed for dynamic instantiation. |
|
ProcessingGroupDialog(PipeAlgorithmGroup pipeAlgorithm)
Constructor creates input and output parameters from algorithm and uses the algorithm name as title. |
|
| Method Summary | |
|---|---|
void |
clickClose()
Handle event when user clicks "Close". |
boolean |
clickOk()
Handle event when user clicks "OK". |
boolean |
clickOpen(java.io.File file)
Handle event when user clicks "Open". |
void |
clickSaveAll(java.io.File saveDir)
Handle event when user clicks "Save Parameters and Resources". |
void |
clickSaveDefinition(java.io.File saveFile)
Handle event when user clicks "Save As Module Definition". |
void |
clickSaveInput(java.io.File saveFile)
Handle event when user clicks "Save As Algorithm Input". |
void |
componentHidden(java.awt.event.ComponentEvent arg0)
|
void |
componentMoved(java.awt.event.ComponentEvent arg0)
|
void |
componentResized(java.awt.event.ComponentEvent event)
Shameless hack to circumvent bug in linux implementation that prevents window from being resized. |
void |
componentShown(java.awt.event.ComponentEvent arg0)
|
protected void |
createInputDialog()
Create input dialog frame from input parameters. |
javax.swing.JMenuBar |
createInputMenuBar()
Create menubar for input pane. |
void |
dispose()
Dispose of dialog. |
protected void |
doPostAlgorithmActions()
Store result images in script runner. |
ParamInputView |
getInputView()
Get input view. |
ParamOutputView |
getOutputView()
Get output view. |
ViewJFrameBase |
getParentFrame()
Get parent frame for Mipav. |
void |
init(java.io.File pipeFile)
Initialize parameters and algorithm from file. |
void |
init(PipeAlgorithm pipe)
Initialize parameter and algorithm from existing algorithm. |
| Methods inherited from class edu.jhu.ece.iacl.jist.pipeline.ProcessingDialog |
|---|
actionPerformed, algorithmPerformed, buildInputButtons, buildOutputButtons, callAlgorithm, load, loadDefaults, saveAll, saveDefaults, saveInput, saveInputBeforeRun, selectSaveDirectory, setGUIFromParams, setOutputDirectory, setParentFrame, start, storeParamsFromGUI, update, windowClosing |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected PipeAlgorithmGroup pipeAlgorithm
| Constructor Detail |
|---|
public ProcessingGroupDialog()
public ProcessingGroupDialog(PipeAlgorithmGroup pipeAlgorithm)
pipeAlgorithm - the algorithm| Method Detail |
|---|
public void clickClose()
clickClose in class ProcessingDialogpublic boolean clickOk()
clickOk in class ProcessingDialogpublic boolean clickOpen(java.io.File file)
clickOpen in class ProcessingDialogfile - the file
public void clickSaveAll(java.io.File saveDir)
clickSaveAll in class ProcessingDialogsaveDir - the save dirpublic void clickSaveDefinition(java.io.File saveFile)
clickSaveDefinition in class ProcessingDialogsaveFile - the save filepublic void clickSaveInput(java.io.File saveFile)
clickSaveInput in class ProcessingDialogsaveFile - the save filepublic void componentHidden(java.awt.event.ComponentEvent arg0)
componentHidden in interface java.awt.event.ComponentListenercomponentHidden in class ProcessingDialogpublic void componentMoved(java.awt.event.ComponentEvent arg0)
componentMoved in interface java.awt.event.ComponentListenercomponentMoved in class ProcessingDialogpublic void componentResized(java.awt.event.ComponentEvent event)
componentResized in interface java.awt.event.ComponentListenercomponentResized in class ProcessingDialogevent - the eventpublic void componentShown(java.awt.event.ComponentEvent arg0)
componentShown in interface java.awt.event.ComponentListenercomponentShown in class ProcessingDialogprotected void createInputDialog()
createInputDialog in class ProcessingDialogpublic javax.swing.JMenuBar createInputMenuBar()
createInputMenuBar in class ProcessingDialogpublic void dispose()
dispose in class ProcessingDialogprotected void doPostAlgorithmActions()
doPostAlgorithmActions in class ProcessingDialogpublic ParamInputView getInputView()
getInputView in class ProcessingDialogpublic ParamOutputView getOutputView()
getOutputView in class ProcessingDialogpublic ViewJFrameBase getParentFrame()
getParentFrame in class ProcessingDialogpublic void init(java.io.File pipeFile)
init in class ProcessingDialogpipeFile - pipe filepublic void init(PipeAlgorithm pipe)
init in class ProcessingDialogpipe - algorithm
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||