Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrsuen2008-12-13 14:25:03 +0000
committerrsuen2008-12-13 14:25:03 +0000
commit28ca52925addf52372d30ed6f22ab394541c82ae (patch)
treedac72a4a2a3aa8a686262382f0ce7728fcc5e844 /examples/bundles/org.eclipse.ecf.example.collab/src/org
parent46c365467060f1fc381406a75365247a9534b8fc (diff)
downloadorg.eclipse.ecf-28ca52925addf52372d30ed6f22ab394541c82ae.tar.gz
org.eclipse.ecf-28ca52925addf52372d30ed6f22ab394541c82ae.tar.xz
org.eclipse.ecf-28ca52925addf52372d30ed6f22ab394541c82ae.zip
Add project-specific JDT settings.
Diffstat (limited to 'examples/bundles/org.eclipse.ecf.example.collab/src/org')
-rw-r--r--examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/internal/example/collab/ui/hyperlink/EclipseCollabHyperlinkDetector.java14
1 files changed, 1 insertions, 13 deletions
diff --git a/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/internal/example/collab/ui/hyperlink/EclipseCollabHyperlinkDetector.java b/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/internal/example/collab/ui/hyperlink/EclipseCollabHyperlinkDetector.java
index 467565376..c59d18eff 100644
--- a/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/internal/example/collab/ui/hyperlink/EclipseCollabHyperlinkDetector.java
+++ b/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/internal/example/collab/ui/hyperlink/EclipseCollabHyperlinkDetector.java
@@ -11,11 +11,7 @@
package org.eclipse.ecf.internal.example.collab.ui.hyperlink;
import org.eclipse.ecf.example.collab.share.EclipseCollabSharedObject.SharedMarker;
-import org.eclipse.jface.text.BadLocationException;
-import org.eclipse.jface.text.IDocument;
-import org.eclipse.jface.text.IRegion;
-import org.eclipse.jface.text.ITextViewer;
-import org.eclipse.jface.text.Region;
+import org.eclipse.jface.text.*;
import org.eclipse.jface.text.hyperlink.AbstractHyperlinkDetector;
import org.eclipse.jface.text.hyperlink.IHyperlink;
@@ -64,10 +60,6 @@ public class EclipseCollabHyperlinkDetector extends AbstractHyperlinkDetector {
}
- /**
- * @param substring
- * @return
- */
private Selection detectSelection(String linkString) {
final int beginIndex = linkString.indexOf(SHARE_FILE_HYPERLINK_SELECTION);
if (beginIndex == -1)
@@ -107,10 +99,6 @@ public class EclipseCollabHyperlinkDetector extends AbstractHyperlinkDetector {
}
}
- /**
- * @param substring
- * @return
- */
private String detectFileName(String substring) {
final int startIndex = substring.indexOf("\""); //$NON-NLS-1$
if (startIndex == -1)

Back to the top