本文整理汇总了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());
}
}
}
示例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());
}
}
示例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 );
}
}
示例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() );
}
}
示例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 );
}
}
}
示例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
}
示例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());
}
}
示例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());
}
}
示例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());
}
}
示例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());
}
示例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() );
}
}
}
示例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());
}
}