Class SubtreeInducer
- java.lang.Object
-
- com._1c.g5.v8.dt.md.ui.navigator.tree.SubtreeInducer
-
- All Implemented Interfaces:
ISubtreeInducer
public class SubtreeInducer extends Object implements ISubtreeInducer
The default implementation ofISubtreeInducer
.
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description SubtreeInducer(com.google.common.collect.Multimap<Class<?>,Class<?>> transitions, Set<Class<?>> hasOuterToSubtreeChildren)
Creates a new instance with the given transitions.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasOuterToSubtreeChildren(Object node)
Determines if the specified node may have children from the source tree that are not the induced subgraph nodes.boolean
inSubgraph(Object node)
Determines if the given node belongs to the induced subgraph.boolean
inSubgraph(Object parent, Object child)
Determines if the edge from the parent to its child belongs to the induced subgraph.boolean
isSubgraphInnerNode(Object node)
Determines if the specified node is inner node in the induced subgraph.
-
-
-
Field Detail
-
BASIC_DB_OBJECT_SUBTREE_INDUCER
public static final ISubtreeInducer BASIC_DB_OBJECT_SUBTREE_INDUCER
TheISubtreeInducer
instance of the navigator tree forBasicDbObject
's.
-
BASIC_REGISTER_SUBTREE_INDUCER
public static final ISubtreeInducer BASIC_REGISTER_SUBTREE_INDUCER
TheISubtreeInducer
instance of the navigator tree forBasicRegister
's.
-
BASIC_DB_OBJECT_AND_REGISTER_SUBTREE_INDUCER
public static final ISubtreeInducer BASIC_DB_OBJECT_AND_REGISTER_SUBTREE_INDUCER
-
DOCUMENT_SUBTREE_INDUCER
public static final ISubtreeInducer DOCUMENT_SUBTREE_INDUCER
TheISubtreeInducer
instance of the navigator tree forDocument
.
-
SUBSYSTEM__SUBTREE_INDUCER
public static final ISubtreeInducer SUBSYSTEM__SUBTREE_INDUCER
TheISubtreeInducer
instance of the navigator tree forSubsystem
.
-
DOCUMENT_JOURNAL__SUBTREE_INDUCER
public static final ISubtreeInducer DOCUMENT_JOURNAL__SUBTREE_INDUCER
TheISubtreeInducer
instance of the navigator tree forDocumentJournal
.
-
SEQUENCE__SUBTREE_INDUCER
public static final ISubtreeInducer SEQUENCE__SUBTREE_INDUCER
TheISubtreeInducer
instance of the navigator tree forSequence
.
-
CHART_OF_CALCULATION_TYPES__SUBTREE_INDUCER
public static final ISubtreeInducer CHART_OF_CALCULATION_TYPES__SUBTREE_INDUCER
TheISubtreeInducer
instance of the navigator tree forChartOfCalculationTypes
.
-
FUNCTIONAL_OPTION__SUBTREE_INDUCER
public static final ISubtreeInducer FUNCTIONAL_OPTION__SUBTREE_INDUCER
TheISubtreeInducer
instance of the navigator tree forFunctionalOption
.
-
CALCULATION_REGISTER__SUBTREE_INDUCER
public static final ISubtreeInducer CALCULATION_REGISTER__SUBTREE_INDUCER
TheISubtreeInducer
instance of the navigator tree forCalculationRegister
.
-
COMMOM_ATTRIBUTE__CONDITIONAL_SEPARATION__SUBTREE_INDUCER
public static final ISubtreeInducer COMMOM_ATTRIBUTE__CONDITIONAL_SEPARATION__SUBTREE_INDUCER
TheISubtreeInducer
instance of the navigator tree forCommonAttribute
conditional separation.
-
FULL_TEXT_SEARCH_DICTIONARY_SOURCE__SUBTREE_INDUCER
public static final ISubtreeInducer FULL_TEXT_SEARCH_DICTIONARY_SOURCE__SUBTREE_INDUCER
TheISubtreeInducer
instance of the navigator tree forFullTextSearchDictionarySource
.
-
CATALOG__OWNER__SUBTREE_INDUCER
public static final ISubtreeInducer CATALOG__OWNER__SUBTREE_INDUCER
TheISubtreeInducer
instance of the navigator tree forCatalogOwner
owners feature.
-
FUNCTIONAL_OPTIONS_PARAMETER__USE__SUBTREE_INDUCER
public static final ISubtreeInducer FUNCTIONAL_OPTIONS_PARAMETER__USE__SUBTREE_INDUCER
TheISubtreeInducer
instance of the navigator tree forFunctionalOptionParameter
use feature.
-
EXCHANGE_PLAN_CONTENT__SUBTREE_INDUCER
public static final ISubtreeInducer EXCHANGE_PLAN_CONTENT__SUBTREE_INDUCER
TheISubtreeInducer
instance of the navigator tree forExchangePlan
content feature.
-
CONFIGURATION_STANDALONE_CONTENT__SUBTREE_INDUCER
public static final ISubtreeInducer CONFIGURATION_STANDALONE_CONTENT__SUBTREE_INDUCER
TheISubtreeInducer
instance of the navigator tree forConfiguration
standalone content feature.
-
FUNCTIONAL_OPTION_LOCATION__SUBTREE_INDUCER
public static final ISubtreeInducer FUNCTIONAL_OPTION_LOCATION__SUBTREE_INDUCER
TheISubtreeInducer
instance of the navigator tree forFunctionalOption
location feature.
-
FUNCTIONAL_OPTION_CONTENT__SUBTREE_INDUCER
public static final ISubtreeInducer FUNCTIONAL_OPTION_CONTENT__SUBTREE_INDUCER
TheISubtreeInducer
instance of the navigator tree forFunctionalOption
content feature.
-
SUBSYSTEM_CONTENT__SUBTREE_INDUCER
public static final ISubtreeInducer SUBSYSTEM_CONTENT__SUBTREE_INDUCER
TheISubtreeInducer
instance of the navigator tree forSubsystem
content feature.
-
REPORT__FORM__SUBTREE_INDUCER
public static final ISubtreeInducer REPORT__FORM__SUBTREE_INDUCER
TheISubtreeInducer
instance of the navigator tree forReport
form feature.
-
EXTERNAL_DATA_SOURCES_CHARACTERISTICS_SUBTREE_INDUCER
public static final ISubtreeInducer EXTERNAL_DATA_SOURCES_CHARACTERISTICS_SUBTREE_INDUCER
TheISubtreeInducer
instance of the navigator tree for external data sources characteristics feature.
-
-
Constructor Detail
-
SubtreeInducer
public SubtreeInducer(com.google.common.collect.Multimap<Class<?>,Class<?>> transitions, Set<Class<?>> hasOuterToSubtreeChildren)
Creates a new instance with the given transitions.- Parameters:
transitions
- the transitions of the induced subtree, can not benull
hasOuterToSubtreeChildren
- the nodes of the induced subtree that may have children from the source tree that are not the induced subgraph nodes, can not benull
-
-
Method Detail
-
inSubgraph
public boolean inSubgraph(Object parent, Object child)
Description copied from interface:ISubtreeInducer
Determines if the edge from the parent to its child belongs to the induced subgraph.- Specified by:
inSubgraph
in interfaceISubtreeInducer
- Parameters:
parent
- the parent of the specified child, can not benull
child
- the specified child, can not benull
- Returns:
true
the edge from the parent to its child belongs to the induced subgraph andfalse
otherwise
-
inSubgraph
public boolean inSubgraph(Object node)
Description copied from interface:ISubtreeInducer
Determines if the given node belongs to the induced subgraph.- Specified by:
inSubgraph
in interfaceISubtreeInducer
- Parameters:
node
- the given node from the source tree, can not benull
- Returns:
true
the given node belongs to the induced subgraph andfalse
otherwise
-
isSubgraphInnerNode
public boolean isSubgraphInnerNode(Object node)
Description copied from interface:ISubtreeInducer
Determines if the specified node is inner node in the induced subgraph.- Specified by:
isSubgraphInnerNode
in interfaceISubtreeInducer
- Parameters:
node
- the specified node from the origin tree, can not benull
- Returns:
true
if the specified node is inner node in the induced subgraph andfalse
otherwise
-
hasOuterToSubtreeChildren
public boolean hasOuterToSubtreeChildren(Object node)
Description copied from interface:ISubtreeInducer
Determines if the specified node may have children from the source tree that are not the induced subgraph nodes.- Specified by:
hasOuterToSubtreeChildren
in interfaceISubtreeInducer
- Parameters:
node
- the specified node from the origin tree, can not benull
- Returns:
true
if the specified node may have children from the source tree that are not the induced subgraph nodes andfalse
otherwise
-
-