Package org.gwt.mosaic.actions.client

Examples of org.gwt.mosaic.actions.client.ActionMap


  public SingleFrameApplication() {
    super();

    History.addValueChangeHandler(new ValueChangeHandler<String>() {
      public void onValueChange(ValueChangeEvent<String> event) {
        final ActionMap actionMap = getContext().getActionMap();
        final Action action = actionMap.get(event.getValue());
        if (action != null) {
          action.actionPerformed(new ActionEvent(action,
              Application.getInstance()));
        }
      }
View Full Code Here


  protected ActionManager(ApplicationContext context) {
    assert (context != null);
    this.context = context;
    // create map
    actionMap = new ActionMap();
  }
View Full Code Here

TOP

Related Classes of org.gwt.mosaic.actions.client.ActionMap

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.