org.ocleditor.internal.core.nature_builder
Class OclMarkerCreator

java.lang.Object
  extended byorg.ocleditor.internal.core.nature_builder.OclMarkerCreator
All Implemented Interfaces:
IOclParseRunListener

public class OclMarkerCreator
extends java.lang.Object
implements IOclParseRunListener

OclMarkerCreator creates problem markers. It is registered as an OCL ParseRunListener.


Field Summary
 
Fields inherited from interface org.ocleditor.parser.IOclParseRunListener
SYNTAXCHECK, TYPECHECK
 
Constructor Summary
OclMarkerCreator()
           
 
Method Summary
 void parseFailed(IOclParserError[] errors)
          Parsing failed with errors.
 void parseFinished()
          Parsing finished successfully.
 void parseStarted(int type)
          Parsing started.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OclMarkerCreator

public OclMarkerCreator()
Method Detail

parseStarted

public void parseStarted(int type)
Description copied from interface: IOclParseRunListener
Parsing started.

Specified by:
parseStarted in interface IOclParseRunListener
Parameters:
type - can be SYNTAXCHECK or TYPECHECK.

parseFinished

public void parseFinished()
Description copied from interface: IOclParseRunListener
Parsing finished successfully.

Specified by:
parseFinished in interface IOclParseRunListener

parseFailed

public void parseFailed(IOclParserError[] errors)
Description copied from interface: IOclParseRunListener
Parsing failed with errors.

Specified by:
parseFailed in interface IOclParseRunListener
Parameters:
errors - OCL parsing errors.