public abstract class MarkerItem extends Object
MarkerSupportView. This class is not intended to be sub-classed by clients,| Constructor and Description |
|---|
MarkerItem() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAttributeValue(String attribute,
boolean defaultValue)
Return the boolean associated with attributeName or defaultValue if it is
not found.
|
int |
getAttributeValue(String attribute,
int defaultValue)
Get the value of the attribute in the enclosed marker.
|
String |
getAttributeValue(String attribute,
String defaultValue)
Get the String value of the attribute in the enclosed marker.
|
String |
getLocation()
Get the location string for the receiver.
|
IMarker |
getMarker()
Return the marker for the receiver.
|
String |
getPath()
Get the path string for the receiver.
|
public boolean getAttributeValue(String attribute, boolean defaultValue)
attribute - defaultValue - booleanpublic int getAttributeValue(String attribute, int defaultValue)
attribute - defaultValue - the defaultValue if the value is not setpublic String getAttributeValue(String attribute, String defaultValue)
attribute - defaultValue - the defaultValue if the value is not setpublic String getLocation()
MarkerItem has an associated
IMarker.IMarker.LOCATION,
IMarker.LINE_NUMBERpublic String getPath()
IResource or the path attribute if the MarkerItem has an
associated IMarker.MarkerViewUtil.PATH_ATTRIBUTE,
IResource.getLocation()public IMarker getMarker()
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.