|
Eclipse Platform Release 3.4 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ui.views.markers.MarkerItem
The MarkerItem class is the class that represents the objects displayed a
MarkerSupportView
. This class is not intended to be sub-classed by clients,
Constructor Summary | |
MarkerItem()
|
Method Summary | |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MarkerItem()
Method Detail |
public boolean getAttributeValue(String attribute, boolean defaultValue)
attribute
- defaultValue
-
boolean
public int getAttributeValue(String attribute, int defaultValue)
attribute
- defaultValue
- the defaultValue if the value is not set
public String getAttributeValue(String attribute, String defaultValue)
attribute
- defaultValue
- the defaultValue if the value is not set
public String getLocation()
MarkerItem
has an associated
IMarker
.
IMarker.LOCATION
,
IMarker.LINE_NUMBER
public String getPath()
IResource
or the path attribute if the MarkerItem
has an
associated IMarker
.
MarkerViewUtil.PATH_ATTRIBUTE
,
IResource.getLocation()
public IMarker getMarker()
|
Eclipse Platform Release 3.4 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.