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

Side by Side Diff: pkg/analysis_server/lib/plugin/occurrences.dart

Issue 1337143002: Add OCCURRENCES_CONTRIBUTOR_EXTENSION_POINT_ID. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 /** 5 /**
6 * Support for client code that extends the analysis server by adding new 6 * Support for client code that extends the analysis server by adding new
7 * navigation contributors. 7 * occurrences contributors.
8 */ 8 */
9 library analysis_server.plugin.navigation; 9 library analysis_server.plugin.occurrences;
10 10
11 import 'package:analysis_server/analysis/navigation/navigation_core.dart'; 11 import 'package:analysis_server/analysis/occurrences_core.dart';
12 import 'package:analysis_server/src/plugin/server_plugin.dart'; 12 import 'package:analysis_server/src/plugin/server_plugin.dart';
13 import 'package:plugin/plugin.dart'; 13 import 'package:plugin/plugin.dart';
14 14
15 /** 15 /**
16 * The identifier of the extension point that allows plugins to register 16 * The identifier of the extension point that allows plugins to register
17 * navigation contributors. The object used as an extension must be 17 * element occurrences. The object used as an extension must be
18 * a [NavigationContributor]. 18 * a [OccurrencesContributor].
19 */ 19 */
20 final String NAVIGATION_CONTRIBUTOR_EXTENSION_POINT_ID = Plugin.join( 20 final String OCCURRENCES_CONTRIBUTOR_EXTENSION_POINT_ID = Plugin.join(
21 ServerPlugin.UNIQUE_IDENTIFIER, 21 ServerPlugin.UNIQUE_IDENTIFIER,
22 ServerPlugin.NAVIGATION_CONTRIBUTOR_EXTENSION_POINT); 22 ServerPlugin.OCCURRENCES_CONTRIBUTOR_EXTENSION_POINT);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698