oracle.jdeveloper.jot
Class Jot
java.lang.Object
oracle.jdeveloper.jot.Jot
- public class Jot
- extends java.lang.Object
The Jot
provides static registration and retrieval services for the Jot packages.
Constructor Summary |
Jot()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Jot
public Jot()
getJotModel
public static JotModel getJotModel()
- Retrieves the
JotModel
. Creates one if none exists.
-
- Returns:
- the
JotModel
.
getJotWorkArea
public static JotWorkArea getJotWorkArea(java.lang.Object key)
throws java.lang.IllegalArgumentException
- Retrieves the
JotWorkArea
associated with a given key object. The key should be of a type associated with the environment hosting the Jot. For JDeveloper, the key should be a oracle.jdeveloper.model.JProject
. The key is resolved to a JotWorkAreaProperties
using the registered, or default JotWorkAreaPropertiesFactory
. This is then used to create the correct JotWorkArea
using the registered, or default JotWorkAreaFactory
-
- Parameters:
key
- the key used to create both the JotWorkAreaProperties
and the JotWorkArea
. There is only one JotWorkArea
per key.
- Throws:
java.lang.IllegalArgumentException
- if the factory classes cannot resolve the key to the correct type for the environment.
getJotModelFactory
public static JotModelFactory getJotModelFactory()
- Retrieves the
JotModelFactory
. Creates one if none exists.
-
- Returns:
- the
JotModel
.
Copyright © 1997, 2004, Oracle. All rights reserved.