Package org.eclipse.ui.texteditor
Class HyperlinkDetectorDescriptor
java.lang.Object
org.eclipse.ui.texteditor.HyperlinkDetectorDescriptor
Describes a contribution to the 'org.eclipse.ui.workbench.texteditor.hyperlinkDetectors'
extension point.
- Since:
- 3.3
- Restriction:
- This class is not intended to be instantiated by clients.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.Creates a newIHyperlinkDetector.booleanstatic HyperlinkDetectorDescriptor[]Returns descriptors for all hyperlink detector extensions.Returns the hyperlink detector's description.getId()Returns the hyperlink detector's id.Returns the hyperlink detector's modifier keys that need to be pressed for this hyperlink detector.getName()Returns the hyperlink detector's name.Returns the hyperlink detector's target descriptor.Returns the hyperlink detector's target id.inthashCode()
-
Field Details
-
STATE_MASK_POSTFIX
- See Also:
-
-
Method Details
-
getContributedHyperlinkDetectors
Returns descriptors for all hyperlink detector extensions.- Returns:
- an array with the contributed hyperlink detectors
-
createHyperlinkDetector
Deprecated.As of 3.9, replaced bycreateHyperlinkDetectorImplementation()Creates a newAbstractHyperlinkDetector.- Returns:
- the hyperlink detector or
nullif the plug-in isn't loaded yet - Throws:
CoreException- if a failure occurred during creation
-
createHyperlinkDetectorImplementation
Creates a newIHyperlinkDetector.- Returns:
- the hyperlink detector or
nullif the plug-in isn't loaded yet - Throws:
CoreException- if a failure occurred during creation- Since:
- 3.9
-
getId
Returns the hyperlink detector's id.- Returns:
- the hyperlink detector's id
-
getName
Returns the hyperlink detector's name.- Returns:
- the hyperlink detector's name
-
getTarget
Returns the hyperlink detector's target descriptor.- Returns:
- the hyperlink detector's target descriptor
-
getTargetId
Returns the hyperlink detector's target id.- Returns:
- the hyperlink detector's target id
-
getDescription
Returns the hyperlink detector's description.- Returns:
- the hyperlink detector's description or
nullif not provided
-
getModifierKeys
Returns the hyperlink detector's modifier keys that need to be pressed for this hyperlink detector.- Returns:
- the hyperlink detector's description or
nullif not provided
-
canActivatePlugIn
public boolean canActivatePlugIn() -
equals
-
hashCode
public int hashCode()
-
createHyperlinkDetectorImplementation()