Package org.gephi.project.api

Examples of org.gephi.project.api.ProjectPropertiesUI.load()


    public void actionPerformed(ActionEvent e) {
        ProjectPropertiesUI ui = Lookup.getDefault().lookup(ProjectPropertiesUI.class);
        if (ui != null) {
            JPanel panel = ui.getPanel();
            ui.load(project);
            DialogDescriptor dd = new DialogDescriptor(panel, NbBundle.getMessage(ProjectNode.class, "ProjectNode_projectProperties_dialogTitle"));
            Object result = DialogDisplayer.getDefault().notify(dd);
            if (result == NotifyDescriptor.OK_OPTION) {
                ui.save(project);
            }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.