public class LinkSelectionService extends java.lang.Object implements ILinkProvider, ILinkProviderEx
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_ATTRIBUTE |
| Constructor and Description |
|---|
LinkSelectionService() |
| Modifier and Type | Method and Description |
|---|---|
protected static org.eclipse.core.runtime.IConfigurationElement[] |
getConfigurationElements() |
protected static java.lang.Object |
getElementExecutableExtension(org.eclipse.core.runtime.IConfigurationElement element) |
static LinkSelectionService |
getInstance()
Returns the singleton instance of the link selection service.
|
com.ibm.xtools.richtext.control.internal.html.Link |
getLink(java.lang.String originalUrl,
java.lang.String originalDisplayName)
Deprecated.
use
getNewLink(String, String) method instead |
Link |
getNewLink(java.lang.String originalUrl,
java.lang.String originalDisplayName)
Given original url and display name of a link, this method provides way
to change them (through pop up UI or other ways).
|
public static final java.lang.String CLASS_ATTRIBUTE
public static LinkSelectionService getInstance()
protected static org.eclipse.core.runtime.IConfigurationElement[] getConfigurationElements()
protected static java.lang.Object getElementExecutableExtension(org.eclipse.core.runtime.IConfigurationElement element)
element - a link selection configuration elementpublic com.ibm.xtools.richtext.control.internal.html.Link getLink(java.lang.String originalUrl,
java.lang.String originalDisplayName)
getNewLink(String, String) method insteadILinkProvidergetLink in interface ILinkProvideroriginalUrl - original URL value of a link. This value can be null.originalDisplayName - original display name of a link. The value can be null.public Link getNewLink(java.lang.String originalUrl, java.lang.String originalDisplayName)
ILinkProviderExgetNewLink in interface ILinkProviderExoriginalUrl - original URL value of a link. This value can be null.originalDisplayName - original display name of a link. The value can be null.