Package org.eclipse.wst.sse.ui.preferences

Examples of org.eclipse.wst.sse.ui.preferences.ICompletionProposalCategoriesConfigurationWriter.loadDefaults()


          int returnValue = dialog.open();
         
          //based on user actions either reset defaults or open preference dialog
          if (restoreId == returnValue || settingsId == returnValue) {
            if (restoreId == returnValue) {
              propertiesExtension.loadDefaults();
              propertiesExtension.saveConfiguration();
            }
            if (settingsId == returnValue) {
          PreferencesUtil.createPreferenceDialogOn(shell,
              propertiesExtension.getPropertiesPageID(), null, null).open();
View Full Code Here


          int returnValue = dialog.open();
         
          //based on user actions either reset defaults or open preference dialog
          if (restoreId == returnValue || settingsId == returnValue) {
            if (restoreId == returnValue) {
              propertiesExtension.loadDefaults();
              propertiesExtension.saveConfiguration();
            }
            if (settingsId == returnValue) {
          PreferencesUtil.createPreferenceDialogOn(shell,
              propertiesExtension.getPropertiesPageID(), null, null).open();
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.