|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.swt.widgets.Dialog
view.RemoveGenome
public class RemoveGenome
Title: Bioinformatics Project
Description: Genomes Comparacent
Copyright: Copyright (c) 2005-2006
RemoveGenome class opens a new shell, suspending the existing one, it displays a combo presenting genomes names in the input directory so a user can choose one and deletes it.
| Field Summary | |
|---|---|
private org.eclipse.swt.widgets.Combo |
combo
A combo box including genome names. |
protected IDataHandler |
controller_
Magic controller. |
private boolean |
isCancelButton
True if the operation has been canceled that way, no changes in the data base is needed. |
private java.util.ResourceBundle |
message
Internationalization. |
private org.eclipse.swt.widgets.Shell |
parent
DataView shell, in order to take control of the view. |
private org.eclipse.swt.widgets.Shell |
shell
OptionDialog shell, in order to view data in a seperate window. |
| Constructor Summary | |
|---|---|
RemoveGenome(org.eclipse.swt.widgets.Shell par,
IDataHandler controller,
java.lang.String[] genomes)
C'tor, builds the main view, constructs combo and the label. |
|
| Method Summary | |
|---|---|
boolean |
isOperationCanceled()
Indicates wether the operation has been canceled or not. |
void |
open()
Views the RemoveGenome new shell, and initiates it with combo and the apporpriate text/buttons. |
| Methods inherited from class org.eclipse.swt.widgets.Dialog |
|---|
checkSubclass, getParent, getStyle, getText, setText |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected IDataHandler controller_
private org.eclipse.swt.widgets.Shell shell
private org.eclipse.swt.widgets.Shell parent
private boolean isCancelButton
private org.eclipse.swt.widgets.Combo combo
private java.util.ResourceBundle message
| Constructor Detail |
|---|
public RemoveGenome(org.eclipse.swt.widgets.Shell par,
IDataHandler controller,
java.lang.String[] genomes)
par - Shell: Dataview shell.controller - IDataHandler: Magic controller.genomes - String[]: a set of genomes names passed from DataView.| Method Detail |
|---|
public void open()
public boolean isOperationCanceled()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||