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
Class HandlerEvent


java.lang.Object
  extended by 

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

public final class HandlerEvent
extends AbstractBitSetEvent

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

This class is not intended to be extended by clients.

Since:
3.1
See Also:
IHandlerListener.handlerChanged(HandlerEvent)

Field Summary
 
Fields inherited from class org.eclipse.core.commands.common. AbstractBitSetEvent
changedValues
 
Constructor Summary
HandlerEvent ( IHandler handler, boolean enabledChanged, boolean handledChanged)
          Creates a new instance of this class.
 
Method Summary
  IHandler getHandler ()
          Returns the instance of the interface that changed.
 boolean isEnabledChanged ()
          Returns whether or not the enabled property changed.
 boolean isHandledChanged ()
          Returns whether or not the handled property changed.
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HandlerEvent

public HandlerEvent(
IHandler handler,
                    boolean enabledChanged,
                    boolean handledChanged)
Creates a new instance of this class.

Parameters:
handler - the instance of the interface that changed; must not be null.
enabledChanged - Whether the enabled state of the handler has changed.
handledChanged - Whether the handled state of the handler has changed.
Method Detail

getHandler

public 
IHandler getHandler()
Returns the instance of the interface that changed.

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

isEnabledChanged

public boolean isEnabledChanged()
Returns whether or not the enabled property changed.

Returns:
true, iff the enabled property changed.

isHandledChanged

public boolean isHandledChanged()
Returns whether or not the handled property changed.

Returns:
true, iff the handled 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