List of usage examples for com.google.gwt.eclipse.core.preferences GWTPreferences setRemoveTerminatedLaunches
public static void setRemoveTerminatedLaunches(boolean remove)
From source file:com.google.gdt.eclipse.suite.preferences.ui.GooglePreferencePage.java
License:Open Source License
@Override public boolean performOk() { boolean selection = updateNotificationCheckbox.getSelection(); if (selection != updateNotificationsEnabledInitalValue) { GdtPreferences.setUpdateNotificationsEnabled(selection); }/*from ww w. j a va 2s.c om*/ boolean removeTerminatedLaunches = removeTerminatedLaunchesButton.getSelection(); if (removeTerminatedLaunchesInitialValue != removeTerminatedLaunches) { GWTPreferences.setRemoveTerminatedLaunches(removeTerminatedLaunches); } performDeferredOk = true; return super.performOk(); }
From source file:com.google.gdt.eclipse.suite.preferences.ui.GwtPreferencePage.java
License:Open Source License
@Override public boolean performOk() { boolean selectionUpdateNotification = updateNotificationCheckbox.getSelection(); // Update Notifications if (selectionUpdateNotification != updateNotificationsEnabledInitalValue) { GdtPreferences.setUpdateNotificationsEnabled(selectionUpdateNotification); }//from w ww . j a v a 2 s .c om // Remove terminated launches boolean selectionRemoveTerminated = removeTerminatedLaunchesButton.getSelection(); if (removeTerminatedLaunchesInitialValue != selectionRemoveTerminated) { GWTPreferences.setRemoveTerminatedLaunches(selectionRemoveTerminated); } // Capture Analytics boolean selectionAnalytics = analyticsButton.getSelection(); if (analyticsInitialValue != selectionAnalytics) { GdtPreferences.setAnalytics(selectionAnalytics); } performDeferredOk = true; return super.performOk(); }