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

Side by Side Diff: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/analysis/model/AnalysisServerOutlineListener.java

Issue 242513008: Outline view for information from analysis server. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 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) 2014, the Dart project authors. 2 * Copyright (c) 2014, 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.server; 14
15 package com.google.dart.tools.core.analysis.model;
16
17 import com.google.dart.engine.source.Source;
18 import com.google.dart.server.Outline;
15 19
16 /** 20 /**
17 * The enumeration {@code HighlightType} defines the kinds of highlighting that can be associated 21 * Used by {@link AnalysisServerData} to notify clients that new {@link Outline} is ready.
18 * with a region of text.
19 * 22 *
20 * @coverage dart.server 23 * @coverage dart.tools.core.model
21 */ 24 */
22 public enum HighlightType { 25 public interface AnalysisServerOutlineListener {
23 COMMENT_BLOCK, 26 /**
24 COMMENT_DOCUMENTATION, 27 * Called when {@link Outline} for a particular {@link Source} is ready.
25 COMMENT_END_OF_LINE, 28 */
26 KEYWORD, 29 void computedOutline(String contextId, Source source, Outline outline);
27 LITERAL_BOOLEAN,
28 LITERAL_DOUBLE,
29 LITERAL_INTEGER,
30 LITERAL_LIST,
31 LITERAL_MAP,
32 LITERAL_STRING;
33 } 30 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698