public class IvmlHyperlinkFactory extends java.lang.Object implements IHyperlinkFactory<de.uni_hildesheim.sse.ivml.Project>
| Modifier and Type | Field and Description |
|---|---|
static IvmlHyperlinkFactory |
INSTANCE |
static GenericEditorOpener<de.uni_hildesheim.sse.ivml.VariabilityUnit,de.uni_hildesheim.sse.ivml.Project,Project,ContainableModelElement,ModelElementTypeFinder.ModelElementDescription> |
OPENER |
| Constructor and Description |
|---|
IvmlHyperlinkFactory() |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.xtext.ui.editor.hyperlinking.AbstractHyperlink |
createHyperlink(org.eclipse.xtext.nodemodel.ILeafNode parseTreeElement,
de.uni_hildesheim.sse.ivml.Project project)
Creates an hyperlink instance for the given
ILeafNode
which enables the jump to the element's declaration the node represents. |
GenericEditorOpener<?,de.uni_hildesheim.sse.ivml.Project,?,?,?> |
getEditorOpener()
Returns the editor opener.
|
public static final IvmlHyperlinkFactory INSTANCE
public static GenericEditorOpener<de.uni_hildesheim.sse.ivml.VariabilityUnit,de.uni_hildesheim.sse.ivml.Project,Project,ContainableModelElement,ModelElementTypeFinder.ModelElementDescription> OPENER
public org.eclipse.xtext.ui.editor.hyperlinking.AbstractHyperlink createHyperlink(org.eclipse.xtext.nodemodel.ILeafNode parseTreeElement,
de.uni_hildesheim.sse.ivml.Project project)
IHyperlinkFactoryILeafNode
which enables the jump to the element's declaration the node represents.
This is a user visible feature as this hyperlink is shown when the user holds CTRL and points
to an element in an editor.createHyperlink in interface IHyperlinkFactory<de.uni_hildesheim.sse.ivml.Project>parseTreeElement - the ILeafNode of the parsed resource for which this hyperlink
should be createdproject - the "project" the given node is located inpublic GenericEditorOpener<?,de.uni_hildesheim.sse.ivml.Project,?,?,?> getEditorOpener()
IHyperlinkFactorygetEditorOpener in interface IHyperlinkFactory<de.uni_hildesheim.sse.ivml.Project>Copyright © 2009 - 2018 SSE. All Rights Reserved.