import com.google.gwt.user.client.Command;\r
import com.google.gwt.user.client.DeferredCommand;\r
import com.google.gwt.user.client.ui.Button;\r
+import com.google.gwt.user.client.ui.DecoratedTabPanel;\r
import com.google.gwt.user.client.ui.DisclosurePanel;\r
import com.google.gwt.user.client.ui.FlexTable;\r
import com.google.gwt.user.client.ui.FlowPanel;\r
import com.google.gwt.user.client.ui.HasHorizontalAlignment;\r
import com.google.gwt.user.client.ui.HorizontalPanel;\r
import com.google.gwt.user.client.ui.Label;\r
-import com.google.gwt.user.client.ui.TabPanel;\r
import com.google.gwt.user.client.ui.VerticalPanel;\r
\r
/**\r
final VerticalPanel outer = new VerticalPanel();\r
final FocusPanel focusPanel = new FocusPanel(outer);\r
// Inner contains generalPanel and permPanel.\r
- inner = new TabPanel();\r
+ inner = new DecoratedTabPanel();\r
+ inner.setAnimationEnabled(true);\r
final VerticalPanel generalPanel = new VerticalPanel();\r
final HorizontalPanel buttons = new HorizontalPanel();\r
final VerticalPanel verPanel = new VerticalPanel();\r
buttons.add(cancel);\r
buttons.setCellHorizontalAlignment(cancel, HasHorizontalAlignment.ALIGN_CENTER);\r
buttons.setSpacing(8);\r
- buttons.addStyleName("gwt-TabPanelBottom");\r
+ buttons.addStyleName("gss-TabPanelBottom");\r
\r
generalPanel.add(generalTable);\r
\r
// Asynchronously retrieve the tags defined by this user.\r
DeferredCommand.addCommand(new Command() {\r
\r
+ @Override\r
public void execute() {\r
updateTags();\r
}\r
\r
vPanel.setCellHorizontalAlignment(cancel, HasHorizontalAlignment.ALIGN_CENTER);\r
vPanel.setSpacing(8);\r
- vPanel.addStyleName("gwt-TabPanelBottom");\r
+ vPanel.addStyleName("gss-TabPanelBottom");\r
vPanel.add(new Label("Versioned"));\r
\r
vPanel.add(versionedCheck);\r
outer.add(inner);\r
outer.add(buttons);\r
outer.setCellHorizontalAlignment(buttons, HasHorizontalAlignment.ALIGN_CENTER);\r
- outer.addStyleName("gwt-TabPanelBottom");\r
+ outer.addStyleName("gss-TabPanelBottom");\r
\r
focusPanel.setFocus(true);\r
setWidget(outer);\r