Package org.netbeans.modules.versioning.util

Examples of org.netbeans.modules.versioning.util.DialogBoundsPreserver


        dialogDescriptor.setModal(true);
        dialogDescriptor.setHelpCtx(helpCtx);

        Dialog dialog = DialogDisplayer.getDefault().createDialog(dialogDescriptor);
        if (name != null) {
            dialog.addWindowListener(new DialogBoundsPreserver(GitModuleConfig.getDefault().getPreferences(), name)); // NOI18N
        }
        dialog.getAccessibleContext().setAccessibleDescription(NbBundle.getMessage(GitRepositoryUI.class, "ACSD_RepositoryPanel"));

        dialog.setVisible(true);
    }
View Full Code Here


        panel.putClientProperty("contentTitle", contentTitle)// NOI18N
        panel.putClientProperty("DialogDescriptor", dd); // NOI18N
        final Dialog dialog = DialogDisplayer.getDefault().createDialog(dd);

        dialog.addWindowListener(new DialogBoundsPreserver(GitModuleConfig.getDefault().getPreferences(), "git.commit.dialog")); // NOI18N
        dialog.pack();
        dialog.setVisible(true);

        if (dd.getValue() == commitButton) {
View Full Code Here

TOP

Related Classes of org.netbeans.modules.versioning.util.DialogBoundsPreserver

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.