Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


oracle.ide.model
Class WorkingSet

java.lang.Object
  extended by oracle.javatools.data.HashStructureAdapter
      extended by oracle.ide.model.WorkingSet


public final class WorkingSet
extends HashStructureAdapter

Field Summary

 

Fields inherited from class oracle.javatools.data.HashStructureAdapter
_hash

 

Method Summary
 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)
          Adds the project to the list of exluded projects, hiding the project in the working set.
static PatternFilters getCurrentWorkingSetFilters(Project project)
          Deprecated. Use WorkingSets.getInstance(Workspace) .getCurrentWorkingSet() .getPatternFilters(Project)
 ListStructure getExcludedProjectList()
          Gets the list of URLs for all projects that are excluded from the application-level working set.
 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.
 boolean includeProject(Project project)
          Adds the project to the list of projects that are visible in the working set.
 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.

 

Methods inherited from class oracle.javatools.data.HashStructureAdapter
addStructureChangeListener, containsKey, copyTo, copyToImpl, equals, equalsImpl, findOrCreate, forcedCopyTo, getHashStructure, removeStructureChangeListener, useObjectEquals

 

Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

getExcludedProjectList

public ListStructure getExcludedProjectList()
Gets the list of URLs for all projects that are excluded from the application-level working set.
Returns:
a list of URLs, or null if all projects are included

isExcluded

public boolean isExcluded(Project project)
Indicates whether or not the project is hidden from this working set.
Parameters:
project - a Project, must not be null
Returns:
true if the supplied project is hidden, false otherwise
See Also:
isIncluded(oracle.ide.model.Project)

isIncluded

public boolean isIncluded(Project project)
Indicates whether or not the project is visible in this working set.
Parameters:
project - a Project, must not be null
Returns:
true if the supplied project is visible, false otherwise
See Also:
isExcluded(oracle.ide.model.Project)

includeProject

public boolean includeProject(Project project)
Adds the project to the list of projects that are visible in the working set.
Parameters:
project - a Project, must not be null
Returns:
true if the list of excluded projects changed as a result of the call

includeChildren

public PatternFilters includeChildren(Project project,
                                      java.util.List<java.net.URL> children,
                                      boolean addChildrenExclusively)
Makes each of the supplied URLs visible in the working set. Note that this does not add the project to the list of projects that are visible in the working set. To ensure the project is visible, call includeProject(Project).
Parameters:
project - the project that owns the children URLs
children - the set of children to make visible in the working set
addChildrenExclusively -

excludeChildren

public PatternFilters excludeChildren(Project project,
                                      java.util.List<java.net.URL> children)
Hides each of the supplied URLs in the working set. Note that this does not hide the project itself. To hide the project, call excludeProject(Project).
Parameters:
project - the project that owns the children URLs, must not be null
children - the set of children to make visible in the working set

excludeProject

public boolean excludeProject(Project project)
Adds the project to the list of exluded projects, hiding the project in the working set.
Parameters:
project - the Project to exclude, must not be null
Returns:
true if the list of excluded projects changed as a result of the call

includeAllProjects

public void includeAllProjects()
Clears the list of excuded projects, making all projects visible.

getCurrentWorkingSetFilters

@Deprecated
public static PatternFilters getCurrentWorkingSetFilters(Project project)
Deprecated. Use WorkingSets.getInstance(Workspace) .getCurrentWorkingSet() .getPatternFilters(Project)

getPatternFilters

public PatternFilters getPatternFilters()
Gets the working set pattern filters. Note for the application-level working set, pattern filters are not used. To get or creation pattern filters for a specific project, use {@link #getPatternFilters(Project).
Returns:
a PatternFilters object

getPatternFilters

public PatternFilters getPatternFilters(Project project)
Gets the working set pattern filters that apply to the supplied project.
Parameters:
project - a Project, must not be null
Returns:
the PatternFilters or null if there are no filters
See Also:
getOrCreatePatternFilters(oracle.ide.model.Project)

getOrCreatePatternFilters

public PatternFilters getOrCreatePatternFilters(Project project)
Gets the working set pattern filters for the supplied project; if none exists, they are created. In general, callers should use getPatternFilters(Project)instead to avoid unnecessarily creating a PatternFilters instance.
Parameters:
project - a Project, must not be null
Returns:
the PatternFilters for the supplied project
See Also:
getPatternFilters(Project)

getName

public java.lang.String getName()

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


Copyright © 1997, 2012, Oracle. All rights reserved.