de.cau.cs.kieler.core.model.handlers
Class RemoveMarkerHandler

java.lang.Object
  extended by org.eclipse.core.commands.common.EventManager
      extended by org.eclipse.core.commands.AbstractHandler
          extended by de.cau.cs.kieler.core.model.handlers.RemoveMarkerHandler
All Implemented Interfaces:
IHandler, IHandler2

public class RemoveMarkerHandler
extends AbstractHandler

A Command handler that removes all problem markers from the currently opened file/diagram.

Rating red

Constructor Summary
RemoveMarkerHandler()
           
 
Method Summary
 Object execute(ExecutionEvent event)
          
static void removeMarkers()
          Remove all syncchart diagnostic problem markers.
 
Methods inherited from class org.eclipse.core.commands.AbstractHandler
addHandlerListener, dispose, fireHandlerChanged, hasListeners, isEnabled, isHandled, removeHandlerListener, setBaseEnabled, setEnabled
 
Methods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoveMarkerHandler

public RemoveMarkerHandler()
Method Detail

execute

public Object execute(ExecutionEvent event)
               throws ExecutionException

Throws:
ExecutionException

removeMarkers

public static void removeMarkers()
Remove all syncchart diagnostic problem markers.