|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.ide.model.ContentSetHelper
oracle.jdeveloper.model.JavaContentSetHelper
public class JavaContentSetHelper
Field Summary |
---|
Fields inherited from class oracle.ide.model.ContentSetHelper |
---|
_projectContent |
Constructor Summary | |
---|---|
JavaContentSetHelper(java.lang.String key) |
Method Summary | |
---|---|
protected void |
addContentImpl(java.net.URL url, ContentSet contentSet, boolean includeSubFolders, ProgressBar progressBar) Adds the URL to the content set. |
protected void |
removeContentImpl(java.net.URL url, ContentSet contentSet) Creates an exclude filter to exclude the URL from the content set. |
protected boolean |
restoreContentImpl(java.net.URL url, ContentSet contentSet) Restores a URL which has been excluded from a content set. |
Methods inherited from class oracle.ide.model.ContentSetHelper |
---|
addContent, canAddContent, getBaseContentSet, newContentSet, removeContent, restoreContent, unExclude |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JavaContentSetHelper(java.lang.String key)
Method Detail |
---|
protected void addContentImpl(java.net.URL url, ContentSet contentSet, boolean includeSubFolders, ProgressBar progressBar)
ContentSetHelper
Note: Subclasses that override this method must not invoke any UI during its processing because it may be called off the event thread.
addContentImpl
in class ContentSetHelper
url
- a file or folder URLcontentSet
- the target content setincludeSubFolders
- indicates whether or not subfolders are added (ignored if the supplied url is a file)progressBar
- when non-null, the supplied progressBar
can be used to show progress during a long-running process. If progressBar
is null, this method is being called off the event thread, so no UI should be shown.protected boolean restoreContentImpl(java.net.URL url, ContentSet contentSet)
ContentSetHelper
false
if contentSet
cannot contain the supplied URL.
Note: Subclasses that override this method must not invoke any UI during its processing because it may be called off the event thread.
restoreContentImpl
in class ContentSetHelper
url
- the URL to "unexclude" from the content setcontentSet
- the content set to updatetrue
if the URL was "unexcluded" from this content set. If the ContentSet
cannot contain this URL, false
is returned.protected void removeContentImpl(java.net.URL url, ContentSet contentSet)
ContentSetHelper
Note: Subclasses that override this method must not invoke any UI during its processing because it may be called off the event thread.
removeContentImpl
in class ContentSetHelper
url
- the URL to excludecontentSet
- the target project
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |