public class URILink extends Object
Constructor and Description |
---|
URILink(org.eclipse.swt.widgets.Composite parent,
int style,
URI uri,
String text)
Creates a
Link based on an URI |
public URILink(org.eclipse.swt.widgets.Composite parent, int style, URI uri, String text)
Link
based on an URIparent
- a composite control which will be the parent of the new
instance (cannot be null)style
- the style of control to constructuri
- the URI of the filetext
- the text which should be displayedpublic void refresh(URI uri)
uri
- the URI of the of the filepublic void setLayoutData(Object layoutData)
layoutData
- the new layout data for the receiverControl.setLayoutData(Object)
public org.eclipse.swt.widgets.Link getLink()
public void setText(String text)
text
- the text to setBuild 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a