|
Lines 22-27
Link Here
|
| 22 |
import org.eclipse.jface.resource.ImageDescriptor; |
22 |
import org.eclipse.jface.resource.ImageDescriptor; |
| 23 |
import org.eclipse.jface.text.IRegion; |
23 |
import org.eclipse.jface.text.IRegion; |
| 24 |
import org.eclipse.jface.text.hyperlink.IHyperlink; |
24 |
import org.eclipse.jface.text.hyperlink.IHyperlink; |
|
|
25 |
import org.eclipse.osgi.util.NLS; |
| 25 |
import org.eclipse.ui.IEditorDescriptor; |
26 |
import org.eclipse.ui.IEditorDescriptor; |
| 26 |
import org.eclipse.ui.IEditorInput; |
27 |
import org.eclipse.ui.IEditorInput; |
| 27 |
import org.eclipse.ui.IPersistableElement; |
28 |
import org.eclipse.ui.IPersistableElement; |
|
Lines 30-35
Link Here
|
| 30 |
import org.eclipse.ui.PartInitException; |
31 |
import org.eclipse.ui.PartInitException; |
| 31 |
import org.eclipse.ui.PlatformUI; |
32 |
import org.eclipse.ui.PlatformUI; |
| 32 |
import org.eclipse.ui.ide.IDE; |
33 |
import org.eclipse.ui.ide.IDE; |
|
|
34 |
import org.eclipse.wst.jsdt.web.ui.Messages; |
| 33 |
import org.eclipse.wst.jsdt.web.ui.internal.JsUIPlugin; |
35 |
import org.eclipse.wst.jsdt.web.ui.internal.JsUIPlugin; |
| 34 |
import org.eclipse.wst.jsdt.web.ui.internal.Logger; |
36 |
import org.eclipse.wst.jsdt.web.ui.internal.Logger; |
| 35 |
|
37 |
|
|
Lines 132-139
Link Here
|
| 132 |
* @see org.eclipse.jface.text.hyperlink.IHyperlink#getHyperlinkText() |
134 |
* @see org.eclipse.jface.text.hyperlink.IHyperlink#getHyperlinkText() |
| 133 |
*/ |
135 |
*/ |
| 134 |
public String getHyperlinkText() { |
136 |
public String getHyperlinkText() { |
| 135 |
// TODO Auto-generated method stub |
137 |
return NLS.bind(Messages.getString(Messages.Open), fURL.toString()); |
| 136 |
return null; |
|
|
| 137 |
} |
138 |
} |
| 138 |
|
139 |
|
| 139 |
/* |
140 |
/* |