Extension SDK 9.0.5

oracle.jdeveloper.jot
Class Jot

java.lang.Object
  extended byoracle.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()
           
 
Method Summary
static JotModel getJotModel()
          Retrieves the JotModel.
static JotModelFactory getJotModelFactory()
          Retrieves the JotModelFactory.
static JotWorkArea getJotWorkArea(java.lang.Object key)
          Retrieves the JotWorkArea associated with a given key object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Jot

public Jot()
Method Detail

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.

Extension SDK

 

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