public final class WorkingSet extends HashStructureAdapter
_hash| Modifier and Type | Method and Description |
|---|---|
void |
excludeAllProjects() |
PatternFilters |
excludeChildren(Project project,
java.util.List<java.net.URL> children)
Hides each of the supplied URLs in the working set.
|
boolean |
excludeProject(Project project)
Deprecated.
Use #excludeProject(Project, Set)
|
boolean |
excludeProject(Project project,
java.util.Set<java.net.URL> workspaceChildren)
Hides a Project from the WorkingSet.
|
static PatternFilters |
getCurrentWorkingSetFilters(Project project)
|
ListStructure |
getExcludedProjectList()
Deprecated.
As of 12.0 this method is deprecated with no replacement.
|
java.lang.String |
getName() |
PatternFilters |
getOrCreatePatternFilters(Project project)
Gets the working set pattern filters for the supplied project; if none
exists, they are created.
|
PatternFilters |
getPatternFilters()
Gets the working set pattern filters.
|
PatternFilters |
getPatternFilters(Project project)
Gets the working set pattern filters that apply to the supplied project.
|
void |
includeAllProjects()
Clears the list of excuded projects, making all projects visible.
|
PatternFilters |
includeChildren(Project project,
java.util.List<java.net.URL> children,
boolean addChildrenExclusively)
Makes each of the supplied URLs visible in the working set.
|
void |
includeOnly(java.util.List<Project> projects) |
boolean |
includeProject(Project project)
Adds the project to the list of projects that are visible in the
working set.
|
boolean |
isEditable() |
boolean |
isExcluded(Project project)
Indicates whether or not the project is hidden from this working set.
|
boolean |
isIncluded(Project project)
Indicates whether or not the project is visible in this working set.
|
java.lang.String |
toString() |
addStructureChangeListener, containsKey, copyTo, copyToImpl, equals, equalsImpl, findOrCreate, forcedCopyTo, getHashStructure, removeStructureChangeListener, useObjectEquals@Deprecated public ListStructure getExcludedProjectList()
nullpublic boolean isExcluded(Project project)
project - a Project, must not be nullisIncluded(oracle.ide.model.Project)public boolean isIncluded(Project project)
project - a Project, must not be nullisExcluded(oracle.ide.model.Project)public boolean includeProject(Project project)
project - a Project, must not be nullpublic PatternFilters includeChildren(Project project, java.util.List<java.net.URL> children, boolean addChildrenExclusively)
includeProject(Project).project - the project that owns the children URLschildren - the set of children to make visible in the working setaddChildrenExclusively - public PatternFilters excludeChildren(Project project, java.util.List<java.net.URL> children)
excludeProject(Project, Set).project - the project that owns the children URLs, must not be nullchildren - the set of children to make visible in the working set@Deprecated public boolean excludeProject(Project project)
public boolean excludeProject(Project project, java.util.Set<java.net.URL> workspaceChildren)
project - the Project to hide from the WorkingSetworkspaceChildren - the set of Project URLs for all children
of the working settrue if the Project was hidden, false otherwisepublic void excludeAllProjects()
public void includeAllProjects()
public void includeOnly(java.util.List<Project> projects)
@Deprecated public static PatternFilters getCurrentWorkingSetFilters(Project project)
public PatternFilters getPatternFilters()
public PatternFilters getPatternFilters(Project project)
project - a Project, must not be nullgetOrCreatePatternFilters(oracle.ide.model.Project)public PatternFilters getOrCreatePatternFilters(Project project)
getPatternFilters(Project)instead to avoid unnecessarily
creating a PatternFilters instance.project - a Project, must not be nullgetPatternFilters(Project)public java.lang.String getName()
public java.lang.String toString()
toString in class java.lang.Objectpublic final boolean isEditable()