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.core.commands.contexts
Class ContextEvent


java.lang.Object
  extended by 

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

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

org.eclipse.core.commands.common.AbstractNamedHandleEvent
              extended by 
org.eclipse.core.commands.contexts.ContextEvent

public final class ContextEvent
extends AbstractNamedHandleEvent

An instance of this class describes changes to an instance of IContext.

This class is not intended to be extended by clients.

Since:
3.1
See Also:
IContextListener.contextChanged(ContextEvent)

Field Summary
 
Fields inherited from class org.eclipse.core.commands.common. AbstractNamedHandleEvent
CHANGED_DESCRIPTION, CHANGED_NAME, LAST_USED_BIT
 
Fields inherited from class org.eclipse.core.commands.common. AbstractHandleObjectEvent
CHANGED_DEFINED, LAST_BIT_USED_ABSTRACT_HANDLE
 
Fields inherited from class org.eclipse.core.commands.common. AbstractBitSetEvent
changedValues
 
Constructor Summary
ContextEvent ( Context context, boolean definedChanged, boolean nameChanged, boolean descriptionChanged, boolean parentIdChanged)
          Creates a new instance of this class.
 
Method Summary
  Context getContext ()
          Returns the instance of the interface that changed.
 boolean isParentIdChanged ()
          Returns whether or not the parentId property changed.
 
Methods inherited from class org.eclipse.core.commands.common. AbstractNamedHandleEvent
isDescriptionChanged, isNameChanged
 
Methods inherited from class org.eclipse.core.commands.common. AbstractHandleObjectEvent
isDefinedChanged
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextEvent

public ContextEvent(
Context context,
                    boolean definedChanged,
                    boolean nameChanged,
                    boolean descriptionChanged,
                    boolean parentIdChanged)
Creates a new instance of this class.

Parameters:
context - the instance of the interface that changed; must not be null.
definedChanged - true, iff the defined property changed.
nameChanged - true, iff the name property changed.
descriptionChanged - true, iff the description property changed.
parentIdChanged - true, iff the parentId property changed.
Method Detail

getContext

public final 
Context getContext()
Returns the instance of the interface that changed.

Returns:
the instance of the interface that changed. Guaranteed not to be null.

isParentIdChanged

public final boolean isParentIdChanged()
Returns whether or not the parentId property changed.

Returns:
true, iff the parentId property changed.

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