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
Answertopia.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.debug.ui.contexts
Class DebugContextEvent


java.lang.Object
  extended by 

java.util.EventObject
      extended by 
org.eclipse.debug.ui.contexts.DebugContextEvent
All Implemented Interfaces:
Serializable

public class DebugContextEvent
extends EventObject

A debug context event. Debug context events are generated by debug context providers. A debug context is represented by a selection and flags (bit mask) describing how the context has changed.

Clients may instantiate this class.

Since:
3.3
See Also:
IDebugContextListener, IDebugContextProvider, Serialized Form
Restriction:
This class is not intended to be subclassed by clients.

Field Summary
static int ACTIVATED
          Change constant (bit mask) indicating a context has been activated.
static int STATE
          Change constant (bit mask) indicating the state of a context has changed.
 
Fields inherited from class java.util. EventObject
source
 
Constructor Summary
DebugContextEvent ( IDebugContextProvider source, ISelection context, int flags)
          Constructs a new debug context event.
 
Method Summary
  ISelection getContext ()
          Returns the debug context associated with this event.
  IDebugContextProvider getDebugContextProvider ()
          Returns the context provider that initiated this event.
 int getFlags ()
          Returns flags which describe in more detail how a context has changed.
 
Methods inherited from class java.util. EventObject
getSource, toString
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ACTIVATED

public static final int ACTIVATED
Change constant (bit mask) indicating a context has been activated.

See Also:
Constant Field Values

STATE

public static final int STATE
Change constant (bit mask) indicating the state of a context has changed. State changes are only broadcast for previously activated contexts.

See Also:
Constant Field Values
Constructor Detail

DebugContextEvent

public DebugContextEvent(
IDebugContextProvider source,
                         
ISelection context,
                         int flags)
Constructs a new debug context event.

Parameters:
source - source of the event - a debug context provider
context - the relevant context
flags - bit mask indicating how the context has changed - see change constants defined in this class
Method Detail

getContext

public 
ISelection getContext()
Returns the debug context associated with this event.

Returns:
debug context, possible an empty selection

getFlags

public int getFlags()
Returns flags which describe in more detail how a context has changed. See change constants defined in this class.

Returns:
event flags

getDebugContextProvider

public 
IDebugContextProvider getDebugContextProvider()
Returns the context provider that initiated this event.

Returns:
context provider

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