| org.eclipse.ui.ide.undo.AbstractWorkspaceOperation org.eclipse.ui.ide.undo.AbstractMarkersOperation org.eclipse.ui.ide.undo.UpdateMarkersOperation
UpdateMarkersOperation | public class UpdateMarkersOperation extends AbstractMarkersOperation (Code) | | An UpdateMarkersOperation represents an undoable operation for updating one
or more markers in the workspace with one or more sets of attributes. Clients
may call the public API from a background thread.
This class is intended to be instantiated and used by clients. It is not
intended to be subclassed by clients.
since: 3.3 |
Constructor Summary | |
public | UpdateMarkersOperation(IMarker marker, Map attributes, String name, boolean mergeAttributes) Create an undoable operation that can update the specified marker with
the specified attributes.
Parameters: marker - the marker to be updated Parameters: attributes - the map of attributes to be assigned to the marker. | public | UpdateMarkersOperation(IMarker[] markers, Map attributes, String name, boolean mergeAttributes) Create an undoable operation that updates many markers to have the same
set of attributes. |
UpdateMarkersOperation | public UpdateMarkersOperation(IMarker marker, Map attributes, String name, boolean mergeAttributes)(Code) | | Create an undoable operation that can update the specified marker with
the specified attributes.
Parameters: marker - the marker to be updated Parameters: attributes - the map of attributes to be assigned to the marker. This mapdoes not replace the attribute map of the marker, but instead,each attribute in the map is added or updated with the currentvalue in the map. In other words Parameters: name - the name used to describe this operation Parameters: mergeAttributes - true if the specified map of attributes for themarker is to be merged with the attributes already specifiedfor the marker, or false if the specified mapof attributes is to be considered a complete replacement ofall attributes of the marker |
UpdateMarkersOperation | public UpdateMarkersOperation(IMarker[] markers, Map attributes, String name, boolean mergeAttributes)(Code) | | Create an undoable operation that updates many markers to have the same
set of attributes.
Parameters: markers - the markers to be updated Parameters: attributes - the map of attributes to be assigned to each marker Parameters: name - the name used to describe this operation Parameters: mergeAttributes - true if the specified map of attributes foreach marker is to be merged with the attributes alreadyspecified for that marker, or false if thespecified map of attributes is to be considered a completereplacement of all attributes for each marker |
doExecute | protected void doExecute(IProgressMonitor monitor, IAdaptable info) throws CoreException(Code) | | |
doUndo | protected void doUndo(IProgressMonitor monitor, IAdaptable info) throws CoreException(Code) | | |
getBasicRedoStatus | protected IStatus getBasicRedoStatus()(Code) | | |
getBasicUndoStatus | protected IStatus getBasicUndoStatus()(Code) | | |
|
|