Code example for Node

Methods: getNodeName

0
		registerHyperlinkCalculator("import", "resource", new ImportHyperlinkCalculator()); 
	} 
 
	public IHyperlink createHyperlink(String name, String target, Node node, Node parentNode,
			IDocument document, ITextViewer textViewer, IRegion hyperlinkRegion, IRegion cursor) {
		IHyperlink hyperlink = super.createHyperlink(name, target, node, parentNode, document,
				textViewer, hyperlinkRegion, cursor);
		if (hyperlink == null && name != null) {
			String parentName = null;
			if (parentNode != null) {
				parentName = parentNode.getNodeName();
			} 
 
			if (name.endsWith("-ref")) {
				return new BeanHyperlinkCalculator().createHyperlink(parentName, target, node,
						parentNode, document, textViewer, hyperlinkRegion, cursor);
			} 
		} 
		return hyperlink;
	} 
Connect your IDE to all the code out there  Get Codota for Java