Package cli_fmw.directory

Examples of cli_fmw.directory.DialogDirectorySimpleM


}//GEN-LAST:event_btDeleteActionPerformed

    private void btChangeActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btChangeActionPerformed
        try {
            DirectorySimpleItem item = ((TableModelDirectoryEdit) jTable1.getModel()).getItemAt(jTable1.getSelectedRowSorted());
            DialogDirectorySimpleM dialog = new DialogDirectorySimpleM((Frame) getContainer(), currentDirectory, item.getTitle());
            dialog.setVisible(true);
            if (dialog.getDlgResult() == ModalDialog.DLG_OK) {
                DirectorySimpleItem selectedItem = dialog.getSelectedItem();
                if (item == selectedItem) {
                    MessageBox.showWarning(MessageBox.W_SAME_DIRECTORY_ITEM);
                    return;
                }
                currentDirectory.replace(item, selectedItem);
View Full Code Here


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

    private void btRegionCodeActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btRegionCodeActionPerformed
        try {
            DirectoryRegionIdCode dir = DirectoryLocator.getDirectory(DirectoryRegionIdCode.class);
            DialogDirectorySimpleM dlg = new DialogDirectorySimpleM(MainWindow.mainWindow, dir, null, false);
            dlg.setVisible(true);
            if (dlg.getDlgResult() == ModalDialog.DLG_OK
                    && dlg.getSelectedItem() != null) {
                DirectoryRegionIdCodeItem item = (DirectoryRegionIdCodeItem) dlg.getSelectedItem();
                configLocal.setConfigRegionCode(item);
                tfRegionCode.setText(item.getExtKey());
            }
        } catch (ClipsException ex) {
            MessageBox.showException(ex);
View Full Code Here

TOP

Related Classes of cli_fmw.directory.DialogDirectorySimpleM

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.