COSMOS ${releaseVersion} resource-modeling Project
Internal API Specification

org.eclipse.cosmos.rm.smlif.internal.editor
Class XMLLineStyler

java.lang.Object
  extended by org.eclipse.cosmos.rm.smlif.internal.editor.XMLLineStyler
All Implemented Interfaces:
java.util.EventListener, org.eclipse.swt.custom.LineStyleListener, org.eclipse.swt.internal.SWTEventListener

public class XMLLineStyler
extends java.lang.Object
implements org.eclipse.swt.custom.LineStyleListener

Provides a line style for the XML representation of a selected document.


Nested Class Summary
 class XMLLineStyler.XMLScanner
          The scanner used to parse an XML line
 
Field Summary
protected static int ATTRIBUTE
           
protected static int COMMENT
           
protected static int ELEMENT
           
protected static int EOL
           
protected static int NUM_OF_TOKENS
           
protected static int OTHER
           
 
Constructor Summary
XMLLineStyler()
           
 
Method Summary
protected  void dispose()
           
 void lineGetStyle(org.eclipse.swt.custom.LineStyleEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EOL

protected static final int EOL
See Also:
Constant Field Values

ELEMENT

protected static final int ELEMENT
See Also:
Constant Field Values

ATTRIBUTE

protected static final int ATTRIBUTE
See Also:
Constant Field Values

COMMENT

protected static final int COMMENT
See Also:
Constant Field Values

OTHER

protected static final int OTHER
See Also:
Constant Field Values

NUM_OF_TOKENS

protected static final int NUM_OF_TOKENS
See Also:
Constant Field Values
Constructor Detail

XMLLineStyler

public XMLLineStyler()
Method Detail

lineGetStyle

public void lineGetStyle(org.eclipse.swt.custom.LineStyleEvent event)
Specified by:
lineGetStyle in interface org.eclipse.swt.custom.LineStyleListener

dispose

protected void dispose()

COSMOS ${releaseVersion} resource-modeling Project
Internal API Specification