|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.ide.model.ContentLevelFilter oracle.ide.model.AsynchronousContentLevelFilter
public abstract class AsynchronousContentLevelFilter
Extends ContentLevelFilter by defining asynchronous semantics. updateDir will The updateDir method will not necesarily be called on the AWT event dispatch thread, and the IDE may call cancelUpdateDir() to request that updateDir be stopped.
Constructor Summary | |
---|---|
protected |
AsynchronousContentLevelFilter(java.lang.String[] contentSetKeys)
Creates a ContentLevelFilter that works on the content sets with the specified keys. |
Method Summary | |
---|---|
abstract void |
cancelUpdateDir()
|
abstract java.util.concurrent.Callable<java.util.List<Subject>> |
getUpdateDirRequestHandler()
Gets a Callable object that will perform the
asynchronous request. |
void |
postUpdateDirRequestHandlerSubmitted(URLPath srcRoots,
java.lang.String dirRelPath,
java.util.List elementList)
Can be optionally overriden after the asynchronous request from getUpdateDirRequestHandler has been submitted for
execution. |
Methods inherited from class oracle.ide.model.ContentLevelFilter |
---|
updateDir |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AsynchronousContentLevelFilter(java.lang.String[] contentSetKeys)
contentSetKeys
- A non-null, non-empty array of content
set keys for which this ContentLevelFilter will apply. All of
the keys must be a value returned by some
ContentSetProvider.getKey()
method.
java.lang.IllegalArgumentException
- if contentSetKeys
is null or empty or if any item in the contentSetKeys array is
null.Method Detail |
---|
public abstract java.util.concurrent.Callable<java.util.List<Subject>> getUpdateDirRequestHandler()
Callable
object that will perform the
asynchronous request. Guaranteed to be preceeded by a call to
ContentLevelFilter
.updateDir
The return value
is a list of Subject
s whose structure has changed
as a result of the asynchronous operation, and whose observers will
need to be notified.
Subject
s whose observers
are to be notified once the asynchronous operations has
completed.oracle.ide.model.UpdateMessage}.fireStructureChanged(Subject)
public void postUpdateDirRequestHandlerSubmitted(URLPath srcRoots, java.lang.String dirRelPath, java.util.List elementList)
getUpdateDirRequestHandler
has been submitted for
execution. Executed synchronously. Defaults to no-op.
srcRoots
- see ContentLevelFilter
.updateDir
dirRelPath
- see ContentLevelFilter
.updateDir
elementList
- see ContentLevelFilter
.updateDir
public abstract void cancelUpdateDir()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |