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

Unified Diff: editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/JarEntryEditorInput.java

Issue 440683005: remove unused search and adapter classes and methods (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/JarEntryEditorInput.java
diff --git a/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/JarEntryEditorInput.java b/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/JarEntryEditorInput.java
index fb956fea7247c3001a794c51df94606fdbcc8b14..5dc9d6097fd38a4f8a72e22b86dee29a2b1f953f 100644
--- a/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/JarEntryEditorInput.java
+++ b/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/JarEntryEditorInput.java
@@ -13,9 +13,6 @@
*/
package com.google.dart.tools.ui.internal.text.editor;
-import com.google.dart.core.IJarEntryResource;
-import com.google.dart.core.IPackageFragmentRoot;
-
import org.eclipse.core.resources.IStorage;
import org.eclipse.core.runtime.IPath;
import org.eclipse.jface.resource.ImageDescriptor;
@@ -111,17 +108,6 @@ public class JarEntryEditorInput implements IStorageEditorInput {
*/
@Override
public String getToolTipText() {
- if (fJarEntryFile instanceof IJarEntryResource) {
- IJarEntryResource jarEntry = (IJarEntryResource) fJarEntryFile;
- IPackageFragmentRoot root = jarEntry.getPackageFragmentRoot();
- IPath fullPath = root.getPath().append(fJarEntryFile.getFullPath());
- if (root.isExternal()) {
- return fullPath.toOSString();
- }
- return fullPath.toString();
-
- }
-
IPath fullPath = fJarEntryFile.getFullPath();
if (fullPath == null) {
return null;

Powered by Google App Engine
This is Rietveld 408576698