public void createContents() { if (!contentCreated) { Control sashForm = createSashForm(); item.setControl(sashForm); initColors(); createExampleControls(exmplComp); createStyleControls(styleComp); exmplComp.layout(); styleComp.layout(); contentCreated = true; } }
// TabViews Functions public void addTabView(UISWTViewCore view) { if (view == null || tabFolder == null) { return; } triggerTabViewDataSourceChanged(view); CTabItem item = new CTabItem(tabFolder, SWT.NULL); item.setData("IView", view); Messages.setLanguageText(item, view.getTitleID()); view.initialize(tabFolder); item.setControl(view.getComposite()); tabViews.add(view); }