|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.ifremer.coser.ui.common.CommonHandler
fr.ifremer.coser.ui.common.DataHandler
fr.ifremer.coser.ui.control.ControlHandler
public class ControlHandler
Control handler for control view.
| Field Summary |
|---|
| Fields inherited from class fr.ifremer.coser.ui.common.CommonHandler |
|---|
fileChooserInstance |
| Constructor Summary | |
|---|---|
ControlHandler()
|
|
| Method Summary | |
|---|---|
void |
cancelDataModification(ControlView view)
Annule les modifications en cours reset les données data, et reload le validator. |
void |
categoryChanged(ControlView controlView,
ActionEvent event)
Selection d'une nouvelle categories dans la liste des categories. |
void |
checkData(ControlView view)
Check project. |
protected void |
clearAllSelection(ControlView controlView)
Vide la selection des 4 tables pour que le bean en cours d'edition soit vidé et que le changement de categories n'arrive pas dans un etat de selection incoherent. |
void |
controlDataTableSelectionChanged(ControlView view)
Called when selection change to display selected bean in edition panel. |
void |
deleteData(ControlView view)
Supprime la ligne en cours d'edition (apres confirmation). |
protected void |
deletedSelectedDataLines(ControlView controlView)
Delete selected line in data table (called from context menu). |
protected void |
disableValidAction(ControlView view)
Desactive le bouton de validation du control. |
void |
displayCompareNumberCatchGraph(ControlView view)
Display data graph, initialized with graph for first specy selected in specyComboModel. |
void |
displayCompareNumberCatchGraph(ControlView view,
String selectedSpecies)
Display data graph, initialized with graph for selected specy selected. |
void |
displayLengthStructureGraph(ControlView view)
Display lengthStructure matrix in matrixviewerpanel. |
void |
displayLogReport(ControlView controlView)
Genere le log des modifications faites lors du control en HTML et l'ouvre dans le navigateur systeme. |
protected void |
generateHTMLReport(ControlView controlView)
Generate global error table model data as html report. |
protected JTable |
getControlDataTable(ControlView controlView)
Return l'intance de la table qui est selectionnée. |
void |
globalErrorTableMouseCLicked(ControlView controlView,
MouseEvent event)
Affiche le menu contextuel de l'arbre qui contient les erreurs de validation globales ou les graphes de comparaison captures/taille dans le cas d'un double clic sur une DiffCatchLengthControlError. |
void |
init(ControlView controlView)
Init control view. |
void |
performFindAndReplace(ControlFindReplaceDialog replaceView)
Perform find and replace. |
void |
saveControl(ControlView view)
Save project after control and display message. |
protected void |
saveProjectControl(ControlView view)
Save project after control. |
protected void |
scrollToVisible(JTable table,
int rowIndex,
int vColIndex)
Scroll le viewport de la table à la ligne demandée. |
protected void |
selectAllErrorGroupLines(ControlView controlView,
CoserConstants.Category category,
ControlErrorGroup validationGroup)
Selectionne toutes les lignes associés au erreur d'un groupe d'erreur. |
void |
showDataTableContextMenu(ControlView controlView,
MouseEvent event)
Affiche le menu contextuel de la table qui contient les données. |
void |
showSelectedError(ControlView view,
TreeSelectionEvent event)
Selectionne, dans la table des données, la ligne correspondant a l'erreur selectionnée dans la table des erreurs. |
void |
updateCompareNumberCatchGraph(ControlGraphFrame view)
Met a jour le graphique lorsque la selection de l'espece change. |
protected void |
updateEditionPanel(ControlView view,
CoserConstants.Category category,
String[] header,
String[] line)
Contruit le panel d'edition du bean. |
void |
validControl(ControlView view)
Set validated control flag to true and save control. |
void |
validDataModification(ControlView view)
Valide les modifications faites sur le bean actuellement edité. |
| Methods inherited from class fr.ifremer.coser.ui.common.DataHandler |
|---|
displayLengthStructureGraph |
| Methods inherited from class fr.ifremer.coser.ui.common.CommonHandler |
|---|
browseFile, getFileChooserInstance, setDefaultCursor, setWaitCursor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ControlHandler()
| Method Detail |
|---|
public void init(ControlView controlView)
controlView - view to initprotected JTable getControlDataTable(ControlView controlView)
controlView - view
public void categoryChanged(ControlView controlView,
ActionEvent event)
controlView - controlViewevent - eventprotected void clearAllSelection(ControlView controlView)
controlView - controlView
public void showDataTableContextMenu(ControlView controlView,
MouseEvent event)
controlView - viewevent - mouse eventprotected void deletedSelectedDataLines(ControlView controlView)
controlView - viewpublic void performFindAndReplace(ControlFindReplaceDialog replaceView)
replaceView - viewpublic void checkData(ControlView view)
view - viewpublic void controlDataTableSelectionChanged(ControlView view)
view - view
public void showSelectedError(ControlView view,
TreeSelectionEvent event)
view - viewevent - selection event
public void globalErrorTableMouseCLicked(ControlView controlView,
MouseEvent event)
DiffCatchLengthControlError.
controlView - viewevent - mouse eventDiffCatchLengthControlError
protected void selectAllErrorGroupLines(ControlView controlView,
CoserConstants.Category category,
ControlErrorGroup validationGroup)
controlView - controlViewvalidationGroup - validationGroup
protected void scrollToVisible(JTable table,
int rowIndex,
int vColIndex)
table - tablerowIndex - lignevColIndex - colonneprotected void generateHTMLReport(ControlView controlView)
controlView -
protected void updateEditionPanel(ControlView view,
CoserConstants.Category category,
String[] header,
String[] line)
null.
view - viewcategory - categoryheader - headerline - line to editpublic void saveControl(ControlView view)
view - viewprotected void saveProjectControl(ControlView view)
view - viewpublic void displayCompareNumberCatchGraph(ControlView view)
view - view
public void displayCompareNumberCatchGraph(ControlView view,
String selectedSpecies)
view - viewselectedSpecies - if not null (auto select species in combo box)public void displayLengthStructureGraph(ControlView view)
view - viewpublic void updateCompareNumberCatchGraph(ControlGraphFrame view)
view - viewpublic void validDataModification(ControlView view)
view - viewpublic void cancelDataModification(ControlView view)
view - viewpublic void deleteData(ControlView view)
view - viewprotected void disableValidAction(ControlView view)
public void validControl(ControlView view)
view - viewpublic void displayLogReport(ControlView controlView)
controlView -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||