Package com.ca.directory.jxplorer.tree

Examples of com.ca.directory.jxplorer.tree.NewEntryWin


            JOptionPane.showMessageDialog(owner, CBIntText.get("Because there is no schema currently published by the\ndirectory, changing an entry's object class is unavailable."), CBIntText.get("No Schema"), JOptionPane.INFORMATION_MESSAGE);
            return;
        }
        else
        {
            NewEntryWin userData = new NewEntryWin(dataSource, newDN, newEntry.getAsNonNullAttributes(),
                    this, CBUtility.getParentFrame(this));
            userData.setSize(400, 250);
            CBUtility.center(userData, owner);    // TE: centres window.
            userData.setVisible(true);
        }
    }
View Full Code Here


     * entry and displayed in the table editor.
     */
    public void processVirtualEntry()
    {

        NewEntryWin userData = null;
        if (dataSource.getSchemaOps() == null)
        {
            JOptionPane.showMessageDialog(owner, CBIntText.get("Because there is no schema currently published by the\ndirectory, changing an entry's object class is unavailable."), CBIntText.get("No Schema"), JOptionPane.INFORMATION_MESSAGE);
            return;
        }
        else
        {
            shutVirtualEntryDialog();        //TE: kill the prompt window.
            userData = new NewEntryWin(dataSource, currentEntry.getDN(), this, owner, true);
            userData.setSize(400, 250);
            CBUtility.center(userData, owner);      //TE: centres window.
            userData.setVisible(true);

            while (userData.isVisible())      //TE: don't do anything until the New Entry window is closed.
            {
                try
                {
                    wait();
                }
                catch (Exception e)
                {
                    userData.dispose();
                }
            }
        }

        if (userData.newObjectClasses != null)    //TE: if the user has selected one or more object classes - add them to the entry in the directory.
View Full Code Here

TOP

Related Classes of com.ca.directory.jxplorer.tree.NewEntryWin

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.