|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.iseries.rse.ui.view.errorlist.QSYSMarkerUtil
public class QSYSMarkerUtil
Field Summary | |
---|---|
static String |
Copyright
|
Fields inherited from interface com.ibm.etools.iseries.rse.ui.view.errorlist.IQSYSErrorListConstants |
---|
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.rse.ui.resources.IQSYSMarker |
---|
ANNOTATION, AS400_PROBLEM, ATTRIBUTE_NAMES, BROWSE_MODE, 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 | |
---|---|
static void |
createFilteredItemsMarker(IResource resource)
Creates the "All items filtered out" message for the error list |
static void |
createNoErrorsMarkers(IResource resource)
Creates the marker for the "No errors in events file" message |
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 QSYSMarkerUtil |
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 |
IBMiRSEPlugin |
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 |
boolean |
isReadOnly(IMarker marker)
Returns true if the file should be opened in Browse Mode |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String Copyright
Method Detail |
---|
public static QSYSMarkerUtil getDefault()
public Image getSeverityTextImage(IMarker marker)
public String getID(IMarker marker)
the
- markerpublic String getMessage(IMarker marker)
the
- markerpublic String getSeverity(IMarker marker)
the
- markerpublic String getLine(IMarker marker)
the
- markerpublic String getLocation(IMarker marker)
the
- markerpublic String getConnectionName(IMarker marker)
the
- markerpublic boolean isReadOnly(IMarker marker)
marker
-
public String getSeverityText(IMarker marker)
public String getProfileName(IMarker marker)
public String getProjectName(IMarker marker)
public String getLineStart(IMarker marker)
the
- markerpublic String getCharStart(IMarker marker)
the
- markerpublic String getLineEnd(IMarker marker)
the
- markerpublic String getCharEnd(IMarker marker)
the
- markerpublic String getSourceType(IMarker marker)
public Object getProperty(IMarker marker, String key)
the
- markerthe
- keypublic IBMiRSEPlugin getPlugin()
public static String getMarkerName(IMarker marker)
marker
- the marker to get the name of
public static void createNoErrorsMarkers(IResource resource)
resource
- the resource that should own the error.public static void createFilteredItemsMarker(IResource resource)
resource
- the resource to attach the message to
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |