A B C D E G H I L O P R S T V 

A

AbstractConfigurationModel - Class in org.sonar.sslr.toolkit
This class provides an default optimized implementation of the ConfigurationModel interface.
AbstractConfigurationModel() - Constructor for class org.sonar.sslr.toolkit.AbstractConfigurationModel
 
addConfigurationProperty(String, String) - Method in interface org.sonar.sslr.internal.toolkit.ToolkitView
Add a new configuration property to the configuration tab.
addConfigurationProperty(String, String) - Method in class org.sonar.sslr.internal.toolkit.ToolkitViewImpl
 
appendToConsole(String) - Method in interface org.sonar.sslr.internal.toolkit.ToolkitView
Append the given message to the console view.
appendToConsole(String) - Method in class org.sonar.sslr.internal.toolkit.ToolkitViewImpl
 

B

booleanValidator() - Static method in class org.sonar.sslr.toolkit.Validators
Validates that the property holds a boolean value, i.e.

C

charsetValidator() - Static method in class org.sonar.sslr.toolkit.Validators
Validates that the property holds a valid Charset name.
clearAstSelections() - Method in interface org.sonar.sslr.internal.toolkit.ToolkitView
Clear all the selections in the abstract syntax tree view.
clearAstSelections() - Method in class org.sonar.sslr.internal.toolkit.ToolkitViewImpl
 
clearConsole() - Method in interface org.sonar.sslr.internal.toolkit.ToolkitView
Clear the console.
clearConsole() - Method in class org.sonar.sslr.internal.toolkit.ToolkitViewImpl
 
clearSourceCodeHighlights() - Method in interface org.sonar.sslr.internal.toolkit.ToolkitView
Clear all the highlights in the source code editor.
clearSourceCodeHighlights() - Method in class org.sonar.sslr.internal.toolkit.ToolkitViewImpl
 
ConfigurationModel - Interface in org.sonar.sslr.toolkit
This interface is used to pass configuration properties to the Toolkit.
ConfigurationProperty - Class in org.sonar.sslr.toolkit
This class represents a configuration property, which is made of a name, a description (which may be empty), a default value, and optionnally a validation callback.
ConfigurationProperty(String, String, String) - Constructor for class org.sonar.sslr.toolkit.ConfigurationProperty
 
ConfigurationProperty(String, String, String, ValidationCallback) - Constructor for class org.sonar.sslr.toolkit.ConfigurationProperty
 
ConfigurationPropertyPanel - Class in org.sonar.sslr.internal.toolkit
 
ConfigurationPropertyPanel(String, String) - Constructor for class org.sonar.sslr.internal.toolkit.ConfigurationPropertyPanel
 
CssLoader - Class in org.sonar.sslr.internal.toolkit
 

D

disableXPathEvaluateButton() - Method in interface org.sonar.sslr.internal.toolkit.ToolkitView
Disable the XPath evaluate button.
disableXPathEvaluateButton() - Method in class org.sonar.sslr.internal.toolkit.ToolkitViewImpl
 
displayAst(AstNode) - Method in interface org.sonar.sslr.internal.toolkit.ToolkitView
Display the abstract syntax tree view starting from a given node.
displayAst(AstNode) - Method in class org.sonar.sslr.internal.toolkit.ToolkitViewImpl
 
displayHighlightedSourceCode(String) - Method in interface org.sonar.sslr.internal.toolkit.ToolkitView
Display the given HTML highlighted source code in the source code editor.
displayHighlightedSourceCode(String) - Method in class org.sonar.sslr.internal.toolkit.ToolkitViewImpl
 
displayXml(String) - Method in interface org.sonar.sslr.internal.toolkit.ToolkitView
Display the given string in the XML view.
displayXml(String) - Method in class org.sonar.sslr.internal.toolkit.ToolkitViewImpl
 
doGetParser() - Method in class org.sonar.sslr.toolkit.AbstractConfigurationModel
Gets a parser instance reflecting the current configuration state.
doGetTokenizers() - Method in class org.sonar.sslr.toolkit.AbstractConfigurationModel
Gets tokenizers reflecting the current configuration state.

E

enableXPathEvaluateButton() - Method in interface org.sonar.sslr.internal.toolkit.ToolkitView
Enable the XPath evaluate button.
enableXPathEvaluateButton() - Method in class org.sonar.sslr.internal.toolkit.ToolkitViewImpl
 

G

getAstNode() - Method in class org.sonar.sslr.internal.toolkit.SourceCodeModel
 
getAstNodeFollowingCurrentSourceCodeTextCursorPosition() - Method in interface org.sonar.sslr.internal.toolkit.ToolkitView
Get the AST node which follows the current source code editor text cursor position.
getAstNodeFollowingCurrentSourceCodeTextCursorPosition() - Method in class org.sonar.sslr.internal.toolkit.ToolkitViewImpl
 
getCharset() - Method in class org.sonar.sslr.toolkit.AbstractConfigurationModel
Gets the charset reflecting the current configuration state.
getCharset() - Method in interface org.sonar.sslr.toolkit.ConfigurationModel
Gets the character set reflecting the current configuration state.
getConfigurationPropertyValue(String) - Method in interface org.sonar.sslr.internal.toolkit.ToolkitView
Get the value currently entered in the configuration property field identified by the given name.
getConfigurationPropertyValue(String) - Method in class org.sonar.sslr.internal.toolkit.ToolkitViewImpl
 
getCss() - Static method in class org.sonar.sslr.internal.toolkit.CssLoader
 
getDescription() - Method in class org.sonar.sslr.toolkit.ConfigurationProperty
 
getEndOffset(Token) - Method in class org.sonar.sslr.internal.toolkit.LineOffsets
 
getErrorMessageLabel() - Method in class org.sonar.sslr.internal.toolkit.ConfigurationPropertyPanel
 
getHighlightedSourceCode() - Method in class org.sonar.sslr.internal.toolkit.SourceCodeModel
 
getName() - Method in class org.sonar.sslr.toolkit.ConfigurationProperty
 
getOffset(int, int) - Method in class org.sonar.sslr.internal.toolkit.LineOffsets
 
getPanel() - Method in class org.sonar.sslr.internal.toolkit.ConfigurationPropertyPanel
 
getParser() - Method in class org.sonar.sslr.toolkit.AbstractConfigurationModel
 
getParser() - Method in interface org.sonar.sslr.toolkit.ConfigurationModel
Gets a parser instance reflecting the current configuration state.
getProperties() - Method in interface org.sonar.sslr.toolkit.ConfigurationModel
Gets the properties to be shown, in the same order, in the Configuration tab.
getSelectedAstNodes() - Method in interface org.sonar.sslr.internal.toolkit.ToolkitView
Get the list of nodes currently selected in the abstract syntax tree view.
getSelectedAstNodes() - Method in class org.sonar.sslr.internal.toolkit.ToolkitViewImpl
 
getSourceCode() - Method in interface org.sonar.sslr.internal.toolkit.ToolkitView
Get the source code currently entered in the source code editor.
getSourceCode() - Method in class org.sonar.sslr.internal.toolkit.ToolkitViewImpl
 
getSourceCodeScrollbarPosition() - Method in interface org.sonar.sslr.internal.toolkit.ToolkitView
Get the current source code editor scrollbars' position point.
getSourceCodeScrollbarPosition() - Method in class org.sonar.sslr.internal.toolkit.ToolkitViewImpl
 
getStartOffset(Token) - Method in class org.sonar.sslr.internal.toolkit.LineOffsets
 
getTokenizers() - Method in class org.sonar.sslr.toolkit.AbstractConfigurationModel
 
getTokenizers() - Method in interface org.sonar.sslr.toolkit.ConfigurationModel
Gets tokenizers reflecting the current configuration state.
getValue() - Method in class org.sonar.sslr.toolkit.ConfigurationProperty
 
getValueTextField() - Method in class org.sonar.sslr.internal.toolkit.ConfigurationPropertyPanel
 
getXml() - Method in class org.sonar.sslr.internal.toolkit.SourceCodeModel
 
getXPath() - Method in interface org.sonar.sslr.internal.toolkit.ToolkitView
Get the text currently entered in the XPath field.
getXPath() - Method in class org.sonar.sslr.internal.toolkit.ToolkitViewImpl
 

H

highlightSourceCode(AstNode) - Method in interface org.sonar.sslr.internal.toolkit.ToolkitView
Highlight the given AST node in the source code editor.
highlightSourceCode(AstNode) - Method in class org.sonar.sslr.internal.toolkit.ToolkitViewImpl
 

I

integerRangeValidator(int, int) - Static method in class org.sonar.sslr.toolkit.Validators
Validates that the property holds an integer within the given lower and upper bounds.

L

LineOffsets - Class in org.sonar.sslr.internal.toolkit
 
LineOffsets(String) - Constructor for class org.sonar.sslr.internal.toolkit.LineOffsets
 

O

onAstSelectionChanged() - Method in class org.sonar.sslr.internal.toolkit.ToolkitPresenter
 
onConfigurationPropertyFocusLost(String) - Method in class org.sonar.sslr.internal.toolkit.ToolkitPresenter
 
onSourceCodeKeyTyped() - Method in class org.sonar.sslr.internal.toolkit.ToolkitPresenter
 
onSourceCodeOpenButtonClick() - Method in class org.sonar.sslr.internal.toolkit.ToolkitPresenter
 
onSourceCodeParseButtonClick() - Method in class org.sonar.sslr.internal.toolkit.ToolkitPresenter
 
onSourceCodeTextCursorMoved() - Method in class org.sonar.sslr.internal.toolkit.ToolkitPresenter
 
onXPathEvaluateButtonClick() - Method in class org.sonar.sslr.internal.toolkit.ToolkitPresenter
 
org.sonar.sslr.internal.toolkit - package org.sonar.sslr.internal.toolkit
 
org.sonar.sslr.toolkit - package org.sonar.sslr.toolkit
 

P

pickFileToParse() - Method in interface org.sonar.sslr.internal.toolkit.ToolkitView
Prompt the user for a file to parse and return it.
pickFileToParse() - Method in class org.sonar.sslr.internal.toolkit.ToolkitViewImpl
 
presenter - Variable in class org.sonar.sslr.internal.toolkit.ToolkitViewImpl
 

R

run(String) - Method in class org.sonar.sslr.internal.toolkit.ToolkitPresenter
 
run() - Method in interface org.sonar.sslr.internal.toolkit.ToolkitView
Launch the application.
run() - Method in class org.sonar.sslr.internal.toolkit.ToolkitViewImpl
 
run() - Method in class org.sonar.sslr.toolkit.Toolkit
 

S

scrollAstTo(AstNode) - Method in interface org.sonar.sslr.internal.toolkit.ToolkitView
Scroll the abstract syntax tree view in order to make the given AST node visible.
scrollAstTo(AstNode) - Method in class org.sonar.sslr.internal.toolkit.ToolkitViewImpl
 
scrollSourceCodeTo(Point) - Method in interface org.sonar.sslr.internal.toolkit.ToolkitView
Scroll the source code editor in order to make the given point visible.
scrollSourceCodeTo(AstNode) - Method in interface org.sonar.sslr.internal.toolkit.ToolkitView
Scroll the source code editor in order to make the given AST node visible.
scrollSourceCodeTo(Point) - Method in class org.sonar.sslr.internal.toolkit.ToolkitViewImpl
 
scrollSourceCodeTo(AstNode) - Method in class org.sonar.sslr.internal.toolkit.ToolkitViewImpl
 
selectAstNode(AstNode) - Method in interface org.sonar.sslr.internal.toolkit.ToolkitView
Select the given AST node in the abstract syntax tree view.
selectAstNode(AstNode) - Method in class org.sonar.sslr.internal.toolkit.ToolkitViewImpl
 
setConfigurationPropertyErrorMessage(String, String) - Method in interface org.sonar.sslr.internal.toolkit.ToolkitView
Set the error message of the configuration property identified by the given name.
setConfigurationPropertyErrorMessage(String, String) - Method in class org.sonar.sslr.internal.toolkit.ToolkitViewImpl
 
setConfigurationPropertyValue(String, String) - Method in interface org.sonar.sslr.internal.toolkit.ToolkitView
Set the current value of the configuration property field identified by the given name.
setConfigurationPropertyValue(String, String) - Method in class org.sonar.sslr.internal.toolkit.ToolkitViewImpl
 
setFocusOnAbstractSyntaxTreeView() - Method in interface org.sonar.sslr.internal.toolkit.ToolkitView
Set the focus on the abstract syntax tree view.
setFocusOnAbstractSyntaxTreeView() - Method in class org.sonar.sslr.internal.toolkit.ToolkitViewImpl
 
setFocusOnConfigurationPropertyField(String) - Method in interface org.sonar.sslr.internal.toolkit.ToolkitView
Set the focus on the configuration field identified by the given name.
setFocusOnConfigurationPropertyField(String) - Method in class org.sonar.sslr.internal.toolkit.ToolkitViewImpl
 
setFocusOnConfigurationView() - Method in interface org.sonar.sslr.internal.toolkit.ToolkitView
Set the focus on the configuration view.
setFocusOnConfigurationView() - Method in class org.sonar.sslr.internal.toolkit.ToolkitViewImpl
 
setFocusOnConsoleView() - Method in interface org.sonar.sslr.internal.toolkit.ToolkitView
Set the focus on the console view.
setFocusOnConsoleView() - Method in class org.sonar.sslr.internal.toolkit.ToolkitViewImpl
 
setSourceCode(File, Charset) - Method in class org.sonar.sslr.internal.toolkit.SourceCodeModel
 
setSourceCode(String) - Method in class org.sonar.sslr.internal.toolkit.SourceCodeModel
 
setTitle(String) - Method in interface org.sonar.sslr.internal.toolkit.ToolkitView
Set the title of the application.
setUpdatedFlag() - Method in class org.sonar.sslr.toolkit.AbstractConfigurationModel
 
setUpdatedFlag() - Method in interface org.sonar.sslr.toolkit.ConfigurationModel
This method is called each time a configuration property's value is changed.
setValue(String) - Method in class org.sonar.sslr.toolkit.ConfigurationProperty
 
setView(ToolkitView) - Method in class org.sonar.sslr.internal.toolkit.ToolkitPresenter
 
SourceCodeModel - Class in org.sonar.sslr.internal.toolkit
 
SourceCodeModel(ConfigurationModel) - Constructor for class org.sonar.sslr.internal.toolkit.SourceCodeModel
 

T

Toolkit - Class in org.sonar.sslr.toolkit
 
Toolkit(Parser, List<Tokenizer>, String) - Constructor for class org.sonar.sslr.toolkit.Toolkit
Deprecated.
Toolkit(String, ConfigurationModel) - Constructor for class org.sonar.sslr.toolkit.Toolkit
Creates a Toolkit with a title, and the given ConfigurationModel.
ToolkitPresenter - Class in org.sonar.sslr.internal.toolkit
 
ToolkitPresenter(ConfigurationModel, SourceCodeModel) - Constructor for class org.sonar.sslr.internal.toolkit.ToolkitPresenter
 
ToolkitView - Interface in org.sonar.sslr.internal.toolkit
Contract interface for the view.
ToolkitViewImpl - Class in org.sonar.sslr.internal.toolkit
 
ToolkitViewImpl(ToolkitPresenter) - Constructor for class org.sonar.sslr.internal.toolkit.ToolkitViewImpl
 

V

validate(String) - Method in class org.sonar.sslr.toolkit.ConfigurationProperty
 
validate(String) - Method in interface org.sonar.sslr.toolkit.ValidationCallback
Validate the new value candidate.
ValidationCallback - Interface in org.sonar.sslr.toolkit
This interface is used to validate values that are to be assigned to configuration properties.
Validators - Class in org.sonar.sslr.toolkit
Provides a few handy configuration property validators out-of-the-box.
A B C D E G H I L O P R S T V 

Copyright © 2010–2015 SonarSource. All rights reserved.