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.core.commands.common
Class HandleObjectManager

java.lang.Object
  extended by 

org.eclipse.core.commands.common.EventManager
      extended by 
org.eclipse.core.commands.common.HandleObjectManager
Direct Known Subclasses:
BindingManager, CommandManager, ContextManager

public abstract class HandleObjectManager
extends EventManager

A manager of HandleObject instances. This has some common behaviour which is shared between all such managers.

Clients may extend.

Since:
3.2

Field Summary
protected   Set definedHandleObjects
          The set of handle objects that are defined.
protected   Map handleObjectsById
          The map of identifiers (String) to handle objects ( HandleObject).
 
Constructor Summary
HandleObjectManager ()
           
 
Method Summary
protected  void checkId ( String id)
          Verifies that the identifier is valid.
protected   Set getDefinedHandleObjectIds ()
          Returns the set of identifiers for those handle objects that are defined.
 
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
 

Field Detail

definedHandleObjects

protected final 
Set definedHandleObjects
The set of handle objects that are defined. This value may be empty, but it is never null.


handleObjectsById

protected final 
Map handleObjectsById
The map of identifiers (String) to handle objects ( HandleObject). This collection may be empty, but it is never null.

Constructor Detail

HandleObjectManager

public HandleObjectManager()
Method Detail

checkId

protected final void checkId(
String id)
Verifies that the identifier is valid. Exceptions will be thrown if the identifier is invalid in some way.

Parameters:
id - The identifier to validate; may be anything.

getDefinedHandleObjectIds

protected final 
Set getDefinedHandleObjectIds()
Returns the set of identifiers for those handle objects that are defined.

Returns:
The set of defined handle object identifiers; this value may be empty, but it is never null.

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