Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.uberfire.ext.wires.bayesian.network.client.templates;
 
 import  javax.enterprise.context.Dependent;
 import  javax.inject.Inject;
 
import  org.jboss.errai.ioc.client.container.SyncBeanManager;
import  org.uberfire.client.annotations.WorkbenchPartTitle;
import  org.uberfire.client.annotations.WorkbenchPartView;
import  org.uberfire.client.annotations.WorkbenchScreen;
@Dependent
@WorkbenchScreen(identifier = "BayesianTemplatesScreen")
public class TemplateScreen extends Composite {
    interface ViewBinder extends UiBinder<WidgetTemplateScreen> {
    }
    private static ViewBinder uiBinder = GWT.createViewBinder.class );
    @UiField
    public SimplePanel templates;
    @Inject
    private SyncBeanManager iocManager;
    public void init() {
        initWidget.createAndBindUithis ) );
        .add.lookupBean( TemplatesGroup.class ).getInstance() );
    }
    @WorkbenchPartTitle
    @Override
    public String getTitle() {
        return "Templates";
    }
    @WorkbenchPartView
    public IsWidget getView() {
        return this;
    }
New to GrepCode? Check out our FAQ X