Example #1
0
 /*
  * (non-Javadoc)
  *
  * @see com.google.gwt.user.client.ui.Widget#onAttach()
  */
 @Override
 protected void onAttach() {
   super.onAttach();
   if (spacer != null) {
     getElement().getParentElement().insertBefore(spacer, getElement());
   }
 }
Example #2
0
 @Override
 protected void onAttach() {
   super.onAttach();
   historyHandlerRegistration = History.addValueChangeHandler(historyChangeHandler);
   currentFragment = History.getToken();
 }