Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.ui.texteditor
Class HyperlinkDetectorDescriptor

java.lang.Object
  extended by 
org.eclipse.ui.texteditor.HyperlinkDetectorDescriptor

public final class HyperlinkDetectorDescriptor
extends Object

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
static  String STATE_MASK_POSTFIX
           
 
Method Summary
 boolean canActivatePlugIn ()
           
  AbstractHyperlinkDetector createHyperlinkDetector ()
          Creates a new IHyperlinkDetector.
 boolean equals ( Object obj)
           
static  HyperlinkDetectorDescriptor[] getContributedHyperlinkDetectors ()
          Returns descriptors for all hyperlink detector extensions.
  String getDescription ()
          Returns the hyperlink detector's description.
  String getId ()
          Returns the hyperlink detector's id.
  String getModifierKeys ()
          Returns the hyperlink detector's modifier keys that need to be pressed for this hyperlink detector.
  String getName ()
          Returns the hyperlink detector's name.
  HyperlinkDetectorTargetDescriptor getTarget ()
          Returns the hyperlink detector's target descriptor.
  String getTargetId ()
          Returns the hyperlink detector's target id.
 int hashCode ()
           
 
Methods inherited from class java.lang. Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STATE_MASK_POSTFIX

public static final 
String STATE_MASK_POSTFIX
See Also:
Constant Field Values
Method Detail

getContributedHyperlinkDetectors

public static 
HyperlinkDetectorDescriptor[] getContributedHyperlinkDetectors()
Returns descriptors for all hyperlink detector extensions.

Returns:
an array with the contributed hyperlink detectors

createHyperlinkDetector

public 
AbstractHyperlinkDetector createHyperlinkDetector()
                                                  throws 
CoreException
Creates a new IHyperlinkDetector.

Returns:
the hyperlink detector or null if the plug-in isn't loaded yet
Throws:
CoreException - if a failure occurred during creation

getId

public 
String getId()
Returns the hyperlink detector's id.

Returns:
the hyperlink detector's id

getName

public 
String getName()
Returns the hyperlink detector's name.

Returns:
the hyperlink detector's name

getTarget

public 
HyperlinkDetectorTargetDescriptor getTarget()
Returns the hyperlink detector's target descriptor.

Returns:
the hyperlink detector's target descriptor

getTargetId

public 
String getTargetId()
Returns the hyperlink detector's target id.

Returns:
the hyperlink detector's target id

getDescription

public 
String getDescription()
Returns the hyperlink detector's description.

Returns:
the hyperlink detector's description or null if not provided

getModifierKeys

public 
String getModifierKeys()
Returns the hyperlink detector's modifier keys that need to be pressed for this hyperlink detector.

Returns:
the hyperlink detector's description or null if not provided

canActivatePlugIn

public boolean canActivatePlugIn()

equals

public boolean equals(
Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire