iSeries Remote Systems
v6.0.1

com.ibm.etools.iseries.core.ui.view.errorlist
Class ISeriesMarkerUtil

java.lang.Object
  extended bycom.ibm.etools.iseries.core.ui.view.errorlist.ISeriesMarkerUtil
All Implemented Interfaces:
IISeriesErrorListConstants, IISeriesMarker

public class ISeriesMarkerUtil
extends Object
implements IISeriesErrorListConstants


Field Summary
static String Copyright
           
 
Fields inherited from interface com.ibm.etools.iseries.core.ui.view.errorlist.IISeriesErrorListConstants
ANNOTATION_IMAGE_KEY, CONNECTION_NAME_KEY, ID_KEY, KEY, keys, LINE_KEY, LOCATION_KEY, MESSAGE_KEY, MESSAGE_LEVEL_ALL, MESSAGE_LEVEL_NONE, MESSAGE_LEVEL_SELECTED, MESSAGE_LEVEL_SHOWING, SEVERITY_IMAGE_KEY, SEVERITY_KEY, SHOW_ALL_ACTION_ID, SHOW_ERROR_ACTION_ID, SHOW_INFORMATION_ACTION_ID, SHOW_NONE_ACTION_ID, SHOW_SELECTED_ACTION_ID, SHOW_SEVERE_ACTION_ID, SHOW_SHOWING_ACTION_ID, SHOW_TERMINATING_ACTION_ID, SHOW_WARNING_ACTION_ID
 
Fields inherited from interface com.ibm.etools.iseries.core.resources.IISeriesMarker
ANNOTATION, AS400_PROBLEM, CHAR_END, CHAR_START, CONNECTION_NAME, ID, LINE, LINE_END, LINE_START, LOCATION, MESSAGE, PRIORITY, PROFILE_NAME, PROJECT_NAME, SEVERITY, SEVERITY_TEXT, SOURCE_TYPE
 
Method Summary
 String getCharEnd(IMarker marker)
          Get the ending character in the ending line which caused the error
 String getCharStart(IMarker marker)
          Get the starting character in the starting line which caused the error
 String getConnectionName(IMarker marker)
          Get the connection name which was used to execute the compile
static ISeriesMarkerUtil getDefault()
          Get the singleton instance
 String getID(IMarker marker)
          Get the error ID
 String getLine(IMarker marker)
          Get the line number which caused the error
 String getLineEnd(IMarker marker)
          Get the ending line which caused the error
 String getLineStart(IMarker marker)
          Get the starting line which caused the error
 String getLocation(IMarker marker)
          Get the location of the member which caused the errors
static String getMarkerName(IMarker marker)
          retrieves the marker name to be used for the LPEX mark.
 String getMessage(IMarker marker)
          Get the error message
 ISeriesSystemPlugin getPlugin()
          Get the plugin
 String getProfileName(IMarker marker)
          Get the severity text
 String getProjectName(IMarker marker)
          Get the project name
 Object getProperty(IMarker marker, String key)
          Get the property of the marker given a key.
 String getSeverity(IMarker marker)
          Get the error severity
 String getSeverityText(IMarker marker)
          Get the severity text
 Image getSeverityTextImage(IMarker marker)
          Get the image for that severity
 String getSourceType(IMarker marker)
          Get the source type associated with this marker
 
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
Method Detail

getDefault

public static ISeriesMarkerUtil getDefault()
Get the singleton instance


getSeverityTextImage

public Image getSeverityTextImage(IMarker marker)
Get the image for that severity


getID

public String getID(IMarker marker)
Get the error ID


getMessage

public String getMessage(IMarker marker)
Get the error message


getSeverity

public String getSeverity(IMarker marker)
Get the error severity


getLine

public String getLine(IMarker marker)
Get the line number which caused the error


getLocation

public String getLocation(IMarker marker)
Get the location of the member which caused the errors


getConnectionName

public String getConnectionName(IMarker marker)
Get the connection name which was used to execute the compile


getSeverityText

public String getSeverityText(IMarker marker)
Get the severity text


getProfileName

public String getProfileName(IMarker marker)
Get the severity text


getProjectName

public String getProjectName(IMarker marker)
Get the project name


getLineStart

public String getLineStart(IMarker marker)
Get the starting line which caused the error


getCharStart

public String getCharStart(IMarker marker)
Get the starting character in the starting line which caused the error


getLineEnd

public String getLineEnd(IMarker marker)
Get the ending line which caused the error


getCharEnd

public String getCharEnd(IMarker marker)
Get the ending character in the ending line which caused the error


getSourceType

public String getSourceType(IMarker marker)
Get the source type associated with this marker


getProperty

public Object getProperty(IMarker marker,
                          String key)
Get the property of the marker given a key. Used to get attributes that are to be displayed in the Error List view


getPlugin

public ISeriesSystemPlugin getPlugin()
Get the plugin


getMarkerName

public static String getMarkerName(IMarker marker)
retrieves the marker name to be used for the LPEX mark. This should be unique for each mark.

Parameters:
marker - the marker to get the name of
Returns:
the unique name to use for this marker.
Since:
6.0

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.