|
Lines 64-70
Link Here
|
| 64 |
import org.eclipse.ui.internal.themes.ThemeRegistry; |
64 |
import org.eclipse.ui.internal.themes.ThemeRegistry; |
| 65 |
import org.eclipse.ui.internal.themes.ThemeRegistryReader; |
65 |
import org.eclipse.ui.internal.themes.ThemeRegistryReader; |
| 66 |
import org.eclipse.ui.internal.util.BundleUtility; |
66 |
import org.eclipse.ui.internal.util.BundleUtility; |
| 67 |
import org.eclipse.ui.internal.util.SWTResourceUtil; |
67 |
//import org.eclipse.ui.internal.util.SWTResourceUtil; |
| 68 |
import org.eclipse.ui.internal.wizards.ExportWizardRegistry; |
68 |
import org.eclipse.ui.internal.wizards.ExportWizardRegistry; |
| 69 |
import org.eclipse.ui.internal.wizards.ImportWizardRegistry; |
69 |
import org.eclipse.ui.internal.wizards.ImportWizardRegistry; |
| 70 |
import org.eclipse.ui.internal.wizards.NewWizardRegistry; |
70 |
import org.eclipse.ui.internal.wizards.NewWizardRegistry; |
|
Lines 254-261
Link Here
|
| 254 |
// Theme registry |
254 |
// Theme registry |
| 255 |
// private ThemeRegistry themeRegistry; |
255 |
// private ThemeRegistry themeRegistry; |
| 256 |
|
256 |
|
|
|
257 |
// RAP [bm] workingSetManager field unneeded, replaced by session-singleton |
| 257 |
// Manager for working sets (IWorkingSet) |
258 |
// Manager for working sets (IWorkingSet) |
| 258 |
private WorkingSetManager workingSetManager; |
259 |
// private WorkingSetManager workingSetManager; |
| 259 |
|
260 |
|
| 260 |
// RAP [rh] workingSetRegistry field unneeded, replaced by session-singleton |
261 |
// RAP [rh] workingSetRegistry field unneeded, replaced by session-singleton |
| 261 |
// Working set registry, stores working set dialogs |
262 |
// Working set registry, stores working set dialogs |
|
Lines 343-352
Link Here
|
| 343 |
|
344 |
|
| 344 |
// RAP [rh] themeRegistry field unneeded, replaced by session-singleton |
345 |
// RAP [rh] themeRegistry field unneeded, replaced by session-singleton |
| 345 |
// themeRegistry = null; |
346 |
// themeRegistry = null; |
| 346 |
if (workingSetManager != null) { |
347 |
|
| 347 |
workingSetManager.dispose(); |
348 |
// RAP [rh] workingSetManager field unneeded, replaced by session-singleton |
| 348 |
workingSetManager = null; |
349 |
// if (workingSetManager != null) { |
| 349 |
} |
350 |
// workingSetManager.dispose(); |
|
|
351 |
// workingSetManager = null; |
| 352 |
// } |
| 353 |
|
| 350 |
// RAP [rh] workingSetRegistry field unneeded, replaced by session-singleton |
354 |
// RAP [rh] workingSetRegistry field unneeded, replaced by session-singleton |
| 351 |
// workingSetRegistry = null; |
355 |
// workingSetRegistry = null; |
| 352 |
|
356 |
|
|
Lines 1335-1346
Link Here
|
| 1335 |
|
1339 |
|
| 1336 |
// TODO normally super.stop(*) would be the last statement in this |
1340 |
// TODO normally super.stop(*) would be the last statement in this |
| 1337 |
// method |
1341 |
// method |
| 1338 |
super.stop(context); |
1342 |
// RAP [bm] cleanup will be done in Workbench#ShutdownHandler |
| 1339 |
if (workingSetManager != null) { |
1343 |
// super.stop(context); |
| 1340 |
workingSetManager.dispose(); |
1344 |
// if (workingSetManager != null) { |
| 1341 |
workingSetManager= null; |
1345 |
// workingSetManager.dispose(); |
| 1342 |
} |
1346 |
// workingSetManager= null; |
| 1343 |
SWTResourceUtil.shutdown(); |
1347 |
// } |
|
|
1348 |
// SWTResourceUtil.shutdown(); |
| 1349 |
// RAPEND |
| 1344 |
} |
1350 |
} |
| 1345 |
|
1351 |
|
| 1346 |
/** |
1352 |
/** |