oracle.jdeveloper.jot
Interface JotModel
- All Superinterfaces:
- JotClassDatabase, JotElement, JotManipulations, JotWorkArea, Subject
- public interface JotModel
- extends JotWorkArea
The JotModel
represents the top level Jot object in the application. The JotModel
is a JotWorkArea
with no parent. It contains all other instances of JotWorkArea
. There can beonly one such JotModel
.
This interface is not intended to be implemented by clients. An instance of JotModel
can be obtained by calling Jot.getJotModel()
.
Method Summary |
void |
refreshAllPrecachedData(boolean foreground)
Performs the same work as refreshPrecachedData(JotWorkArea[], boolean) with all known work areas as the scope. |
void |
refreshPrecachedData(JotWorkArea[] workAreas, boolean foreground)
Causes the updating of all precached data for archives present in each JotWorkArea , when this task determines that there is out of date data present in a cache. |
Methods inherited from interface oracle.jdeveloper.jot.JotWorkArea |
addChild, addLibrary, getClassLoader, getFile, getFile, getFileList, getLibraryByName, getURL, getURL, loadClass, removeChild, removeLibrary, removeLibraryByName, setLibraryList |
Methods inherited from interface oracle.jdeveloper.jot.JotElement |
getChildren, getContainedElements, getElementName, getElementType, getEndOffset, getID, getJotWorkArea, getParent, getStartOffset, isExistent, isReadOnly, isStructureKnown, setParent |
refreshPrecachedData
public void refreshPrecachedData(JotWorkArea[] workAreas,
boolean foreground)
throws JotException
- Causes the updating of all precached data for archives present in each
JotWorkArea
, when this task determines that there is out of date data present in a cache. This task may cause considerable work. If foreground is specified, the application hosting the Jot will be stopped until the work is completed.
The Jot takes measures to insure that this data is kept up to date. Callers should have a very specific reason to instruct the Jot to perform this task. In all normal use cases it will not need prompting.
-
- Parameters:
workAreas
- an array of JotWorkArea
instances that are to have their archive data checked and updated.
foreground
- Whether any resulting work should be done while blocking the application and providing a status dialog.
- Throws:
JotException
refreshAllPrecachedData
public void refreshAllPrecachedData(boolean foreground)
throws JotException
- Performs the same work as
refreshPrecachedData(JotWorkArea[], boolean)
with all known work areas as the scope.
-
- Parameters:
foreground
- Whether any resulting work should be done while blocking the application and providing a status dialog.
- Throws:
JotException
Copyright © 1997, 2004, Oracle. All rights reserved.