Mercurial > projects > dwt-addons
comparison dwtx/jface/text/hyperlink/URLHyperlink.d @ 162:1a5b8f8129df
...
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 08 Sep 2008 00:51:37 +0200 |
parents | 25f1f92fa3df |
children |
comparison
equal
deleted
inserted
replaced
161:f8d52b926852 | 162:1a5b8f8129df |
---|---|
53 * @param region | 53 * @param region |
54 * @param urlString | 54 * @param urlString |
55 */ | 55 */ |
56 public this(IRegion region, String urlString) { | 56 public this(IRegion region, String urlString) { |
57 Assert.isNotNull(urlString); | 57 Assert.isNotNull(urlString); |
58 Assert.isNotNull(region); | 58 Assert.isNotNull(cast(Object)region); |
59 | 59 |
60 fRegion= region; | 60 fRegion= region; |
61 fURLString= urlString; | 61 fURLString= urlString; |
62 } | 62 } |
63 | 63 |
88 | 88 |
89 /* | 89 /* |
90 * @see dwtx.jdt.internal.ui.javaeditor.IHyperlink#getHyperlinkText() | 90 * @see dwtx.jdt.internal.ui.javaeditor.IHyperlink#getHyperlinkText() |
91 */ | 91 */ |
92 public String getHyperlinkText() { | 92 public String getHyperlinkText() { |
93 return MessageFormat.format(HyperlinkMessages.getString("URLHyperlink.hyperlinkText"), fURLString ); //$NON-NLS-1$ | 93 return MessageFormat.format(HyperlinkMessages.getString("URLHyperlink.hyperlinkText"), stringcast(fURLString) ); //$NON-NLS-1$ |
94 } | 94 } |
95 | 95 |
96 /** | 96 /** |
97 * Returns the URL string of this hyperlink. | 97 * Returns the URL string of this hyperlink. |
98 * | 98 * |