Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(120)

Side by Side Diff: editor/tools/plugins/com.google.dart.tools.debug.core/src/com/google/dart/tools/debug/core/DartDebugCorePlugin.java

Issue 166213002: Version 1.2.0-dev.5.7 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/dart/
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012, the Dart project authors. 2 * Copyright (c) 2012, the Dart project authors.
3 * 3 *
4 * Licensed under the Eclipse Public License v1.0 (the "License"); you may not u se this file except 4 * Licensed under the Eclipse Public License v1.0 (the "License"); you may not u se this file except
5 * in compliance with the License. You may obtain a copy of the License at 5 * in compliance with the License. You may obtain a copy of the License at
6 * 6 *
7 * http://www.eclipse.org/legal/epl-v10.html 7 * http://www.eclipse.org/legal/epl-v10.html
8 * 8 *
9 * Unless required by applicable law or agreed to in writing, software distribut ed under the License 9 * Unless required by applicable law or agreed to in writing, software distribut ed under the License
10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY K IND, either express 10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY K IND, either express
11 * or implied. See the License for the specific language governing permissions a nd limitations under 11 * or implied. See the License for the specific language governing permissions a nd limitations under
12 * the License. 12 * the License.
13 */ 13 */
14 package com.google.dart.tools.debug.core; 14 package com.google.dart.tools.debug.core;
15 15
16 import com.google.dart.tools.core.DartCoreDebug; 16 import com.google.dart.tools.core.DartCoreDebug;
17 import com.google.dart.tools.core.utilities.general.StringUtilities; 17 import com.google.dart.tools.core.utilities.general.StringUtilities;
18 import com.google.dart.tools.debug.core.pubserve.PubServeLaunchConfigurationDele gate;
19 import com.google.dart.tools.debug.core.pubserve.PubServeManager; 18 import com.google.dart.tools.debug.core.pubserve.PubServeManager;
20 import com.google.dart.tools.debug.core.util.BrowserManager; 19 import com.google.dart.tools.debug.core.util.BrowserManager;
21 import com.google.dart.tools.debug.core.util.ResourceChangeManager; 20 import com.google.dart.tools.debug.core.util.ResourceChangeManager;
22 import com.google.dart.tools.debug.core.util.ResourceServerManager; 21 import com.google.dart.tools.debug.core.util.ResourceServerManager;
23 22
24 import org.eclipse.core.runtime.IStatus; 23 import org.eclipse.core.runtime.IStatus;
25 import org.eclipse.core.runtime.Plugin; 24 import org.eclipse.core.runtime.Plugin;
26 import org.eclipse.core.runtime.Status; 25 import org.eclipse.core.runtime.Status;
27 import org.eclipse.core.runtime.preferences.IEclipsePreferences; 26 import org.eclipse.core.runtime.preferences.IEclipsePreferences;
28 import org.eclipse.core.runtime.preferences.InstanceScope; 27 import org.eclipse.core.runtime.preferences.InstanceScope;
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 }).start(); 366 }).start();
368 } 367 }
369 368
370 @Override 369 @Override
371 public void stop(BundleContext context) throws Exception { 370 public void stop(BundleContext context) throws Exception {
372 ResourceChangeManager.shutdown(); 371 ResourceChangeManager.shutdown();
373 ResourceServerManager.shutdown(); 372 ResourceServerManager.shutdown();
374 373
375 BrowserManager.getManager().dispose(); 374 BrowserManager.getManager().dispose();
376 PubServeManager.getManager().dispose(); 375 PubServeManager.getManager().dispose();
377 PubServeLaunchConfigurationDelegate.dispose();
378 376
379 if (debugEventListener != null) { 377 if (debugEventListener != null) {
380 DebugPlugin.getDefault().removeDebugEventListener(debugEventListener); 378 DebugPlugin.getDefault().removeDebugEventListener(debugEventListener);
381 379
382 debugEventListener = null; 380 debugEventListener = null;
383 } 381 }
384 382
385 super.stop(context); 383 super.stop(context);
386 384
387 plugin = null; 385 plugin = null;
388 } 386 }
389 387
390 } 388 }
OLDNEW
« no previous file with comments | « no previous file | editor/tools/plugins/com.google.dart.tools.debug.core/src/com/google/dart/tools/debug/core/pubserve/PubServeLaunchConfigurationDelegate.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698