View Javadoc

1   package org.vectomatic.svg.samples.client;
2   
3   import org.vectomatic.svg.samples.client.Main.MainBundle;
4   
5   import com.google.gwt.core.client.GWT;
6   import com.google.gwt.uibinder.client.UiBinder;
7   import com.google.gwt.uibinder.client.UiField;
8   import com.google.gwt.user.client.ui.TabLayoutPanel;
9   
10  public class AboutSample extends SampleBase {
11  	interface AboutSampleSampleBinder extends UiBinder<TabLayoutPanel, AboutSample> {
12  	}
13  	private static AboutSampleSampleBinder binder = GWT.create(AboutSampleSampleBinder.class);
14  	@UiField(provided=true)
15  	public static MainBundle mainBundle = Main.mainBundle;
16  
17  	@Override
18  	public TabLayoutPanel getPanel() {
19  		if (tabPanel == null) {
20  			tabPanel = binder.createAndBindUi(this);
21  		}
22  		return tabPanel;
23  	}
24  
25  }