Package clips.directory.dialogs.mkb10

Examples of clips.directory.dialogs.mkb10.DirectoryDialogMKB10


        }
    }//GEN-LAST:event_chOrderedActionPerformed

    private void btChangeMkbActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btChangeMkbActionPerformed
        try {
            DirectoryDialogMKB10 ddd = new DirectoryDialogMKB10(false, directionLocal.getMkb());
            ddd.setVisible(true);
            if (ddd.getDlgResult() == DirectoryDialogMKB10.DLG_OK) {
                Selector<DirectoryMKB10Item> ii = ddd.getSelectedItems();
                if (ii.size() > 0) {
                    DirectoryMKB10Item item = ii.get(0);
                    tfMkb.setText(item.toString());
                    directionLocal.setMkb(item);
                }
View Full Code Here


    private void btAddActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btAddActionPerformed
        try {
            List<DiagnosisLocal> accompDiagnosis = diagnosisLocal.getAccompDiagnosis();
            DiagnosisLocal newDiagnosis = new DiagnosisLocal(diagnosisLocal.getSerrenLocal());
            newDiagnosis.addContentStateListener(getContainer());
            DirectoryDialogMKB10 dlg = new DirectoryDialogMKB10(false, newDiagnosis.getMkb());
            dlg.setVisible(true);
            if (dlg.getDlgResult() == ModalDialog.DLG_OK) {
                Selector selectedItems = dlg.getSelectedItems();
                if (selectedItems.size() > 0) {
                    DirectoryMKB10Item mkb10item = (DirectoryMKB10Item) selectedItems.get(0);
                    newDiagnosis.setMkb(mkb10item);
                    newDiagnosis.setReferencedDiagnosis(diagnosisLocal);
                    newDiagnosis.setEncounter(diagnosisLocal.getEncounter());
View Full Code Here

    int col = tabAccomDiags.getSelectedColumn();
    if (evt.getClickCount() == 2
            && col == TableModelAccompDiagnosisList.COL_MKB
            && tabAccomDiags.isCellEditable(row, col)) {
        try {
            DirectoryDialogMKB10 dlg = new DirectoryDialogMKB10(false, tabAccomDiags.getValueAt(row, col));
            dlg.setVisible(true);
            if (dlg.getDlgResult() == ModalDialog.DLG_OK) {
                Selector selectedItems = dlg.getSelectedItems();
                if (selectedItems.size() > 0) {
                    DirectoryMKB10Item mkb10item = (DirectoryMKB10Item) selectedItems.get(0);
                    tabAccomDiags.setValueAt(mkb10item, row, col);
                }
            }
View Full Code Here

    }// </editor-fold>//GEN-END:initComponents

    private void btMkbActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btMkbActionPerformed
        try {
            DirectoryDialogMKB10 ddd = new DirectoryDialogMKB10(false, selectedItem);
            ddd.setAlwaysOnTop(true);
            ddd.setVisible(true);
            if (ddd.getDlgResult() == DirectoryDialogMKB10.DLG_OK) {
                Selector<DirectoryMKB10Item> ii = ddd.getSelectedItems();
                if (ii.size() > 0) {
                    selectedItem = ii.get(0);
                } else {
                    selectedItem = null;
                }
View Full Code Here

TOP

Related Classes of clips.directory.dialogs.mkb10.DirectoryDialogMKB10

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.