Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2010 itemis AG ( and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at /
 package org.eclipse.xtext.ui.editor.outline;
import  org.eclipse.core.runtime.IAdaptable;
import  org.eclipse.jface.resource.ImageDescriptor;
A model for a node in the outline. Implementors must inherit from org.eclipse.xtext.ui.editor.outline.impl.AbstractOutlineNode.

Jan Koehnlein - Initial contribution and API
public interface IOutlineNode extends IAdaptable, IReadAccess<EObject> {
	Image getImage();
	boolean hasChildren();

The region that triggers selection of this node when "Link with Editor" is enabled.
The region that is selected in the editor when this node is double clicked or selected in "Link with Editor" mode.
Allows to use ImageDescriptors instead of Images. This enables calculating the outline nodes in a background thread.

Jan Koehnlein - Initial contribution and API
See also:
	public interface Extension {
		ImageDescriptor getImageDescriptor();
New to GrepCode? Check out our FAQ X