|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object view.ParametersFrame
public class ParametersFrame
Title: Bioinformatics Project
Description: Genomes Comparacent
Copyright: Copyright (c) 2005-2006
ParametersFrame is the class that sets the values and text in the parameters tab, saves changes , and restores default values.
Field Summary | |
---|---|
private org.eclipse.swt.widgets.Label |
bp1Label
"bp" label. |
private org.eclipse.swt.widgets.Label |
bp2Label
"bp" label. |
private org.eclipse.swt.widgets.Label |
bp3Label
"bp" label. |
private org.eclipse.swt.widgets.Label |
bp4Label
"bp" label. |
private org.eclipse.swt.widgets.Label |
bp5Label
"bp" label. |
private double |
cleanISPerc
Default parameter. |
private org.eclipse.swt.widgets.Label |
cleanISPerclabel
Parameter label. |
private org.eclipse.swt.widgets.Text |
cleanISPerctext
Text field for the parameter. |
private double |
cleanMinLen
Default parameter. |
private org.eclipse.swt.widgets.Label |
cleanMinLenlabel
Parameter label. |
private org.eclipse.swt.widgets.Text |
cleanMinLentext
Text field for the parameter. |
private double |
cleanProPerc
Default parameter. |
private org.eclipse.swt.widgets.Label |
cleanProPerclabel
Parameter label. |
private org.eclipse.swt.widgets.Text |
cleanProPerctext
Text field for the parameter. |
private IDataHandler |
controller_
Magic controller. |
private double |
dupPerc
Parameters set by the user. |
private org.eclipse.swt.widgets.Label |
dupPerclabel
Parameter label. |
private org.eclipse.swt.widgets.Text |
dupPerctext
Text field for the parameter. |
private double |
eval
Default parameter. |
private org.eclipse.swt.widgets.Label |
evallabel
Parameter label. |
private org.eclipse.swt.widgets.Text |
evaltext
Text field for the parameter. |
private long |
gapExtractLength
Default parameter. |
private org.eclipse.swt.widgets.Label |
gapExtractLengthlabel
Parameter label. |
private org.eclipse.swt.widgets.Text |
gapExtractLengthtext
Text field for the parameter. |
private long |
gapJoinLength
Default parameter. |
private org.eclipse.swt.widgets.Label |
gapJoinLengthlabel
Parameter label. |
private org.eclipse.swt.widgets.Text |
gapJoinLengthtext
Text field for the parameter. |
private org.eclipse.swt.widgets.Group |
group1
Parameters group: includes texts/labels. |
private org.eclipse.swt.widgets.Group |
group2
Parameters group: includes texts/labels. |
private org.eclipse.swt.widgets.Group |
group3
Parameters group: includes texts/labels. |
private org.eclipse.swt.widgets.Group |
group4
Parameters group: includes texts/labels. |
private org.eclipse.swt.widgets.Group |
group5
Parameters group: includes texts/labels. |
private org.eclipse.swt.widgets.Group |
group6
Parameters group: includes texts/labels. |
private org.eclipse.swt.widgets.TabItem |
item1
Preprocessing parametrs tab item. |
private org.eclipse.swt.widgets.TabItem |
item2
mapping parametrs tab item. |
private org.eclipse.swt.custom.CTabFolder |
MainTF
Magic main tab folder. |
private org.eclipse.swt.custom.CTabItem |
MainTI
Magic main tab item. |
private org.eclipse.swt.widgets.Button |
OKButton
A button. |
private org.eclipse.swt.widgets.Button |
OKButton2
A button. |
private double |
orthPerc
Parameters set by the user. |
private org.eclipse.swt.widgets.Label |
orthPerclabel
Parameter label. |
private org.eclipse.swt.widgets.Text |
orthPerctext
Text field for the parameter. |
private org.eclipse.swt.widgets.Composite |
paratab
Parameters tab item control. |
private org.eclipse.swt.widgets.Label |
Per1Label
"%" label. |
private org.eclipse.swt.widgets.Label |
Per2Label
"%" label. |
(package private) org.eclipse.swt.widgets.Shell |
Pshell
DataView shell. |
private org.eclipse.swt.widgets.Button |
RestoreDefaultButton1
A button. |
private org.eclipse.swt.widgets.Button |
RestoreDefaultButton2
A button. |
private org.eclipse.swt.widgets.Label |
sep1
Seperator. |
private long |
stitchDifference
Default parameter. |
private org.eclipse.swt.widgets.Label |
stitchDifferencelabel
Parameter label. |
private org.eclipse.swt.widgets.Text |
stitchDifferencetext
Text field for the parameter. |
private long |
stitchDistance
Default parameter. |
private org.eclipse.swt.widgets.Label |
stitchDistancelabel
Parameter label. |
private org.eclipse.swt.widgets.Text |
stitchDistancetext
Text field for the parameter. |
private long |
stitchMinLength
Default parameter. |
private org.eclipse.swt.widgets.Label |
stitchMinLengthlabel
Parameter label. |
private org.eclipse.swt.widgets.Text |
stitchMinLengthtext
Text field for the parameter. |
private org.eclipse.swt.widgets.TabFolder |
tabFolder1
Parameters tab folder. |
private double |
UcleanISPerc
Parameters set by the user. |
private double |
UcleanMinLen
Parameters set by the user. |
private double |
UcleanProPerc
Parameters set by the user. |
private double |
UdupPerc
Parameters set by the user. |
private double |
Ueval
Parameters set by the user. |
private long |
UgapExtractLength
Parameters set by the user. |
private long |
UgapJoinLength
Parameters set by the user. |
private double |
UorthPerc
Parameters set by the user. |
private long |
UstitchDifference
Parameters set by the user. |
private long |
UstitchDistance
Parameters set by the user. |
private long |
UstitchMinLength
Parameters set by the user. |
Constructor Summary | |
---|---|
ParametersFrame(org.eclipse.swt.custom.CTabFolder tabF,
org.eclipse.swt.custom.CTabItem tabI,
org.eclipse.swt.widgets.Shell shell,
IDataHandler cont)
C'tor, initiates parameters tab with the default groups/texts/labels and contructs the buttons. |
Method Summary | |
---|---|
void |
getParametersFromINI(Magic magic)
Extract default parameters from Magic data structure. |
private void |
setMappingDefaultVals()
Restores Magic contant mapping parameters. |
void |
setParametersINI(java.lang.String OutputIni,
java.lang.String inputDir,
java.lang.String outputDir,
java.lang.String Lang)
Write user parameters into Magic.ini file. |
private void |
setPreProccesingDefaultVals()
Restores Magic contant preprocessing parameters. |
protected void |
setUserParameters()
Sets parameters entered by the user to default, also stores data in the "Magic.ini" file. |
void |
show(org.eclipse.swt.custom.CTabItem paraitem)
Sets parameters tabitem to be paraitem, and its control paratab. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final long gapExtractLength
private final long gapJoinLength
private final long stitchDifference
private final long stitchMinLength
private final long stitchDistance
private final double eval
private final double cleanISPerc
private final double cleanProPerc
private final double cleanMinLen
org.eclipse.swt.widgets.Shell Pshell
private org.eclipse.swt.widgets.Text gapExtractLengthtext
private org.eclipse.swt.widgets.Text gapJoinLengthtext
private org.eclipse.swt.widgets.Text stitchDifferencetext
private org.eclipse.swt.widgets.Text stitchMinLengthtext
private org.eclipse.swt.widgets.Text stitchDistancetext
private org.eclipse.swt.widgets.Text evaltext
private org.eclipse.swt.widgets.Text cleanISPerctext
private org.eclipse.swt.widgets.Text cleanProPerctext
private org.eclipse.swt.widgets.Text dupPerctext
private org.eclipse.swt.widgets.Text orthPerctext
private org.eclipse.swt.widgets.Text cleanMinLentext
private org.eclipse.swt.widgets.Label sep1
private org.eclipse.swt.widgets.Label gapExtractLengthlabel
private org.eclipse.swt.widgets.Label gapJoinLengthlabel
private org.eclipse.swt.widgets.Label stitchDifferencelabel
private org.eclipse.swt.widgets.Label stitchMinLengthlabel
private org.eclipse.swt.widgets.Label stitchDistancelabel
private org.eclipse.swt.widgets.Label evallabel
private org.eclipse.swt.widgets.Label cleanISPerclabel
private org.eclipse.swt.widgets.Label cleanProPerclabel
private org.eclipse.swt.widgets.Label dupPerclabel
private org.eclipse.swt.widgets.Label orthPerclabel
private org.eclipse.swt.widgets.Label cleanMinLenlabel
private org.eclipse.swt.widgets.Label bp1Label
private org.eclipse.swt.widgets.Label bp2Label
private org.eclipse.swt.widgets.Label bp3Label
private org.eclipse.swt.widgets.Label bp4Label
private org.eclipse.swt.widgets.Label bp5Label
private org.eclipse.swt.widgets.Label Per1Label
private org.eclipse.swt.widgets.Label Per2Label
private org.eclipse.swt.custom.CTabFolder MainTF
private org.eclipse.swt.custom.CTabItem MainTI
private org.eclipse.swt.widgets.TabFolder tabFolder1
private org.eclipse.swt.widgets.TabItem item1
private org.eclipse.swt.widgets.TabItem item2
private org.eclipse.swt.widgets.Composite paratab
private org.eclipse.swt.widgets.Group group1
private org.eclipse.swt.widgets.Group group2
private org.eclipse.swt.widgets.Group group3
private org.eclipse.swt.widgets.Group group4
private org.eclipse.swt.widgets.Group group5
private org.eclipse.swt.widgets.Group group6
private org.eclipse.swt.widgets.Button OKButton
private org.eclipse.swt.widgets.Button RestoreDefaultButton1
private org.eclipse.swt.widgets.Button RestoreDefaultButton2
private org.eclipse.swt.widgets.Button OKButton2
private long UgapExtractLength
private long UgapJoinLength
private long UstitchDifference
private long UstitchMinLength
private long UstitchDistance
private double Ueval
private double UcleanISPerc
private double UcleanProPerc
private double UcleanMinLen
private double dupPerc
private double UdupPerc
private double orthPerc
private double UorthPerc
private IDataHandler controller_
Constructor Detail |
---|
public ParametersFrame(org.eclipse.swt.custom.CTabFolder tabF, org.eclipse.swt.custom.CTabItem tabI, org.eclipse.swt.widgets.Shell shell, IDataHandler cont)
tabF
- CTabFolder: Magic main tab folder.tabI
- CTabItem: Magic main tab item.shell
- Shell: DataView shell.cont
- IDataHandler: magic controller.Method Detail |
---|
protected void setUserParameters()
private void setPreProccesingDefaultVals()
private void setMappingDefaultVals()
public void show(org.eclipse.swt.custom.CTabItem paraitem)
paraitem
- CTabItem: given tab item.public void setParametersINI(java.lang.String OutputIni, java.lang.String inputDir, java.lang.String outputDir, java.lang.String Lang)
OutputIni
- String:file name.inputDir
- String: magic input location.outputDir
- String: magic output location.Lang
- String: index of the chosen language.public void getParametersFromINI(Magic magic)
magic
- Magic: Data structure.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |