public class JavaContentSetHelper extends ContentSetHelper
_applicationContent, _projectContent| Constructor and Description |
|---|
JavaContentSetHelper(java.lang.String key) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
addApplicationContent, addContent, canAddApplicationContent, canAddContent, getApplicationBaseContentSet, getBaseContentSet, newApplicationContentSet, newChildContentSet, newContentSet, removeContent, restoreApplicationContent, restoreContent, unExcludeprotected void addContentImpl(java.net.URL url,
ContentSet contentSet,
boolean includeSubFolders,
ProgressBar progressBar)
ContentSetHelperNote: 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 ContentSetHelperurl - 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)
ContentSetHelperfalse 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 ContentSetHelperurl - 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)
ContentSetHelperNote: 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 ContentSetHelperurl - the URL to excludecontentSet - the target project