org.openide.options
Class ControlPanel

java.lang.Object
  |
  +--org.openide.options.ControlPanel
All Implemented Interfaces:
Serializable

Deprecated. With the use of services and XML layers, this class is not useful.

public class ControlPanel
extends Object
implements Serializable

Singleton pool with a list of options for the entire IDE. Provides "safe" serialization of options (i.e. failures are per-property, not per-option nor per-pool).

See Also:
Serialized Form

Constructor Summary
ControlPanel()
          Deprecated. Default constructor, not to be called by user code.
 
Method Summary
 boolean add(SystemOption so)
          Deprecated. Use a declaration in a manifest file.
 SystemOption[] getSystemOptions()
          Deprecated. Get all options in the pool.
 void readExternal(ObjectInput oi)
          Deprecated.  
 boolean remove(SystemOption so)
          Deprecated.  
 void writeExternal(ObjectOutput oo)
          Deprecated.  
 Object writeReplace()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ControlPanel

public ControlPanel()
Deprecated. 
Default constructor, not to be called by user code.
See Also:
TopManager.getControlPanel()
Method Detail

add

public boolean add(SystemOption so)
Deprecated. Use a declaration in a manifest file.

Add a new option to the pool.
Parameters:
so - the option to add
Returns:
true if the object was added; false if it was already there

remove

public boolean remove(SystemOption so)
Deprecated.  

Remove an option from the pool.
Parameters:
so - the option to remove
Returns:
true if the option was removed; false if it was not there anyway

getSystemOptions

public SystemOption[] getSystemOptions()
Deprecated. 
Get all options in the pool.
Returns:
the options

writeExternal

public void writeExternal(ObjectOutput oo)
                   throws IOException
Deprecated. 

readExternal

public void readExternal(ObjectInput oi)
                  throws IOException,
                         ClassNotFoundException
Deprecated. 

writeReplace

public final Object writeReplace()
Deprecated. 


Built on December 12 2001.  |  Portions Copyright 1997-2001 Sun Microsystems, Inc. All rights reserved.