Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.rse.ui.compile
Class QSYSErrorMarkerListener

java.lang.Object
  extended by LpexViewAdapter
      extended by com.ibm.etools.iseries.rse.ui.compile.QSYSErrorMarkerListener

public class QSYSErrorMarkerListener
extends LpexViewAdapter

This class is used to handle the todo aspect of the error list. It takes care up updating the list with 'x' or a check when a line with an error is modified

Since:
6.0

Field Summary
static String Copyright
           
 
Constructor Summary
QSYSErrorMarkerListener(IFile markerFile)
          The constructor for this class
 
Method Summary
 void addView(LpexView view)
          adds the specified view to the list of views (used for cleanup)
 void clearMarks()
          Used when an error list is removed from the error list view.
 void disposed(LpexView view)
          Used to clean up the error list view when a LPEX view is closed.
 void markChanged(LpexView view, int markId)
          Updates the error list marker which is associated with the markId with a check;
 void markDeleted(LpexView view, int markId)
          Updates the error list marker which is associated with the markId with an 'x'
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values
Constructor Detail

QSYSErrorMarkerListener

public QSYSErrorMarkerListener(IFile markerFile)
The constructor for this class

Parameters:
markerFile - The file that contains the markers in the error list view.
Method Detail

disposed

public void disposed(LpexView view)
Used to clean up the error list view when a LPEX view is closed.

See Also:
com.ibm.lpex.core.LpexViewListener#disposed(com.ibm.lpex.core.LpexView)

markChanged

public void markChanged(LpexView view,
                        int markId)
Updates the error list marker which is associated with the markId with a check;

See Also:
com.ibm.lpex.core.LpexMarkListener#markChanged(com.ibm.lpex.core.LpexView, int)

markDeleted

public void markDeleted(LpexView view,
                        int markId)
Updates the error list marker which is associated with the markId with an 'x'

See Also:
com.ibm.lpex.core.LpexMarkListener#markDeleted(com.ibm.lpex.core.LpexView, int)

clearMarks

public void clearMarks()
Used when an error list is removed from the error list view. It removes all the marks from the Lpex views associated with this listener, and removes the listener from the view as well.


addView

public void addView(LpexView view)
adds the specified view to the list of views (used for cleanup)

Parameters:
view - the Lpex view to add to the list of views to cleanup marks after either the view is closed, or the error list is removed from the error list view.

Rational Developer for Power Systems Software
V7.6

Copyright 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.