iSeries Remote Systems
v6.0.1

com.ibm.etools.iseries.core.compile
Class ISeriesErrorMarkerListener

java.lang.Object
  extended bycom.ibm.lpex.core.LpexViewAdapter
      extended bycom.ibm.etools.iseries.core.compile.ISeriesErrorMarkerListener
All Implemented Interfaces:
com.ibm.lpex.core.LpexMarkListener, com.ibm.lpex.core.LpexViewListener

public class ISeriesErrorMarkerListener
extends com.ibm.lpex.core.LpexViewAdapter
implements com.ibm.lpex.core.LpexMarkListener

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
ISeriesErrorMarkerListener(IFile markerFile)
          The constructor for this class
 
Method Summary
 void addView(com.ibm.lpex.core.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(com.ibm.lpex.core.LpexView view)
          Used to clean up the error list view when a LPEX view is closed.
 void markChanged(com.ibm.lpex.core.LpexView view, int markId)
          Updates the error list marker which is associated with the markId with a check;
 void markDeleted(com.ibm.lpex.core.LpexView view, int markId)
          Updates the error list marker which is associated with the markId with an 'x'
 
Methods inherited from class com.ibm.lpex.core.LpexViewAdapter
readonly, renamed, renaming, saved, saving, showing, shown, updateProfile
 
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

ISeriesErrorMarkerListener

public ISeriesErrorMarkerListener(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(com.ibm.lpex.core.LpexView view)
Used to clean up the error list view when a LPEX view is closed.

Specified by:
disposed in interface com.ibm.lpex.core.LpexViewListener
See Also:
LpexViewListener.disposed(com.ibm.lpex.core.LpexView)

markChanged

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

Specified by:
markChanged in interface com.ibm.lpex.core.LpexMarkListener
See Also:
LpexMarkListener.markChanged(com.ibm.lpex.core.LpexView, int)

markDeleted

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

Specified by:
markDeleted in interface com.ibm.lpex.core.LpexMarkListener
See Also:
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(com.ibm.lpex.core.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.

iSeries Remote Systems
v6.0.1

Copyright © 2005 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.