Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.ui.views.markers
Class MarkerViewHandler

java.lang.Object
  extended by 

org.eclipse.core.commands.common.EventManager
      extended by 

org.eclipse.core.commands.AbstractHandler
          extended by 
org.eclipse.ui.views.markers.MarkerViewHandler
All Implemented Interfaces:
IHandler, IHandler2

public abstract class MarkerViewHandler
extends AbstractHandler

MarkerViewHandler is the abstract class of the handlers for the MarkerSupportView

Since:
3.4

Constructor Summary
MarkerViewHandler ()
           
 
Method Summary
 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.
 
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
 
Methods inherited from interface org.eclipse.core.commands. IHandler
execute
 

Constructor Detail

MarkerViewHandler

public MarkerViewHandler()
Method Detail

getView

public 
MarkerSupportView getView(
ExecutionEvent event)
Get the view this event occurred on.

Parameters:
event -
Returns:
MarkerSupportView or null

execute

public void execute(
IUndoableOperation operation,
                    
String title,
                    
IProgressMonitor monitor,
                    
IAdaptable uiInfo)
Execute the specified undoable operation

Parameters:
operation -
title -
monitor -
uiInfo -

getSelectedMarkers

public 
IMarker[] getSelectedMarkers(
ExecutionEvent event)
Get the selected markers for the receiver in the view from event. If the view cannot be found then return an empty array. This is run using Display.syncExec(Runnable) so that it can be called outside of the UI Thread .

Parameters:
event -
Returns:
IMarker[]

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire