| org.eclipse.ui.ide.undo.AbstractWorkspaceOperation org.eclipse.ui.ide.undo.AbstractMarkersOperation org.eclipse.ui.ide.undo.CreateMarkersOperation
CreateMarkersOperation | public class CreateMarkersOperation extends AbstractMarkersOperation (Code) | | A CreateMarkersOperation represents an undoable operation for creating one or
more markers on one or more resources in the workspace. 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 | CreateMarkersOperation(String type, Map attributes, IResource resource, String name) Create an undoable operation that can create a marker of a specific type
on a resource. | public | CreateMarkersOperation(String[] types, Map[] attributes, IResource[] resources, String name) Create an undoable operation that can create multiple markers of various
types on multiple resources. | public | CreateMarkersOperation(String type, Map[] attributes, IResource[] resources, String name) Create an undoable operation that can create multiple markers of a single
type on multiple resources. |
CreateMarkersOperation | public CreateMarkersOperation(String type, Map attributes, IResource resource, String name)(Code) | | Create an undoable operation that can create a marker of a specific type
on a resource.
Parameters: type - the type of marker to be created Parameters: attributes - the map of attributes that should be assigned to the marker Parameters: resource - the resource on which the marker should be created Parameters: name - the name used to describe the operation that creates themarker See Also: org.eclipse.core.resources.IMarker |
CreateMarkersOperation | public CreateMarkersOperation(String[] types, Map[] attributes, IResource[] resources, String name)(Code) | | Create an undoable operation that can create multiple markers of various
types on multiple resources.
Parameters: types - an array describing the types of markers to be created Parameters: attributes - an array of maps of attributes that should be assigned to eachcreated marker, corresponding to each marker type described Parameters: resources - an array of resources describing the resource on which thecorresponding marker type should be created Parameters: name - the name used to describe the operation that creates themarkers |
CreateMarkersOperation | public CreateMarkersOperation(String type, Map[] attributes, IResource[] resources, String name)(Code) | | Create an undoable operation that can create multiple markers of a single
type on multiple resources.
Parameters: type - the type of markers to be created Parameters: attributes - an array of maps of attributes that should be assigned to eachcreated marker Parameters: resources - an array of resources describing the resource on which themarker with the corresponding attributes should be created Parameters: name - the name used to describe the operation that creates themarkers |
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) | | |
|
|