public class Group extends AbstractNavigationNode
| Modifier and Type | Field and Description | 
|---|---|
| protected Map<String,Group> | groups | 
| protected Map<String,View> | viewNames | 
| protected Map<String,View> | views | 
i18n, icon, path, viewSuffix| Constructor and Description | 
|---|
| Group(String id)Construct a new group with the specified ID. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addGroup(Group group)Add a group to this group. | 
| void | addView(View view)Add a view to this group. | 
| Object | clone() | 
| protected void | copyGroupsAndViews(Group group) | 
| protected View | findViewInternal(String viewName) | 
| Group | getGroup(String id)Get the sub-group with the specified ID. | 
| List<Group> | getGroups()Get the list of sub-groups | 
| View | getView(String viewId) | 
| View | getViewByName(String viewName)Get the view with the specified name. | 
| List<View> | getViews()Get the list of views. | 
copyCommonAttributes, equals, getDepth, getI18n, getI18nPrefix, getI18nSeparator, getI18nSuffix, getIcon, getIconPrefix, getIconSeparator, getIconSuffix, getId, getParent, getPath, getPathPrefix, getPathSeparator, getViewSuffix, hashCode, isEnabled, isHidden, isParent, setEnabled, setHidden, setI18n, setIcon, setParent, setPath, setViewSuffixpublic Group(String id)
id - the ID of the grouppublic void addGroup(Group group)
group - the group to addpublic Group getGroup(String id)
id - the ID of the sub-grouppublic void addView(View view)
view - the view to addpublic View getViewByName(String viewName)
viewName - the name of the view (ID+suffix)protected void copyGroupsAndViews(Group group)
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.