示例#1
0
    @Override
    protected void registerHandler(HandlerRegistration handlerRegistration) {
      super.registerHandler(handlerRegistration);

      // Visibility is limited to this package, so registerHandler can only be call by
      // ProxyPlaceAbstract#bind()
      wasBound = true;
    }
示例#2
0
    @Override
    public void bind() {
      // Was never bound, so rebinding it does not make sense.
      if (wasBound) {
        super.bind();

        ProxyPlaceAbstract.this.bind(placeManager, eventBus);
      }
    }