Package org.exist.client.security

Examples of org.exist.client.security.EditPropertiesDialog


            final int rows[] = fileman.getSelectedRows();
            for(int i = 0; i < rows.length; i++) {
                selected.add(resources.getRow(fileman.convertRowIndexToModel(rows[i])));
            }
           
            final EditPropertiesDialog editPropertiesDialog = new EditPropertiesDialog(service, client.getProperties().getProperty(InteractiveClient.USER), collection, name, mimeType, created, modified, permAider, selected);
            editPropertiesDialog.addWindowListener(new WindowAdapter(){          
                @Override
                public void windowClosed(final WindowEvent e) {
                    try {
                        client.reloadCollection();
                    } catch (final XMLDBException xmldbe) {
                        showErrorMessage(Messages.getString("ClientFrame.197") + xmldbe.getMessage(), xmldbe); //$NON-NLS-1$
                        xmldbe.printStackTrace();
                    }
                }
            });
            editPropertiesDialog.setVisible(true);
           
        } catch (final XMLDBException e) {
            showErrorMessage(Messages.getString("ClientFrame.197") + e.getMessage(), e); //$NON-NLS-1$
            e.printStackTrace();
        }
View Full Code Here

TOP

Related Classes of org.exist.client.security.EditPropertiesDialog

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.