com.ibm.designer.domino.xsp.api.panels.complex
Class ComplexPanelRegistry

java.lang.Object
  extended by com.ibm.commons.swt.util.registry.PluginRegistryReader
      extended by com.ibm.designer.domino.xsp.api.panels.complex.ComplexPanelRegistry

public class ComplexPanelRegistry
extends com.ibm.commons.swt.util.registry.PluginRegistryReader

An Eclipse plug-in registry reader that reads the registry information for the com.ibm.designer.domino.xsp.editor.panels extension point.


Method Summary
static ComplexPanelRegistry getInstance()
           
 java.lang.String getPanelClass(java.lang.String contextId, XPagesKey key)
          Returns the complex panel for the given XPages tag, and context id
 java.lang.String getPanelClass(XPagesKey key)
          Returns a complex panel based on the given XPages tag
 IComplexPanelFactory getPanelFactory(java.lang.String contextId, XPagesKey key)
          Returns the complex panel factory for the given XPages tag, and context id
 IComplexPanelFactory getPanelFactory(XPagesKey key)
          Returns the complex panel factory for the given XPages tag
protected  void readElement(org.eclipse.core.runtime.IConfigurationElement element)
           
 
Methods inherited from class com.ibm.commons.swt.util.registry.PluginRegistryReader
logError, logMissingAttribute, logMissingElement, logUnknownElement, readPluginRegistry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ComplexPanelRegistry getInstance()
Returns:
the singleton instance of the registry

getPanelFactory

public IComplexPanelFactory getPanelFactory(XPagesKey key)
Returns the complex panel factory for the given XPages tag

Parameters:
key - an XPagesKey describing a tag
Returns:
a complex panel factory

getPanelClass

public java.lang.String getPanelClass(XPagesKey key)
Returns a complex panel based on the given XPages tag

Parameters:
key - an XPagesKey describing a tag
Returns:
a complex panel

getPanelFactory

public IComplexPanelFactory getPanelFactory(java.lang.String contextId,
                                            XPagesKey key)
Returns the complex panel factory for the given XPages tag, and context id

Parameters:
contextId - a context id
key - an XPagesKey describing a tag
Returns:
a complex panel factory

getPanelClass

public java.lang.String getPanelClass(java.lang.String contextId,
                                      XPagesKey key)
Returns the complex panel for the given XPages tag, and context id

Parameters:
contextId - a context id
key - an XPagesKey describing a tag
Returns:
a complex panel

readElement

protected void readElement(org.eclipse.core.runtime.IConfigurationElement element)
Specified by:
readElement in class com.ibm.commons.swt.util.registry.PluginRegistryReader