Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2011 itemis AG (http://www.itemis.eu) 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 http://www.eclipse.org/legal/epl-v10.html /
 
 package org.eclipse.xtext.ui.editor.embedded;
 
import  org.eclipse.swt.custom.StyledText;
import  org.eclipse.ui.texteditor.AbstractTextEditor;

Maps an action definition id to an StyledText action. Initially copied from IdMapEntry in AbstractTextEditor

Since:
2.3
See also:
org.eclipse.ui.texteditor.AbstractTextEditor
The action id.
	private String fActionId;
The StyledText action.
	private int fAction;

Creates a new mapping.

Parameters:
actionId the action id
action the StyledText action
	public ActionDefinitionToStyledTextAction(String actionIdint action) {
		 = actionId;
		 = action;
	}

Returns the action id.

Returns:
the action id
	public String getActionId() {
		return ;
	}

Returns the action.

Returns:
the action
	public int getAction() {
		return ;
	}
New to GrepCode? Check out our FAQ X