• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Java BindingFactory类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



BindingFactory类属于org.pentaho.ui.xul.binding包,在下文中一共展示了BindingFactory类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: initializeXul

import org.pentaho.ui.xul.binding.BindingFactory; //导入依赖的package包/类
protected void initializeXul( XulLoader loader, BindingFactory bindingFactory, XulRunner runner, Object parent ) throws XulException {

    bf = bindingFactory;
    this.runner = runner;

    loader.registerClassLoader( getClass().getClassLoader() );
    loader.setSettingsManager( getSettingsManager() );
    loader.setOuterContext( parent );

    container = loader.loadXul( xulFile, getResourceBundle() );

    bf.setDocument( container.getDocumentRoot() );

    for ( XulEventHandler h : getEventHandlers() ) {
      container.addEventHandler( h );
    }

    this.runner.addContainer( container );

    // try and get the dialog
    xulDialog = (XulDialog) container.getDocumentRoot().getRootElement();
    runner.initialize();
  }
 
开发者ID:pentaho,项目名称:pentaho-kettle,代码行数:24,代码来源:AbstractPreviewRowsXulDialog.java


示例2: initializeXul

import org.pentaho.ui.xul.binding.BindingFactory; //导入依赖的package包/类
protected void initializeXul( XulLoader loader, BindingFactory bindingFactory, XulRunner runner, Object parent ) throws XulException {
  bf = bindingFactory;
  this.runner = runner;
  loader.registerClassLoader( getClass().getClassLoader() );
  loader.setSettingsManager( getSettingsManager() );
  loader.setOuterContext( parent );
  container = loader.loadXul( xulFile, getResourceBundle() );
  bf.setDocument( container.getDocumentRoot() );

  for ( XulEventHandler h : getEventHandlers() ) {
    container.addEventHandler( h );
  }

  this.runner.addContainer( container );

  // try and get the dialog
  xulDialog = (XulDialog) container.getDocumentRoot().getRootElement();
  runner.initialize();
}
 
开发者ID:pentaho,项目名称:pentaho-kettle,代码行数:20,代码来源:BaseStepGenericXulDialog.java


示例3: XulUI

import org.pentaho.ui.xul.binding.BindingFactory; //导入依赖的package包/类
public XulUI( Shell shell,  ModelerWorkspace model) throws ModelerException {
  try{
    SwtXulLoader loader = new SwtXulLoader();
    loader.registerClassLoader(getClass().getClassLoader());
    loader.setOuterContext(shell);
    container = loader.loadXul("org/pentaho/agilebi/modeler/res/panel.xul", new PDIMessages(ModelerWorkspace.class)); //$NON-NLS-1$

    
    controller = new SpoonModelerController(model);
    this.meta = new ModelerEngineMeta(controller);
    BindingFactory bf = new SwtBindingFactory();
    bf.setDocument(container.getDocumentRoot());
    container.addEventHandler(controller);
    controller.setBindingFactory(bf);
    controller.setWorkspaceHelper(new SpoonModelerWorkspaceHelper());
    
    ModelerUiHelper.configureControllers(container, model, bf, controller, new ColResolverController());
    
    runner = new SwtXulRunner();
    runner.addContainer(container);
    runner.initialize();
    container.loadPerspective("ov1");
  } catch(Exception e){
    logger.info("error initializing", e);
    throw new ModelerException(e);
  }
}
 
开发者ID:pentaho,项目名称:pdi-agile-bi-plugin,代码行数:28,代码来源:XulUI.java


示例4: init

import org.pentaho.ui.xul.binding.BindingFactory; //导入依赖的package包/类
private void init() {
  try {

    XulLoader loader = getLoader();
    loader.setOuterContext( parentWindow );
    container = loader.loadXul( "org/pentaho/commons/metadata/mqleditor/editor/xul/mainFrame.xul" );

    getRunner().addContainer( container );

    BindingFactory bf = new DefaultBindingFactory();
    bf.setDocument( container.getDocumentRoot() );

    mainController.setBindingFactory( bf );
    selectedColumnController.setBindingFactory( bf );
    constraintController.setBindingFactory( bf );
    orderController.setBindingFactory( bf );
    previewController.setBindingFactory( bf );

    container.addEventHandler( mainController );
    container.addEventHandler( selectedColumnController );
    container.addEventHandler( constraintController );
    container.addEventHandler( orderController );
    container.addEventHandler( previewController );

    mainController.setWorkspace( workspace );
    selectedColumnController.setWorkspace( workspace );
    constraintController.setWorkspace( workspace );
    orderController.setWorkspace( workspace );
    previewController.setWorkspace( workspace );

  } catch ( XulException e ) {
    log.error( "error loading Xul application", e );
  }
}
 
开发者ID:pentaho,项目名称:mql-editor,代码行数:35,代码来源:AbstractMqlEditor.java


示例5: addBindings

import org.pentaho.ui.xul.binding.BindingFactory; //导入依赖的package包/类
@Override
protected void addBindings( List<Binding> bindings, BindingFactory bf ) {

  super.addBindings( bindings, bf );

  Binding b = bf.createBinding( this, "keytabFile", "keytab", "value" );
  b.setBindingType( Binding.Type.BI_DIRECTIONAL );
  bindings.add( b );

  b = bf.createBinding( this, "useKeytab", "useKeytab", "checked" );
  b.setBindingType( Binding.Type.BI_DIRECTIONAL );
  bindings.add( b );

  b = bf.createBinding( "useKeytab", "checked", "keytab", "!disabled" );
  b.setBindingType( Binding.Type.ONE_WAY );
  bindings.add( b );

  b = bf.createBinding( "useKeytab", "checked", "browse", "!disabled" );
  b.setBindingType( Binding.Type.ONE_WAY );
  bindings.add( b );

  b = bf.createBinding( "useKeytab", "checked", "password", "disabled" );
  b.setBindingType( Binding.Type.ONE_WAY );
  bindings.add( b );

  b = bf.createBinding( "useKeytab", "checked", "principal", "disabled" );
  b.setBindingType( Binding.Type.ONE_WAY );
  bindings.add( b );

}
 
开发者ID:pentaho,项目名称:pentaho-kettle,代码行数:31,代码来源:KerberosAuthProvider.java


示例6: addBindings

import org.pentaho.ui.xul.binding.BindingFactory; //导入依赖的package包/类
@Override
protected void addBindings( List<Binding> bindings, BindingFactory bf ) {

  Binding b = bf.createBinding( this, "password", "password", "value" );
  b.setBindingType( Binding.Type.BI_DIRECTIONAL );
  bindings.add( b );

}
 
开发者ID:pentaho,项目名称:pentaho-kettle,代码行数:9,代码来源:BasicAuthProvider.java


示例7: setup

import org.pentaho.ui.xul.binding.BindingFactory; //导入依赖的package包/类
@Before
public void setup() {

  BindingFactory bf = new SwtBindingFactory();
  controller = new AuthProviderController(  );
  controller.setResourceBundle( resourceBundle );
  providers = AuthHarness.getProviders( bf );

}
 
开发者ID:pentaho,项目名称:pentaho-kettle,代码行数:10,代码来源:AuthProviderControllerTest.java


示例8: setBindingFactory

import org.pentaho.ui.xul.binding.BindingFactory; //导入依赖的package包/类
public void setBindingFactory(BindingFactory bf) {
  this.bf = bf;
}
 
开发者ID:yintaoxue,项目名称:read-open-source-code,代码行数:4,代码来源:RepositoriesController.java


示例9: getBindingFactory

import org.pentaho.ui.xul.binding.BindingFactory; //导入依赖的package包/类
public BindingFactory getBindingFactory() {
  return this.bf;
}
 
开发者ID:yintaoxue,项目名称:read-open-source-code,代码行数:4,代码来源:RepositoriesController.java


示例10: getBindingFactory

import org.pentaho.ui.xul.binding.BindingFactory; //导入依赖的package包/类
protected BindingFactory getBindingFactory(){
  return bf;
}
 
开发者ID:yintaoxue,项目名称:read-open-source-code,代码行数:4,代码来源:BaseStepXulDialog.java


示例11: setBindingFactory

import org.pentaho.ui.xul.binding.BindingFactory; //导入依赖的package包/类
public void setBindingFactory( BindingFactory bf ) {
  this.bf = bf;
}
 
开发者ID:pentaho,项目名称:mql-editor,代码行数:4,代码来源:PreviewController.java


示例12: getBindingFactory

import org.pentaho.ui.xul.binding.BindingFactory; //导入依赖的package包/类
protected BindingFactory getBindingFactory() {
  return bf;
}
 
开发者ID:pentaho,项目名称:pentaho-kettle,代码行数:4,代码来源:AbstractPreviewRowsXulDialog.java


示例13: getBindingFactory

import org.pentaho.ui.xul.binding.BindingFactory; //导入依赖的package包/类
public BindingFactory getBindingFactory() {
  return bf;
}
 
开发者ID:pentaho,项目名称:pentaho-kettle,代码行数:4,代码来源:AuthProviderController.java


示例14: NoAuthAuthProvider

import org.pentaho.ui.xul.binding.BindingFactory; //导入依赖的package包/类
public NoAuthAuthProvider( BindingFactory bf ) {
  super( bf );
}
 
开发者ID:pentaho,项目名称:pentaho-kettle,代码行数:4,代码来源:NoAuthAuthProvider.java


示例15: AbstractAuthProvider

import org.pentaho.ui.xul.binding.BindingFactory; //导入依赖的package包/类
public AbstractAuthProvider( BindingFactory bf ) {
  this.bf = bf;
}
 
开发者ID:pentaho,项目名称:pentaho-kettle,代码行数:4,代码来源:AbstractAuthProvider.java


示例16: KerberosAuthProvider

import org.pentaho.ui.xul.binding.BindingFactory; //导入依赖的package包/类
public KerberosAuthProvider( BindingFactory bf ) {
  super( bf );
}
 
开发者ID:pentaho,项目名称:pentaho-kettle,代码行数:4,代码来源:KerberosAuthProvider.java


示例17: BasicAuthProvider

import org.pentaho.ui.xul.binding.BindingFactory; //导入依赖的package包/类
public BasicAuthProvider( BindingFactory bf ) {
  super( bf );
}
 
开发者ID:pentaho,项目名称:pentaho-kettle,代码行数:4,代码来源:BasicAuthProvider.java


示例18: getBindingFactory

import org.pentaho.ui.xul.binding.BindingFactory; //导入依赖的package包/类
public BindingFactory getBindingFactory() {
  return controller.getBindingFactory();
}
 
开发者ID:pentaho,项目名称:pentaho-kettle,代码行数:4,代码来源:AuthProviderDialog.java


示例19: setBindingFactory

import org.pentaho.ui.xul.binding.BindingFactory; //导入依赖的package包/类
@Autowired
public void setBindingFactory(BindingFactory bindingFactory) {
  this.bindingFactory = bindingFactory;
}
 
开发者ID:pentaho,项目名称:pentaho-aggdesigner,代码行数:5,代码来源:StatusController.java


示例20: setBindingFactory

import org.pentaho.ui.xul.binding.BindingFactory; //导入依赖的package包/类
@Autowired
public void setBindingFactory(BindingFactory bindingFactory) {
  bindingFactory.setDocument(document);
  this.bindingFactory = bindingFactory;
}
 
开发者ID:pentaho,项目名称:pentaho-aggdesigner,代码行数:6,代码来源:AbstractMondrianSchemaProvider.java



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java Action类代码示例发布时间:2022-05-22
下一篇:
Java LiveBeansView类代码示例发布时间:2022-05-22
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap