public abstract class MarkerViewHandler extends AbstractHandler
MarkerSupportView
Constructor and Description |
---|
MarkerViewHandler() |
Modifier and Type | Method and Description |
---|---|
void |
execute(IUndoableOperation operation,
String title,
IProgressMonitor monitor,
IAdaptable uiInfo)
Execute the specified undoable operation
|
IMarker[] |
getSelectedMarkers(ExecutionEvent event)
Get the selected markers for the receiver in the view from event.
|
MarkerSupportView |
getView(ExecutionEvent event)
Get the view this event occurred on.
|
addHandlerListener, dispose, fireHandlerChanged, hasListeners, isEnabled, isHandled, removeHandlerListener, setBaseEnabled, setEnabled
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
public MarkerSupportView getView(ExecutionEvent event)
event
- MarkerSupportView
or null
public void execute(IUndoableOperation operation, String title, IProgressMonitor monitor, IAdaptable uiInfo)
operation
- title
- monitor
- uiInfo
- public IMarker[] getSelectedMarkers(ExecutionEvent event)
Display.syncExec(Runnable)
so that it can be called
outside of the UI Thread
.event
- IMarker
[]
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.