public boolean isDisposed() { return item.isDisposed(); }
public void run() { if ( perfComposite != null && !perfComposite.isDisposed() && canvas != null && !canvas.isDisposed() && transPerfTab != null && !transPerfTab.isDisposed() ) { if ( transPerfTab.isShowing() ) { updateCanvas(); } } }
public void showPerfView() { // What button? // // XulToolbarButton showLogXulButton = toolbar.getButtonById("trans-show-log"); // ToolItem toolBarButton = (ToolItem) showLogXulButton.getNativeObject(); if ( transPerfTab == null || transPerfTab.isDisposed() ) { addTransPerf(); } else { transPerfTab.dispose(); transGraph.checkEmptyExtraView(); } }
public void showGridView() { if ( transGridTab == null || transGridTab.isDisposed() ) { addTransGrid(); } else { transGridTab.dispose(); transGraph.checkEmptyExtraView(); } }
public void showPreviewView() { if ( transPreviewTab == null || transPreviewTab.isDisposed() ) { addTransPreview(); } else { transPreviewTab.dispose(); transGraph.checkEmptyExtraView(); } }
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 showMetricsView() { // What button? // // XulToolbarButton showLogXulButton = // toolbar.getButtonById("trans-show-log"); // ToolItem toolBarButton = (ToolItem) showLogXulButton.getNativeObject(); if ( jobMetricsTab == null || jobMetricsTab.isDisposed() ) { addJobMetrics(); } else { jobMetricsTab.dispose(); jobGraph.checkEmptyExtraView(); } }
public void showMetricsView() { // What button? // // XulToolbarButton showLogXulButton = // toolbar.getButtonById("trans-show-log"); // ToolItem toolBarButton = (ToolItem) showLogXulButton.getNativeObject(); if ( transMetricsTab == null || transMetricsTab.isDisposed() ) { addTransMetrics(); } else { transMetricsTab.dispose(); transGraph.checkEmptyExtraView(); } }
public void run() { if ( metricsComposite != null && !metricsComposite.isDisposed() && canvas != null && !canvas.isDisposed() && jobMetricsTab != null && !jobMetricsTab.isDisposed() ) { if ( jobMetricsTab.isShowing() ) { canvas.redraw(); } } } } );
public void run() { if ( metricsComposite != null && !metricsComposite.isDisposed() && canvas != null && !canvas.isDisposed() && transMetricsTab != null && !transMetricsTab.isDisposed() ) { if ( transMetricsTab.isShowing() ) { canvas.redraw(); } } } } );
transGraph.addExtraView(); } else { if ( transPerfTab != null && !transPerfTab.isDisposed() ) {
/** * Add a grid with the execution metrics per step in a table view * */ public void addJobGrid() { // First, see if we need to add the extra view... // if ( jobGraph.extraViewComposite == null || jobGraph.extraViewComposite.isDisposed() ) { jobGraph.addExtraView(); } else { if ( jobGridTab != null && !jobGridTab.isDisposed() ) { // just set this one active and get out... // jobGraph.extraViewTabFolder.setSelection( jobGridTab ); return; } } jobGridTab = new CTabItem( jobGraph.extraViewTabFolder, SWT.NONE ); jobGridTab.setImage( GUIResource.getInstance().getImageShowGrid() ); jobGridTab.setText( BaseMessages.getString( PKG, "Spoon.TransGraph.GridTab.Name" ) ); addControls(); jobGridTab.setControl( wTree ); jobGraph.extraViewTabFolder.setSelection( jobGridTab ); }
transGraph.addExtraView(); } else { if ( transPreviewTab != null && !transPreviewTab.isDisposed() ) {
jobGraph.addExtraView(); } else { if ( jobMetricsTab != null && !jobMetricsTab.isDisposed() ) {
transGraph.addExtraView(); } else { if ( transMetricsTab != null && !transMetricsTab.isDisposed() ) {
jobGraph.addExtraView(); } else { if ( jobHistoryTab != null && !jobHistoryTab.isDisposed() ) {
transGraph.addExtraView(); } else { if ( transHistoryTab != null && !transHistoryTab.isDisposed() ) {
transGraph.addExtraView(); } else { if ( transLogTab != null && !transLogTab.isDisposed() ) {
jobGraph.addExtraView(); } else { if ( jobLogTab != null && !jobLogTab.isDisposed() ) {
transGraph.addExtraView(); } else { if ( transGridTab != null && !transGridTab.isDisposed() ) {