Interface IntegrationObjectDefinitionTrimmer
- All Known Implementing Classes:
DefaultIntegrationObjectDefinitionTrimmer
public interface IntegrationObjectDefinitionTrimmer
Trims the definition map of the modeling view.
-
Method Summary
Modifier and TypeMethodDescriptiontrimMap(org.zkoss.zul.Tree composedTypeTree, IntegrationObjectDefinition fullMap) Given a map that represents all the tree nodes with each tree node's complete listBox and a Tree, this method will iterate through the tree from its first child (normally the only child) to all of its descendants.
-
Method Details
-
trimMap
IntegrationObjectDefinition trimMap(org.zkoss.zul.Tree composedTypeTree, IntegrationObjectDefinition fullMap) Given a map that represents all the tree nodes with each tree node's complete listBox and a Tree, this method will iterate through the tree from its first child (normally the only child) to all of its descendants. If a tree node has any item that is selected, a new entry will be created and added to another instance ofIntegrationObjectDefinitionwhich is returned at the end.- Parameters:
composedTypeTree- the tree that contains a root type and its displayable descendants. Normally composedType type and element's type of structured type will be displayed.- Returns:
- a
IntegrationObjectDefinitioncontaining the trimmed definition map of the full definition map.
-