final PanelLayout navigation = new PanelLayout("Navigation");
navigation.setContent(new HTML("Navigation"));
navigation.setClosable(true);
navigation.addCloseHandler(new CloseHandler<PanelLayout>() {
public void onClose(CloseEvent<PanelLayout> event) {
layout.hideDrawer(DrawerLayout.Position.LEFT);
}
});
navigation.getElement().setId("navigation");
drawer = new Drawer("Properties", new HTML("Properties"), DrawerLayout.Position.RIGHT);