Package com.cubusmail.gwtui.client.actions

Examples of com.cubusmail.gwtui.client.actions.BaseGridAction


  /**
   *
   */
  private void initActions() {

    BaseGridAction action = (BaseGridAction) ActionRegistry.EDIT_CONTACT.get();
    action.setStore( PanelRegistry.CONTACT_LIST_PANEL.get( ContactListPanel.class ).getStore() );
    PanelRegistry.CONTACT_LIST_PANEL.get( ContactListPanel.class ).registerAction( action );

    action = (BaseGridAction) ActionRegistry.DELETE_CONTACT.get();
    action.setStore( PanelRegistry.CONTACT_LIST_PANEL.get( ContactListPanel.class ).getStore() );
    PanelRegistry.CONTACT_LIST_PANEL.get( ContactListPanel.class ).registerAction( action );

    action = (BaseGridAction) ActionRegistry.NEW_MESSAGE_FOR_CONTACT.get();
    action.setStore( PanelRegistry.CONTACT_LIST_PANEL.get( ContactListPanel.class ).getStore() );
    PanelRegistry.CONTACT_LIST_PANEL.get( ContactListPanel.class ).registerAction( action );
  }
View Full Code Here

TOP

Related Classes of com.cubusmail.gwtui.client.actions.BaseGridAction

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.