本文整理汇总了Java中org.pentaho.di.ui.spoon.SpoonUiExtenderPluginInterface类的典型用法代码示例。如果您正苦于以下问题:Java SpoonUiExtenderPluginInterface类的具体用法?Java SpoonUiExtenderPluginInterface怎么用?Java SpoonUiExtenderPluginInterface使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
SpoonUiExtenderPluginInterface类属于org.pentaho.di.ui.spoon包,在下文中一共展示了SpoonUiExtenderPluginInterface类的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: addAllTabs
import org.pentaho.di.ui.spoon.SpoonUiExtenderPluginInterface; //导入依赖的package包/类
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() );
}