Package com._1c.g5.v8.dt.cai.model.util
Class CaiModelUtil
java.lang.Object
com._1c.g5.v8.dt.cai.model.util.CaiModelUtil
Util for model of Client Application Interface
- 
Method SummaryModifier and TypeMethodDescriptionstatic CaiGroupCreate group of Client Application Interface with random uuidstatic CaiPanelcreateCaiPanel(CaiPanelInfo panelInfo) Create panel of Client Application Interface with random uuid by given panel infostatic ClientApplicationInterfaceGet parentClientApplicationInterfacefor given itemstatic Set<CaiPanelInfo>getContainedPanelInfos(ClientApplicationInterface clientApplicationInterface) Set of all panel infos contained inClientApplicationInterfacestatic Set<CaiPanelInfo>getContainedPanelInfos(Collection<? extends CaiAbstractItem> side) Set of all panel infos contained in given collectiongetContainedPanels(ClientApplicationInterface clientApplicationInterface) List of all panels contained inClientApplicationInterfacegetContainedPanels(Collection<? extends CaiAbstractItem> side) List of all panels contained in given collectionstatic org.eclipse.emf.ecore.EStructuralFeatureGet direction feature of Client Application Interface containing given item
- 
Method Details- 
createCaiPanelCreate panel of Client Application Interface with random uuid by given panel info- Parameters:
- panelInfo- the new panel basic information, cannot be- null
- Returns:
- new instance of CaiPanel, nevernull
 
- 
createCaiGroupCreate group of Client Application Interface with random uuid- Returns:
- new instance of CaiGroup, nevernull
 
- 
getContainedPanelInfospublic static Set<CaiPanelInfo> getContainedPanelInfos(ClientApplicationInterface clientApplicationInterface) Set of all panel infos contained inClientApplicationInterface- Parameters:
- clientApplicationInterface- the- ClientApplicationInterfacecontains panels, cannot be- null
- Returns:
- set of CaiPanelInfo, nevernull
 
- 
getContainedPanelInfosSet of all panel infos contained in given collection- Parameters:
- side- the collection contains panels, cannot be- null
- Returns:
- set of CaiPanelInfo, nevernull
 
- 
getContainedPanelspublic static List<CaiPanel> getContainedPanels(ClientApplicationInterface clientApplicationInterface) List of all panels contained inClientApplicationInterface- Parameters:
- clientApplicationInterface- the- ClientApplicationInterfacecontains panels, cannot be- null
- Returns:
- list of CaiPanel, nevernull
 
- 
getContainedPanelsList of all panels contained in given collection- Parameters:
- side- the collection contains panels, cannot be- null
- Returns:
- list of CaiPanel, nevernull
 
- 
getClientApplicationInterfaceGet parentClientApplicationInterfacefor given item- Parameters:
- item- the client application interface item, cannot be- null
- Returns:
- parent ClientApplicationInterfaceornullif given item not contains in anyClientApplicationInterface
 
- 
getDirectionFeatureGet direction feature of Client Application Interface containing given item- Parameters:
- item- the client application interface item, cannot be- null
- Returns:
- one of Client Application Interface direction feature (top,bottom,left,right), ornull
 
 
-