Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2011 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.impl;

Jan Koehnlein - Initial contribution and API
	private int currentModeIndex = 0;
	public abstract List<OutlineModegetOutlineModes();
	public OutlineMode getNextMode() {
	public void setCurrentMode(OutlineMode outlineMode) {
		int newIndex = getOutlineModes().indexOf(outlineMode);
		if(newIndex != -1)
			 = newIndex;
New to GrepCode? Check out our FAQ X