public void swt_refresh() { if (tv.isTabViewsEnabled() && tabFolder != null && !tabFolder.isDisposed() && !tabFolder.getMinimized()) { refreshSelectedSubView(); } }
public UISWTViewCore getActiveSubView() { if (!tv.isTabViewsEnabled() || tabFolder == null || tabFolder.isDisposed() || tabFolder.getMinimized()) { return null; } CTabItem item = tabFolder.getSelection(); if (item != null) { return (UISWTViewCore) item.getData("IView"); } return null; }