Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

oracle.ide.inspector
Class InspectableViewRegistry

java.lang.Object
  extended by oracle.ide.inspector.InspectableViewRegistry

public final class InspectableViewRegistry
extends java.lang.Object

Registers Views that can be inspected by the Property Inspector.


Method Summary
 java.lang.Iterable<MetaClass> detractors()
           
static InspectableViewRegistry instance()
          Returns the singleton instance of this class.
 void registerDetractor(java.lang.Class<? extends View> viewType)
          Registers the given type as a view that should not be inspected by the Property Inspector.
 void registerDetractor(MetaClass metaClazz)
          Registers the given metclass to disable inspection by the Property Inspector.
 void registerDetractor(java.lang.String classFQN)
          Deprecated. use MetaClass version instead.
 void registerDetractor(View view)
          Registers the given view to disable inspection by the Property Inspector.
 void registerSupporter(java.lang.Class<? extends View> viewType)
          Registers the given type as a view that can be inspected by the Property Inspector.
 void registerSupporter(MetaClass metaClazz)
          Registers the given metclass to enable inspection by the Property Inspector.
 void registerSupporter(java.lang.String classFQN)
          Deprecated. use MetaClass version instead.
 java.lang.Iterable<MetaClass> supporters()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

registerSupporter

public void registerSupporter(MetaClass metaClazz)
Registers the given metclass to enable inspection by the Property Inspector.

Parameters:
metaClazz - the metclass of a view that supports inspection.

registerSupporter

public void registerSupporter(java.lang.Class<? extends View> viewType)
Registers the given type as a view that can be inspected by the Property Inspector.

Parameters:
viewType - the type of the view to register.
Throws:
java.lang.IllegalArgumentException - if the given view type is null.

registerSupporter

public void registerSupporter(java.lang.String classFQN)
Deprecated. use MetaClass version instead.

Registers the given fully-qualified class name as a view that can be inspected by the Property Inspector.

Parameters:
classFQN - the fully-qualified class name of the view to register.
Throws:
java.lang.IllegalArgumentException - if the fully-qualified class name is either null or an empty String.

supporters

public java.lang.Iterable<MetaClass> supporters()

registerDetractor

public void registerDetractor(MetaClass metaClazz)
Registers the given metclass to disable inspection by the Property Inspector.

Parameters:
metaClazz - the metclass of a view that does not support inspection.

registerDetractor

public void registerDetractor(View view)
Registers the given view to disable inspection by the Property Inspector.

Parameters:
view - the view to register.
Throws:
java.lang.IllegalArgumentException - if the given view is null.

registerDetractor

public void registerDetractor(java.lang.Class<? extends View> viewType)
Registers the given type as a view that should not be inspected by the Property Inspector.

Parameters:
viewType - the type of the view to register.
Throws:
java.lang.IllegalArgumentException - if the given view type is null.

registerDetractor

public void registerDetractor(java.lang.String classFQN)
Deprecated. use MetaClass version instead.

Registers the given fully-qualified class name as a view that should not be inspected by the Property Inspector.

Parameters:
classFQN - the fully-qualified class name of the view to register.
Throws:
java.lang.IllegalArgumentException - if the fully-qualified class name is either null or an empty String.

detractors

public java.lang.Iterable<MetaClass> detractors()

instance

public static InspectableViewRegistry instance()
Returns the singleton instance of this class.

Returns:
the singleton instance of this class.

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

Copyright © 1997, 2011, Oracle. All rights reserved.