本文整理汇总了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[]
}
示例2: doConfigure
import griffon.util.BuilderCustomizer; //导入依赖的package包/类
@Override
protected void doConfigure() {
// tag::bindings[]
bind(BuilderCustomizer.class)
.to(FatcowIconsSwingBuilderCustomizer.class)
.asSingleton();
// end::bindings[]
}
示例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[]
}
示例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[]
}
示例7: doConfigure
import griffon.util.BuilderCustomizer; //导入依赖的package包/类
@Override
protected void doConfigure() {
// tag::bindings[]
bind(BuilderCustomizer.class)
.to(LanternaBuilderCustomizer.class)
.asSingleton();
// end::bindings[]
}
示例8: doConfigure
import griffon.util.BuilderCustomizer; //导入依赖的package包/类
@Override
protected void doConfigure() {
// tag::bindings[]
bind(BuilderCustomizer.class)
.to(JavafxBuilderCustomizer.class)
.asSingleton();
// end::bindings[]
}
示例9: doConfigure
import griffon.util.BuilderCustomizer; //导入依赖的package包/类
@Override
protected void doConfigure() {
// tag::bindings[]
bind(BuilderCustomizer.class)
.to(PivotBuilderCustomizer.class)
.asSingleton();
// end::bindings[]
}
示例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()]));
}
示例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();
}