|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object view.History
public class History
Title: Bioinformatics Project
Description: Genomes Comparacent
Copyright: Copyright (c) 2005-2006
History class contains data structure of the history tab, includes history table, parameters tables and listeners for buttons that can be used to run mapping, or showing results of ether mapping/preprocessing phases.
Field Summary | |
---|---|
protected java.lang.String |
ChosenDir
The directory name of the Mapping/preprocessing history. |
protected java.lang.String |
ChosenPart
A string indicating the sub directories types. |
private org.eclipse.swt.widgets.Combo |
comboGene1
Genome combo for filtering the history tables. |
private org.eclipse.swt.widgets.Combo |
comboGene2
Genome combo for filtering the history tables. |
private IDataHandler |
controller_
Magic controller. |
private org.eclipse.swt.widgets.TabFolder |
HisTab
The history tables tab. |
protected boolean |
isParaVisible
Indicates wether the parameters tables are visible or not. |
private SWTTable |
mapHistory
Mapping history table. |
private org.eclipse.swt.widgets.Composite |
MapPComp
The control of the mapping tab item. |
private java.util.ResourceBundle |
messages
Internationalization. |
private org.eclipse.swt.widgets.TabItem |
ParaMapitem
Preprocessing tab item. |
private SWTTable |
preHistory
Pre processing history table. |
private org.eclipse.swt.widgets.Composite |
PrePComp
The control of the preprocessing tab item. |
protected SWTTable |
selectedTable
A reference to the visible(chosen) table. |
private SWTTable[] |
table
Parameters tables. |
private org.eclipse.swt.events.SelectionListener |
TableListener
Both history tables listeners. |
Constructor Summary | |
---|---|
History(org.eclipse.swt.widgets.Shell shell,
org.eclipse.swt.custom.CTabFolder MainTab,
IDataHandler cont,
org.eclipse.swt.widgets.Display display)
C'tor, bulding and viewing the history tab, initiates the tab with the default features (buttons,labels,tables,listeners .. |
Method Summary | |
---|---|
private void |
ClearTables()
|
protected boolean |
FindNeededFiles(java.lang.String InfoDir)
|
protected java.lang.String |
getDirectory(SWTTable Table,
int i)
Constructs a string from the given table lines , this string used as an existing directory name. |
private java.lang.String[] |
getRowString(java.lang.String dir,
java.lang.String part)
Helper method,used in "setTable" method to extract the a line info from the given directory name. |
private void |
setMapTable()
Initiates the mapping parameters tables. |
private void |
setPreTable()
Initiates the preprocessing parameters tables. |
void |
setTable(SWTTable Table,
java.lang.String dir,
java.lang.String part)
Initiates the table rows with relevant histroy regarding chosen genomes in the combo boxes, it searchs through the relevant histroy folder for directories with the relevant names. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private IDataHandler controller_
protected boolean isParaVisible
private org.eclipse.swt.widgets.Combo comboGene1
private org.eclipse.swt.widgets.Combo comboGene2
private SWTTable preHistory
private SWTTable mapHistory
private org.eclipse.swt.events.SelectionListener TableListener
protected SWTTable selectedTable
protected java.lang.String ChosenDir
protected java.lang.String ChosenPart
private SWTTable[] table
private org.eclipse.swt.widgets.Composite PrePComp
private org.eclipse.swt.widgets.Composite MapPComp
private org.eclipse.swt.widgets.TabItem ParaMapitem
private org.eclipse.swt.widgets.TabFolder HisTab
private java.util.ResourceBundle messages
Constructor Detail |
---|
public History(org.eclipse.swt.widgets.Shell shell, org.eclipse.swt.custom.CTabFolder MainTab, IDataHandler cont, org.eclipse.swt.widgets.Display display)
shell
- Shell: DataView shell, used for error messages.MainTab
- CTabFolder: DataView main tab, used to put the history tab in it.cont
- IDataHandler: Magic controller.display
- Display: Dataview display, used for running threads asynchroniusly.Method Detail |
---|
protected boolean FindNeededFiles(java.lang.String InfoDir)
protected java.lang.String getDirectory(SWTTable Table, int i)
Table
- SWTTable: a histroy table.i
- int: the line index in the table.
public void setTable(SWTTable Table, java.lang.String dir, java.lang.String part)
Table
- SWTTable: the selected histroy table.dir
- String: the relvant history directory.part
- String: the sub directories type.private java.lang.String[] getRowString(java.lang.String dir, java.lang.String part)
dir
- String: directory namepart
- String: the sub directories type.
private void setPreTable()
private void setMapTable()
private void ClearTables()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |