Package simtools.ui

Examples of simtools.ui.UserPropertiesEditor


     * <br><b>Summary:</b><br>
     * Use this method to display the options dialog.
     */
    private void optionsAction() {
        //Construct the properties editor that will be used to edit/import/export the properties.
        UserPropertiesEditor propEditor=new UserPropertiesEditor(instance);
            propEditor.setLocationRelativeTo(instance);
        //show the editor.
        if(propEditor.showAndUpdate(userProperties,true)){
            //If we are here, it means that users changes the properties, and save the changes.
            setViewerInfo(getString("statusOptionsChanged"));
        }
    }
View Full Code Here


            return;
        } else if (e.getSource() == miPreferencesPanel) {
            // Do always create a new instance of UPE, to have new contents, and
            // not
            // duplication of properties at each dialog call.
            propEditor = new UserPropertiesEditor(owner);
            setStaticProperties(userProperties);
            if (propEditor.showAndUpdate(userProperties, true, Run.productName)) {
                getStaticProperties(userProperties);
            }
            return;
View Full Code Here

TOP

Related Classes of simtools.ui.UserPropertiesEditor

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.