Class FilterBySubsystemsData
- java.lang.Object
-
- com._1c.g5.v8.dt.md.ui.subsystems.FilterBySubsystemsData
-
public class FilterBySubsystemsData extends Object
The filter by subsystem data to store and load settings from file, memento etc.
-
-
Constructor Summary
Constructors Constructor Description FilterBySubsystemsData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCheckedSubsystems(String projectName, Collection<String> subsystems)
Marks the given collection of subsystems as checked in the subsystems tree for the given project.FilterBySubsystemsData
clone()
Set<String>
getAllProjects()
Returns the set of all projects of which are the subsystem are taken.Set<String>
getCheckedProjects()
Returns the set of checked projects of which are the subsystem are taken.Set<String>
getCheckedSubsystems(String project)
Returns the set of checked subsystems in the subsystems tree for the given project.Set<String>
getIncludeNotIncludedInSubsystems()
Returns the set of projects for which 'IncludeNotIncludedInSubsystems' node is checked in the subsystems tree.boolean
isIncludeObjectsFromParentSubsystems()
Returns the value of the 'includeObjectsFromParentSubsystems' flag.boolean
isIncludeObjectsFromSubordinateSubsystems()
Returns the value of the 'includeObjectsFromSubordinateSubsystems' flag.void
setIncludeObjectsFromParentSubsystems(boolean includeObjectsFromParentSubsystems)
Sets the value of the 'includeObjectsFromParentSubsystems' flag.void
setIncludeObjectsFromSubordinateSubsystems(boolean includeObjectsFromSubordinateSubsystems)
Sets the value of the 'includeObjectsFromSubordinateSubsystems' flag.
-
-
-
Method Detail
-
getAllProjects
public Set<String> getAllProjects()
Returns the set of all projects of which are the subsystem are taken.- Returns:
- the set of all projects, never
null
-
getCheckedProjects
public Set<String> getCheckedProjects()
Returns the set of checked projects of which are the subsystem are taken.- Returns:
- the set of checked projects, never
null
-
getIncludeNotIncludedInSubsystems
public Set<String> getIncludeNotIncludedInSubsystems()
Returns the set of projects for which 'IncludeNotIncludedInSubsystems' node is checked in the subsystems tree.- Returns:
- the set of projects, never
null
-
getCheckedSubsystems
public Set<String> getCheckedSubsystems(String project)
Returns the set of checked subsystems in the subsystems tree for the given project.- Parameters:
project
- the project to get checked subsystems for, cannot benull
- Returns:
- the subsystems from the given project for which the node is checked, never
null
-
addCheckedSubsystems
public void addCheckedSubsystems(String projectName, Collection<String> subsystems)
Marks the given collection of subsystems as checked in the subsystems tree for the given project.- Parameters:
project
- the project to set checked subsystems for, cannot benull
subsystems
- the subsystems to be checked, nevernull
-
isIncludeObjectsFromSubordinateSubsystems
public boolean isIncludeObjectsFromSubordinateSubsystems()
Returns the value of the 'includeObjectsFromSubordinateSubsystems' flag.- Returns:
- the value of the 'includeObjectsFromSubordinateSubsystems' flag
-
setIncludeObjectsFromSubordinateSubsystems
public void setIncludeObjectsFromSubordinateSubsystems(boolean includeObjectsFromSubordinateSubsystems)
Sets the value of the 'includeObjectsFromSubordinateSubsystems' flag.- Parameters:
value
- the 'includeObjectsFromSubordinateSubsystems' flag value
-
isIncludeObjectsFromParentSubsystems
public boolean isIncludeObjectsFromParentSubsystems()
Returns the value of the 'includeObjectsFromParentSubsystems' flag.- Returns:
- the value of the 'includeObjectsFromParentSubsystems' flag
-
setIncludeObjectsFromParentSubsystems
public void setIncludeObjectsFromParentSubsystems(boolean includeObjectsFromParentSubsystems)
Sets the value of the 'includeObjectsFromParentSubsystems' flag.- Parameters:
value
- the 'includeObjectsFromParentSubsystems' flag value
-
clone
public FilterBySubsystemsData clone()
-
-