|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object JDialogScriptableBase 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 algorithmMethod Detail |
---|
public void clickClose()
clickClose
in class ProcessingDialog
public boolean clickOk()
clickOk
in class ProcessingDialog
public boolean clickOpen(java.io.File file)
clickOpen
in class ProcessingDialog
file
- the file
public void clickSaveAll(java.io.File saveDir)
clickSaveAll
in class ProcessingDialog
saveDir
- the save dirpublic void clickSaveDefinition(java.io.File saveFile)
clickSaveDefinition
in class ProcessingDialog
saveFile
- the save filepublic void clickSaveInput(java.io.File saveFile)
clickSaveInput
in class ProcessingDialog
saveFile
- the save filepublic void componentHidden(java.awt.event.ComponentEvent arg0)
componentHidden
in interface java.awt.event.ComponentListener
componentHidden
in class ProcessingDialog
public void componentMoved(java.awt.event.ComponentEvent arg0)
componentMoved
in interface java.awt.event.ComponentListener
componentMoved
in class ProcessingDialog
public void componentResized(java.awt.event.ComponentEvent event)
componentResized
in interface java.awt.event.ComponentListener
componentResized
in class ProcessingDialog
event
- the eventpublic void componentShown(java.awt.event.ComponentEvent arg0)
componentShown
in interface java.awt.event.ComponentListener
componentShown
in class ProcessingDialog
protected void createInputDialog()
createInputDialog
in class ProcessingDialog
public javax.swing.JMenuBar createInputMenuBar()
createInputMenuBar
in class ProcessingDialog
public void dispose()
dispose
in class ProcessingDialog
protected void doPostAlgorithmActions()
doPostAlgorithmActions
in class ProcessingDialog
public ParamInputView getInputView()
getInputView
in class ProcessingDialog
public ParamOutputView getOutputView()
getOutputView
in class ProcessingDialog
public ViewJFrameBase getParentFrame()
getParentFrame
in class ProcessingDialog
public void init(java.io.File pipeFile)
init
in class ProcessingDialog
pipeFile
- pipe filepublic void init(PipeAlgorithm pipe)
init
in class ProcessingDialog
pipe
- algorithm
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |