本文整理汇总了Java中org.springframework.richclient.factory.ComponentFactory类的典型用法代码示例。如果您正苦于以下问题:Java ComponentFactory类的具体用法?Java ComponentFactory怎么用?Java ComponentFactory使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
ComponentFactory类属于org.springframework.richclient.factory包,在下文中一共展示了ComponentFactory类的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: doSetUp
import org.springframework.richclient.factory.ComponentFactory; //导入依赖的package包/类
protected final void doSetUp() throws Exception {
formModel = new DefaultFormModel(new TestBean());
BindingFactory bindingFactory= new SwingBindingFactory(formModel);
formBuilder = createFormBuilder(bindingFactory);
assertNotNull("formBuilder cannot be null", formBuilder);
mockComponentFactory= (ComponentFactory) EasyMock.createMock(ComponentFactory.class);
formBuilder.setComponentFactory(mockComponentFactory);
mockInterceptorFactory = (FormComponentInterceptorFactory) EasyMock.createMock(FormComponentInterceptorFactory.class);
formBuilder.setFormComponentInterceptorFactory(mockInterceptorFactory);
additionalSetUp();
}
示例2: ScrollPaneDecoratedBinding
import org.springframework.richclient.factory.ComponentFactory; //导入依赖的package包/类
public ScrollPaneDecoratedBinding(final Binding source) {
this(source, ((ComponentFactory)ApplicationServicesLocator.services().getService(ComponentFactory.class)).createScrollPane(source.getControl()));
}
示例3: setComponentFactory
import org.springframework.richclient.factory.ComponentFactory; //导入依赖的package包/类
public void setComponentFactory(ComponentFactory componentFactory) {
super.setComponentFactory(componentFactory);
builder.setComponentFactory(componentFactory);
}
示例4: setComponentFactory
import org.springframework.richclient.factory.ComponentFactory; //导入依赖的package包/类
/**
* Set the {@link ComponentFactory}.
*/
public void setComponentFactory(ComponentFactory componentFactory) {
this.componentFactory = componentFactory;
}
示例5: getComponentFactory
import org.springframework.richclient.factory.ComponentFactory; //导入依赖的package包/类
protected ComponentFactory getComponentFactory() {
return (ComponentFactory)getService(ComponentFactory.class);
}
示例6: getComponentFactory
import org.springframework.richclient.factory.ComponentFactory; //导入依赖的package包/类
/**
* @see CommandServices#getComponentFactory()
*/
protected ComponentFactory getComponentFactory() {
return getCommandServices().getComponentFactory();
}
示例7: getComponentFactory
import org.springframework.richclient.factory.ComponentFactory; //导入依赖的package包/类
public ComponentFactory getComponentFactory(){
return getCommandServices().getComponentFactory();
}
示例8: setComponentFactory
import org.springframework.richclient.factory.ComponentFactory; //导入依赖的package包/类
public void setComponentFactory(ComponentFactory componentFactory){
this.componentFactory = componentFactory;
}
示例9: setComponentFactory
import org.springframework.richclient.factory.ComponentFactory; //导入依赖的package包/类
public void setComponentFactory(ComponentFactory componentFactory) {
this.componentFactory = componentFactory;
}
示例10: setComponentFactory
import org.springframework.richclient.factory.ComponentFactory; //导入依赖的package包/类
/**
* Set the component factory service implementation
*
* @param componentFactory
*/
public void setComponentFactory( ComponentFactory componentFactory ) {
services.put( ComponentFactory.class, componentFactory );
}
示例11: setComponentFactoryId
import org.springframework.richclient.factory.ComponentFactory; //导入依赖的package包/类
/**
* Set the component factory service implementation bean id
*
* @param componentFactoryId bean id
*/
public void setComponentFactoryId( String componentFactoryId ) {
services.put( ComponentFactory.class, componentFactoryId );
}
示例12: setComponentFactory
import org.springframework.richclient.factory.ComponentFactory; //导入依赖的package包/类
/**
* Sets the {@link ComponentFactory}that this uses to create things like
* labels.
*/
public void setComponentFactory(ComponentFactory componentFactory) {
this.componentFactory = componentFactory;
}
示例13: getComponentFactory
import org.springframework.richclient.factory.ComponentFactory; //导入依赖的package包/类
public ComponentFactory getComponentFactory();