|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.designer.domino.xsp.api.editor.AbstractDesignerHyperlink
public abstract class AbstractDesignerHyperlink
An abstract IHyperlink class that allows for easy hyperlink integration within the XPages editor. This class may be extended to allow hyperlink navigation for third party tags. Classes who extend this class will need to return an ID for the editor that should be opened when the hyperlink is clicked and also the DesignElement that should be opened in the given editor.
Constructor Summary | |
---|---|
AbstractDesignerHyperlink(DesignerProject designerProject,
org.eclipse.jface.text.IRegion region,
java.lang.String typeLabel,
java.lang.String hLinkLabel)
Constructs a new instance of this class. |
Method Summary | |
---|---|
protected abstract DesignerDesignElement |
getDesignElement()
Returns the DesignElement that is to be opened within the editor (provided by getEditorId() ) when
the hyperlink is clicked |
protected DesignerProject |
getDesignerProject()
|
protected abstract java.lang.String |
getEditorId()
Returns the ID of the editor that is to be opened by this hyperlink operation |
org.eclipse.jface.text.IRegion |
getHyperlinkRegion()
|
java.lang.String |
getHyperlinkText()
|
java.lang.String |
getTypeLabel()
|
void |
open()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractDesignerHyperlink(DesignerProject designerProject, org.eclipse.jface.text.IRegion region, java.lang.String typeLabel, java.lang.String hLinkLabel)
designerProject
- the DesignerProject that contains the linked itemregion
- describes the region of the hyperlinktypeLabel
- the hyperlink type texthLinkLabel
- the hyperlink textMethod Detail |
---|
public org.eclipse.jface.text.IRegion getHyperlinkRegion()
getHyperlinkRegion
in interface org.eclipse.jface.text.hyperlink.IHyperlink
public java.lang.String getTypeLabel()
getTypeLabel
in interface org.eclipse.jface.text.hyperlink.IHyperlink
public java.lang.String getHyperlinkText()
getHyperlinkText
in interface org.eclipse.jface.text.hyperlink.IHyperlink
protected DesignerProject getDesignerProject()
public void open()
open
in interface org.eclipse.jface.text.hyperlink.IHyperlink
protected abstract java.lang.String getEditorId()
protected abstract DesignerDesignElement getDesignElement()
getEditorId()
) when
the hyperlink is clicked
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |