public void addTransLog() { TransGraph activeTransGraph = getActiveTransGraph(); if ( activeTransGraph != null ) { activeTransGraph.transLogDelegate.addTransLog(); activeTransGraph.transGridDelegate.addTransGrid(); } }
transLogDelegate.clearLog();
this.delayTimers = new HashMap<>(); transLogDelegate = new TransLogDelegate( spoon, this ); transGridDelegate = new TransGridDelegate( spoon, this ); transHistoryDelegate = new TransHistoryDelegate( spoon, this );
transLogComposite.setLayout( new FormLayout() ); addToolBar();
transLogDelegate.clearLog();
public void showLogView() { // What button? // // XulToolbarButton showLogXulButton = toolbar.getButtonById("trans-show-log"); // ToolItem toolBarButton = (ToolItem) showLogXulButton.getNativeObject(); if ( transLogTab == null || transLogTab.isDisposed() ) { addTransLog(); } else { transLogTab.dispose(); transGraph.checkEmptyExtraView(); } // spoon.addTransLog(transMeta); }
public void addAllTabs() { CTabItem tabItemSelection = null; if ( extraViewTabFolder != null && !extraViewTabFolder.isDisposed() ) { tabItemSelection = extraViewTabFolder.getSelection(); } transHistoryDelegate.addTransHistory(); transLogDelegate.addTransLog(); transGridDelegate.addTransGrid(); transPerfDelegate.addTransPerf(); transMetricsDelegate.addTransMetrics(); transPreviewDelegate.addTransPreview(); List<SpoonUiExtenderPluginInterface> relevantExtenders = SpoonUiExtenderPluginType.getInstance().getRelevantExtenders( TransGraph.class, LOAD_TAB ); for ( SpoonUiExtenderPluginInterface relevantExtender : relevantExtenders ) { relevantExtender.uiEvent( this, LOAD_TAB ); } if ( tabItemSelection != null ) { extraViewTabFolder.setSelection( tabItemSelection ); } else { extraViewTabFolder.setSelection( transGridDelegate.getTransGridTab() ); } XulToolbarbutton button = (XulToolbarbutton) toolbar.getElementById( "trans-show-results" ); button.setTooltiptext( BaseMessages.getString( PKG, "Spoon.Tooltip.HideExecutionResults" ) ); ToolItem toolItem = (ToolItem) button.getManagedObject(); toolItem.setImage( GUIResource.getInstance().getImageHideResults() ); }
activeTransGraph.transLogDelegate.addTransLog();