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


Java BuilderCustomizer类代码示例

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


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

示例1: doConfigure

import griffon.util.BuilderCustomizer; //导入依赖的package包/类
@Override
protected void doConfigure() {
    // tag::bindings[]
    bind(ConfigReader.class)
        .toProvider(ConfigReader.Provider.class)
        .asSingleton();

    bind(CompositeResourceBundleBuilder.class)
        .to(GroovyAwareCompositeResourceBundleBuilder.class)
        .asSingleton();

    bind(GriffonAddon.class)
        .to(GroovyAddon.class)
        .asSingleton();

    bind(MVCGroupManager.class)
        .to(GroovyAwareMVCGroupManager.class)
        .asSingleton();

    bind(BuilderCustomizer.class)
        .to(CoreBuilderCustomizer.class)
        .asSingleton();
    // end::bindings[]
}
 
开发者ID:aalmiray,项目名称:griffon2,代码行数:25,代码来源:GroovyModule.java

示例2: doConfigure

import griffon.util.BuilderCustomizer; //导入依赖的package包/类
@Override
protected void doConfigure() {
    // tag::bindings[]
    bind(BuilderCustomizer.class)
        .to(FatcowIconsSwingBuilderCustomizer.class)
        .asSingleton();
    // end::bindings[]
}
 
开发者ID:griffon-plugins,项目名称:griffon-fatcowicons-plugin,代码行数:9,代码来源:FatcowIconsSwingGroovyModule.java

示例3: doConfigure

import griffon.util.BuilderCustomizer; //导入依赖的package包/类
@Override
protected void doConfigure() {
    // tag::bindings[]
    bind(BuilderCustomizer.class)
        .to(FatcowIconsJavaFXBuilderCustomizer.class)
        .asSingleton();
    // end::bindings[]
}
 
开发者ID:griffon-plugins,项目名称:griffon-fatcowicons-plugin,代码行数:9,代码来源:FatcowIconsJavaFXGroovyModule.java

示例4: doConfigure

import griffon.util.BuilderCustomizer; //导入依赖的package包/类
@Override
protected void doConfigure() {
    // tag::bindings[]
    bind(BuilderCustomizer.class)
        .to(FontAwesomeSwingBuilderCustomizer.class)
        .asSingleton();
    // end::bindings[]
}
 
开发者ID:griffon-plugins,项目名称:griffon-fontawesome-plugin,代码行数:9,代码来源:FontAwesomeSwingGroovyModule.java

示例5: doConfigure

import griffon.util.BuilderCustomizer; //导入依赖的package包/类
@Override
protected void doConfigure() {
    // tag::bindings[]
    bind(BuilderCustomizer.class)
        .to(FontAwesomeJavaFXBuilderCustomizer.class)
        .asSingleton();
    // end::bindings[]
}
 
开发者ID:griffon-plugins,项目名称:griffon-fontawesome-plugin,代码行数:9,代码来源:FontAwesomeJavaFXGroovyModule.java

示例6: doConfigure

import griffon.util.BuilderCustomizer; //导入依赖的package包/类
@Override
protected void doConfigure() {
    // tag::bindings[]
    bind(BuilderCustomizer.class)
        .to(SwingBuilderCustomizer.class)
        .asSingleton();
    // end::bindings[]
}
 
开发者ID:aalmiray,项目名称:griffon2,代码行数:9,代码来源:SwingBuilderModule.java

示例7: doConfigure

import griffon.util.BuilderCustomizer; //导入依赖的package包/类
@Override
protected void doConfigure() {
    // tag::bindings[]
    bind(BuilderCustomizer.class)
        .to(LanternaBuilderCustomizer.class)
        .asSingleton();
    // end::bindings[]
}
 
开发者ID:aalmiray,项目名称:griffon2,代码行数:9,代码来源:LanternaBuilderModule.java

示例8: doConfigure

import griffon.util.BuilderCustomizer; //导入依赖的package包/类
@Override
protected void doConfigure() {
    // tag::bindings[]
    bind(BuilderCustomizer.class)
        .to(JavafxBuilderCustomizer.class)
        .asSingleton();
    // end::bindings[]
}
 
开发者ID:aalmiray,项目名称:griffon2,代码行数:9,代码来源:JavafxBuilderModule.java

示例9: doConfigure

import griffon.util.BuilderCustomizer; //导入依赖的package包/类
@Override
protected void doConfigure() {
    // tag::bindings[]
    bind(BuilderCustomizer.class)
        .to(PivotBuilderCustomizer.class)
        .asSingleton();
    // end::bindings[]
}
 
开发者ID:aalmiray,项目名称:griffon2,代码行数:9,代码来源:PivotBuilderModule.java

示例10: createBuilder

import griffon.util.BuilderCustomizer; //导入依赖的package包/类
@Nonnull
protected FactoryBuilderSupport createBuilder(@Nonnull GriffonApplication application) {
    Collection<BuilderCustomizer> customizers = resolveBuilderCustomizers(application);
    return new CompositeBuilder(customizers.toArray(new BuilderCustomizer[customizers.size()]));
}
 
开发者ID:aalmiray,项目名称:griffon2,代码行数:6,代码来源:GroovyAwareMVCGroupManager.java

示例11: resolveBuilderCustomizers

import griffon.util.BuilderCustomizer; //导入依赖的package包/类
@Nonnull
protected Collection<BuilderCustomizer> resolveBuilderCustomizers(@Nonnull GriffonApplication application) {
    Collection<BuilderCustomizer> customizerInstances = getApplication().getInjector().getInstances(BuilderCustomizer.class);
    return sortByDependencies(customizerInstances, BUILDER_CUSTOMIZER, "customizer").values();
}
 
开发者ID:aalmiray,项目名称:griffon2,代码行数:6,代码来源:GroovyAwareMVCGroupManager.java


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