Interface IMarkerSnapshot
public interface IMarkerSnapshot
IMarkerSnapshot is a lightweight snapshot of a marker for the purposes of
undoing.
- Since:
- 3.20
- Restriction:
- This interface is not intended to be implemented by clients.
- Restriction:
- This interface is not intended to be extended by clients.
-
Method Summary
Modifier and TypeMethodDescriptionCreate a marker from the marker description.Return the resource associated with this marker.getType()Return the marker type associated with this marker.voidupdateMarker(IMarker marker) Update an existing marker using the attributes in the marker description.
-
Method Details
-
createMarker
Create a marker from the marker description.- Returns:
- the created marker
- Throws:
CoreException
-
updateMarker
Update an existing marker using the attributes in the marker description.- Parameters:
marker- the marker to be updated- Throws:
CoreException
-
getResource
IResource getResource()Return the resource associated with this marker.- Returns:
- the resource associated with this marker
-
getType
String getType()Return the marker type associated with this marker.- Returns:
- the string marker type of this marker
-