/* * (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()); } }
@Override protected void onAttach() { super.onAttach(); historyHandlerRegistration = History.addValueChangeHandler(historyChangeHandler); currentFragment = History.getToken(); }