Package org.eclipse.ui.texteditor
Class HyperlinkDetectorTargetDescriptor
- java.lang.Object
-
- org.eclipse.ui.texteditor.HyperlinkDetectorTargetDescriptor
-
public final class HyperlinkDetectorTargetDescriptor extends java.lang.ObjectDescribes a contribution to the 'org.eclipse.ui.workbench.texteditor.hyperlinkDetectorTargets' extension point.- Since:
- 3.3
- Restriction:
- This class is not intended to be instantiated by clients.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)static HyperlinkDetectorTargetDescriptor[]getContributedHyperlinkDetectorTargets()Returns descriptors for all hyperlink detector extensions.java.lang.StringgetDescription()Returns the hyperlink detector target's description.java.lang.StringgetId()Returns the hyperlink detector target's id.java.lang.StringgetName()Returns the hyperlink detector target's name.java.lang.String[]getTypes()Returns the types that the context of this hyperlink detector target supports.inthashCode()
-
-
-
Method Detail
-
getContributedHyperlinkDetectorTargets
public static HyperlinkDetectorTargetDescriptor[] getContributedHyperlinkDetectorTargets()
Returns descriptors for all hyperlink detector extensions.- Returns:
- an array with the contributed hyperlink detectors
-
getId
public java.lang.String getId()
Returns the hyperlink detector target's id.- Returns:
- the hyperlink detector target's id
-
getName
public java.lang.String getName()
Returns the hyperlink detector target's name.- Returns:
- the hyperlink detector target's name
-
getTypes
public java.lang.String[] getTypes()
Returns the types that the context of this hyperlink detector target supports.- Returns:
- an array with type names that this target's context supports
-
getDescription
public java.lang.String getDescription()
Returns the hyperlink detector target's description.- Returns:
- the hyperlink detector target's description or
nullif not provided
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-