当前位置: 首页>>代码示例>>Java>>正文


Java XulDomContainer.loadOverlay方法代码示例

本文整理汇总了Java中org.pentaho.ui.xul.XulDomContainer.loadOverlay方法的典型用法代码示例。如果您正苦于以下问题:Java XulDomContainer.loadOverlay方法的具体用法?Java XulDomContainer.loadOverlay怎么用?Java XulDomContainer.loadOverlay使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在org.pentaho.ui.xul.XulDomContainer的用法示例。


在下文中一共展示了XulDomContainer.loadOverlay方法的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: apply

import org.pentaho.ui.xul.XulDomContainer; //导入方法依赖的package包/类
public void apply(XulDomContainer container) throws XulException {
  this.container = container;
  container.registerClassLoader(getClass().getClassLoader());
  for(XulEventHandler handler:handlers) {
    container.addEventHandler(handler);
  }
  for (XulOverlay overlay : overlays) {
    if(overlay instanceof RepositoryExplorerDefaultXulOverlay) {
      container.loadOverlay(overlay.getOverlayUri(), new XulSpoonResourceBundle(((RepositoryExplorerDefaultXulOverlay) overlay).getPackageClass()));
    } else {
      container.loadOverlay(overlay.getOverlayUri(), overlay.getResourceBundleUri());  
    }
  }
}
 
开发者ID:yintaoxue,项目名称:read-open-source-code,代码行数:15,代码来源:AbstractRepositoryExplorerUISupport.java

示例2: applyToContainer

import org.pentaho.ui.xul.XulDomContainer; //导入方法依赖的package包/类
public void applyToContainer(String category, XulDomContainer container) throws XulException {
  container.registerClassLoader(getClass().getClassLoader());
  if(category.equals("spoon")){
    container.loadOverlay("org/pentaho/agilebi/spoon/spoon_overlays.xul", bundle);
    container.addEventHandler(ModelerHelper.getInstance());
  } else if(category.equals("job-graph")){
    container.loadOverlay("org/pentaho/agilebi/spoon/job_overlay.xul", bundle);
    container.addEventHandler(ModelerHelper.getInstance());
  } else if(category.equals("trans-graph")){
    container.loadOverlay("org/pentaho/agilebi/spoon/trans_overlay.xul", bundle);
    container.addEventHandler(ModelerHelper.getInstance());
  } else if(category.equals("database_dialog")){
    container.loadOverlay("org/pentaho/agilebi/spoon/database_dialog_overlay.xul", bundle);
    container.addEventHandler(new AgileBiDatabaseController());
  }
}
 
开发者ID:pentaho,项目名称:pdi-agile-bi-plugin,代码行数:17,代码来源:AgileBISpoonPlugin.java

示例3: applyToContainer

import org.pentaho.ui.xul.XulDomContainer; //导入方法依赖的package包/类
@Override
public void applyToContainer( String category, XulDomContainer container ) throws XulException {
  container.registerClassLoader( getClass().getClassLoader() );
  if ( category.equals( "spoon" ) ) {
    container.loadOverlay( "org/pentaho/di/git/spoon/xul/git_spoon_overlays.xul", resourceBundle );
  }
}
 
开发者ID:HiromuHota,项目名称:pdi-git-plugin,代码行数:8,代码来源:GitSpoonPlugin.java

示例4: applyToContainer

import org.pentaho.ui.xul.XulDomContainer; //导入方法依赖的package包/类
public void applyToContainer( String category, XulDomContainer container ) throws XulException {
  container.registerClassLoader( getClass().getClassLoader() );
  if ( category.equals( "spoon" ) ) {
    container.loadOverlay( "org/pentaho/di/dataset/spoon/xul/spoon_overlays.xul" );
    container.addEventHandler( DataSetHelper.getInstance() );
  }
  if ( category.equals( "trans-graph" ) ) {
    container.loadOverlay( "org/pentaho/di/dataset/spoon/xul/trans_graph_overlays.xul" );
    container.addEventHandler( DataSetHelper.getInstance() );
  }
}
 
开发者ID:mattcasters,项目名称:pentaho-pdi-dataset,代码行数:12,代码来源:DataSetSpoonPlugin.java

示例5: applyToContainer

import org.pentaho.ui.xul.XulDomContainer; //导入方法依赖的package包/类
@Override
public void applyToContainer( String category, XulDomContainer container ) throws XulException {
  ClassLoader cl = getClass().getClassLoader();
  container.registerClassLoader( cl );
  if ( category.equals( "trans-graph" ) ) {
    container.loadOverlay( "org/pentaho/community/di/trans_layout_menu_overlay.xul", bundle );
    container.addEventHandler( this );

    for ( LayoutProvider provider : providers ) {
      addProvider( provider );
    }
  }
}
 
开发者ID:mattyb149,项目名称:pdi-layout,代码行数:14,代码来源:PdiLayoutManager.java

示例6: applyToContainer

import org.pentaho.ui.xul.XulDomContainer; //导入方法依赖的package包/类
@Override
public void applyToContainer(String category, XulDomContainer container) throws XulException {
  ClassLoader cl = getClass().getClassLoader();
  container.registerClassLoader(cl);
  if(category.equals("spoon")){
    container.loadOverlay("ninja/mattburgess/pentaho/di/zookeeper/zooviewer/spoon_overlays.xul", bundle);
    container.addEventHandler(this);
  }
  // force linking of console

}
 
开发者ID:mattyb149,项目名称:pdi-zookeeper,代码行数:12,代码来源:ZooviewerSpoonPlugin.java

示例7: applyToContainer

import org.pentaho.ui.xul.XulDomContainer; //导入方法依赖的package包/类
@Override
public void applyToContainer(String category, XulDomContainer container) throws XulException {
    container.registerClassLoader(getClass().getClassLoader());

    if (category.equals("spoon")) {
        container.loadOverlay("org/pentaho/di/profiling/datacleaner/spoon_overlay.xul");
        container.addEventHandler(ModelerHelper.getInstance());
    } else if (category.equals("trans-graph")) {
        container.loadOverlay("org/pentaho/di/profiling/datacleaner/trans_overlay.xul");
        container.addEventHandler(ModelerHelper.getInstance());
    } else if (category.equals("database_dialog")) {
        container.loadOverlay("org/pentaho/di/profiling/datacleaner/database_dialog_overlay.xul");
        container.addEventHandler(new ProfilerDatabaseExplorerController());
    }
}
 
开发者ID:datacleaner,项目名称:pdi-datacleaner,代码行数:16,代码来源:SpoonProfilePlugin.java

示例8: applyToContainer

import org.pentaho.ui.xul.XulDomContainer; //导入方法依赖的package包/类
/**
 * Applies the XUL overlay specified in the loadOverlay call.
 */
@Override
public void applyToContainer(String category, XulDomContainer container) throws XulException {
  if (category.equals("spoon")) {
    container.registerClassLoader(getClass().getClassLoader());
    container.loadOverlay("org/pentaho/di/core/market/spoon_overlays.xul");
    container.addEventHandler(new MarketplaceController());
  }
}
 
开发者ID:bsspirit,项目名称:kettle-4.4.0-stable,代码行数:12,代码来源:Market.java

示例9: applyToContainer

import org.pentaho.ui.xul.XulDomContainer; //导入方法依赖的package包/类
public void applyToContainer(String category, XulDomContainer container) throws XulException {
  container.registerClassLoader(getClass().getClassLoader());
  if(category.equals("spoon")){
    container.loadOverlay("org/pentaho/di/starmodeler/xul/spoon_overlays.xul");
    container.addEventHandler(ModelerHelper.getInstance());
  } 
}
 
开发者ID:jjeb,项目名称:kettle-trunk,代码行数:8,代码来源:StarModelerSpoonPlugin.java

示例10: createPresentationComponent

import org.pentaho.ui.xul.XulDomContainer; //导入方法依赖的package包/类
public void createPresentationComponent(XulDomContainer mainWizardContainer) throws XulException
{
  super.createPresentationComponent(mainWizardContainer);

  mainWizardContainer.loadOverlay(DATASOURCE_AND_QUERY_STEP_OVERLAY);
  mainWizardContainer.addEventHandler(new DatasourceAndQueryStepHandler());
}
 
开发者ID:pentaho,项目名称:pdi-agile-bi-plugin,代码行数:8,代码来源:DataSourceAndQueryStep.java

示例11: apply

import org.pentaho.ui.xul.XulDomContainer; //导入方法依赖的package包/类
public void apply( XulDomContainer container ) throws XulException {
  this.container = container;
  container.registerClassLoader( getClass().getClassLoader() );
  for ( XulEventHandler handler : handlers ) {
    container.addEventHandler( handler );
  }
  for ( XulOverlay overlay : overlays ) {
    if ( overlay instanceof RepositoryExplorerDefaultXulOverlay ) {
      container.loadOverlay( overlay.getOverlayUri(), new XulSpoonResourceBundle(
        ( (RepositoryExplorerDefaultXulOverlay) overlay ).getPackageClass() ) );
    } else {
      container.loadOverlay( overlay.getOverlayUri(), overlay.getResourceBundleUri() );
    }
  }
}
 
开发者ID:pentaho,项目名称:pentaho-kettle,代码行数:16,代码来源:AbstractRepositoryExplorerUISupport.java

示例12: applyToContainer

import org.pentaho.ui.xul.XulDomContainer; //导入方法依赖的package包/类
public void applyToContainer(String category, XulDomContainer container) throws XulException {
  container.registerClassLoader(getClass().getClassLoader());
  if(category.equals("spoon")){
    container.loadOverlay("org/pentaho/di/starmodeler/xul/spoon_overlays.xul");
    container.addEventHandler(ModelerHelper.getInstance());
  }
}
 
开发者ID:pentaho,项目名称:pentaho-kettle,代码行数:8,代码来源:StarModelerSpoonPlugin.java


注:本文中的org.pentaho.ui.xul.XulDomContainer.loadOverlay方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。