org.sonar.plugins.api.web.gwt.client
Class AbstractSourceViewer
java.lang.Object
org.sonar.plugins.api.web.gwt.client.AbstractSourceViewer
- All Implemented Interfaces:
- com.google.gwt.core.client.EntryPoint
- Direct Known Subclasses:
- GwtCodeCoverageSourceViewer, GwtDefaultSourceViewer, GwtViolationsSourceViewer
public abstract class AbstractSourceViewer
- extends java.lang.Object
- implements com.google.gwt.core.client.EntryPoint
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ERROR_STYLE
public static final java.lang.String ERROR_STYLE
- See Also:
- Constant Field Values
WARNING_STYLE
public static final java.lang.String WARNING_STYLE
- See Also:
- Constant Field Values
INFO_STYLE
public static final java.lang.String INFO_STYLE
- See Also:
- Constant Field Values
HTML_ROOT_ID
public static final java.lang.String HTML_ROOT_ID
- See Also:
- Constant Field Values
expandLinkActivation
protected boolean expandLinkActivation
loadedSource
protected java.lang.String loadedSource
AbstractSourceViewer
public AbstractSourceViewer()
exportJavascript
protected abstract void exportJavascript()
getGwtId
protected abstract java.lang.String getGwtId()
showValueColumn
protected abstract boolean showValueColumn()
onModuleLoad
public void onModuleLoad()
- Specified by:
onModuleLoad
in interface com.google.gwt.core.client.EntryPoint
loadContainer
protected com.google.gwt.user.client.ui.Widget loadContainer()
refreshLines
protected void refreshLines()
loadSource
protected void loadSource()
requestLines
protected void requestLines(java.lang.String sourceKey)
requestLineDecorators
protected abstract void requestLineDecorators(java.lang.String sourceKey)
isLinesRetrieved
protected boolean isLinesRetrieved()
setLinesRetrieved
protected void setLinesRetrieved(boolean linesRetrieved)
isDecoratorsRetrieved
protected boolean isDecoratorsRetrieved()
setDecoratorsRetrieved
protected void setDecoratorsRetrieved(boolean decoratorsRetrieved)
setLines
protected void setLines(java.util.List<java.lang.String> lines)
setExpandLinkActivation
protected void setExpandLinkActivation(boolean expandLinkActivation)
getDecorators
public java.util.Map<java.lang.Integer,LineDecorator> getDecorators()
setDecorators
public void setDecorators(java.util.Map<java.lang.Integer,LineDecorator> decorators)
Copyright © 2008 SonarSource SA. All Rights Reserved.