public final class UIManager
extends java.lang.Object
Constructor and Description |
---|
UIManager() |
Modifier and Type | Method and Description |
---|---|
static void |
annotate(CmtComponentSource model,
CmtComponents mgr)
Tokenize the given CmtComponentSource into CmtModel trees of CmtModelNode
with one CmtModelNode for each member field or local variable within
the GUI initialization area.
|
static java.util.List |
createApplicableOperations(Context c,
oracle.javatools.datatransfer.ExtendedTransferable t) |
static java.util.List |
getAssistedLayouts() |
static java.lang.String |
getConcreteProxy(java.lang.String clsName)
Get a registered proxy implementation class name for a given original
class name.
|
static oracle.javatools.datatransfer.DataTransferPluginRegistry |
getDataTransferPluginRegistry() |
static oracle.javatools.datatransfer.ExtendedTransferable |
getDropTransferable() |
static java.util.Iterator |
getFactories()
Get an Iterator of all the registered ModeFactory instances.
|
static ModelFactory |
getFactory(java.lang.Class cls)
Get the ModelFactory that produced the CmtModel implementation class
provided.
|
static LayoutAssistant |
getLayoutAssistant(java.lang.String clsName) |
static java.lang.String |
getLibraryForLayout(java.lang.String layout) |
static oracle.javatools.datatransfer.ExtendedTransferable |
getPasteTransferable() |
static URLPath |
getProxyPath(java.lang.String clsName)
Get the classpath in which the proxy class associated with a given original
class name can be found.
|
static void |
registerConcreteProxy(java.lang.String clsName,
java.lang.String proxyName,
URLPath proxyPath) |
static void |
registerFactory(ModelFactory factory)
Register a ModelFactory.
|
static void |
registerLayoutManager(java.lang.String layoutName,
java.lang.String libID,
java.lang.String assistantName) |
static void |
registerLayoutManager(java.lang.String layoutName,
java.lang.String libID,
java.lang.String assistantName,
java.lang.ClassLoader loader) |
static void |
registerOperationFactory(OperationFactory factory) |
static void |
setDefaultFactory(ModelFactory factory)
Set the ModelFactory to use as the default when no registered ModelFactory
has produced a CmtModel containing a CmtModelNode for a given variable.
|
static void |
setDropTransferable(java.awt.datatransfer.Transferable t)
During a DnD, this is called to set the current transferable.
|
static void |
setPasteTransferable(java.awt.datatransfer.Transferable t)
During a copy/paste, this is called to set the current transferable.
|
static void |
unregisterOperationFactory(OperationFactory factory) |
public static void setDefaultFactory(ModelFactory factory)
factory
- the ModelFactory to use as defaultModelFactory
,
CmtModel
,
oracle.jdeveloper.ctm.CmtModelNode
public static void registerFactory(ModelFactory factory)
factory
- the ModelFactory to registerModelFactory
public static ModelFactory getFactory(java.lang.Class cls)
cls
- an implementation of CmtModelpublic static java.util.Iterator getFactories()
public static void annotate(CmtComponentSource model, CmtComponents mgr)
model
- the CmtCompnentModel to tokenizemgr
- the CmtComponents that produced the CmtComponentSourcepublic static void registerLayoutManager(java.lang.String layoutName, java.lang.String libID, java.lang.String assistantName)
public static void registerLayoutManager(java.lang.String layoutName, java.lang.String libID, java.lang.String assistantName, java.lang.ClassLoader loader)
public static java.util.List getAssistedLayouts()
public static LayoutAssistant getLayoutAssistant(java.lang.String clsName)
public static java.lang.String getLibraryForLayout(java.lang.String layout)
public static void registerConcreteProxy(java.lang.String clsName, java.lang.String proxyName, URLPath proxyPath)
public static java.lang.String getConcreteProxy(java.lang.String clsName)
clsName
- name of the original class for which a proxy is desired.public static URLPath getProxyPath(java.lang.String clsName)
clsName
- name of the original class for which a proxy has been
registered, else null to receive all paths from all proxy registrations.public static java.util.List createApplicableOperations(Context c, oracle.javatools.datatransfer.ExtendedTransferable t)
public static void registerOperationFactory(OperationFactory factory)
public static void unregisterOperationFactory(OperationFactory factory)
public static oracle.javatools.datatransfer.DataTransferPluginRegistry getDataTransferPluginRegistry()
public static oracle.javatools.datatransfer.ExtendedTransferable getDropTransferable()
public static void setDropTransferable(java.awt.datatransfer.Transferable t)
public static oracle.javatools.datatransfer.ExtendedTransferable getPasteTransferable()
public static void setPasteTransferable(java.awt.datatransfer.Transferable t)