Extension SDK 9.0.5

oracle.jdeveloper.cmt
Class CmtComponentManager

java.lang.Object
  extended byoracle.jdeveloper.cmt.CmtComponentManager
All Implemented Interfaces:
CmtComponents, Observer

public abstract class CmtComponentManager
extends java.lang.Object
implements CmtComponents, Observer


Field Summary
protected  java.util.HashMap componentMap
           
protected  java.lang.Object key
           
protected static java.util.HashMap MANAGER_MAP
           
protected  JotManager packages
           
 
Constructor Summary
protected CmtComponentManager(JProject project)
           
 
Method Summary
protected abstract  CmtComponent createComponent(JotClass jClass)
           
protected abstract  CmtComponent createComponent(JotFile jFile)
           
static java.beans.PropertyEditor findEditor(java.lang.Class targetType)
           
static CmtComponents getCmtComponents(JProject prj)
           
 CmtComponent getComponent(JotClass clazz)
          Get a component given a JotClass that represents a class (not an interface)
 CmtComponent getComponent(JotFile jFile)
          Get a component given a JotFile that contains a class (not an interface) The actual worker function for above component getters
 CmtComponent getComponent(java.net.URL url)
          Get a component for reference given its file URL
 JotManager getPackages()
          returns the package manager that this component manager is working with
 void release(CmtComponent component)
          Release all references to the given CmtComponent
 void shutdown()
          Shutdown this manager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface oracle.ide.addin.Observer
update
 

Field Detail

MANAGER_MAP

protected static java.util.HashMap MANAGER_MAP

componentMap

protected java.util.HashMap componentMap

key

protected java.lang.Object key

packages

protected JotManager packages
Constructor Detail

CmtComponentManager

protected CmtComponentManager(JProject project)
Method Detail

getCmtComponents

public static final CmtComponents getCmtComponents(JProject prj)

findEditor

public static final java.beans.PropertyEditor findEditor(java.lang.Class targetType)

createComponent

protected abstract CmtComponent createComponent(JotClass jClass)

createComponent

protected abstract CmtComponent createComponent(JotFile jFile)

getComponent

public CmtComponent getComponent(JotClass clazz)
Get a component given a JotClass that represents a class (not an interface)

Specified by:
getComponent in interface CmtComponents

getComponent

public CmtComponent getComponent(java.net.URL url)
Get a component for reference given its file URL

Specified by:
getComponent in interface CmtComponents

getComponent

public CmtComponent getComponent(JotFile jFile)
Get a component given a JotFile that contains a class (not an interface) The actual worker function for above component getters

Specified by:
getComponent in interface CmtComponents

release

public void release(CmtComponent component)
Release all references to the given CmtComponent

Specified by:
release in interface CmtComponents

getPackages

public JotManager getPackages()
Description copied from interface: CmtComponents
returns the package manager that this component manager is working with

Specified by:
getPackages in interface CmtComponents

shutdown

public void shutdown()
Description copied from interface: CmtComponents
Shutdown this manager

Specified by:
shutdown in interface CmtComponents

Extension SDK

 

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