// 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); }
public void refreshSelectedSubView() { UISWTViewCore view = getActiveSubView(); if (view != null && view.getComposite().isVisible()) { view.triggerEvent(UISWTViewEvent.TYPE_REFRESH, null); } }