Package de.iritgo.aktera.address

Examples of de.iritgo.aktera.address.AddressClientManager


  public AddressViewDialog()
  {
    try
    {

      AddressClientManager acm = (AddressClientManager) Engine.instance().getManager(AddressClientManager.ID);

      frame = (JFrame) new SwingEngine(this).render(getClass().getResource("/swixml/AddressViewDialog.xml"));

      for (IAction action : acm.getPhoneNumberFieldActions())
      {
        action.addActionInterceptor(new Procedure1<IActionEvent>()
        {
          public void execute(IActionEvent e)
          {
View Full Code Here


    try
    {
      final ResourceService resources = Engine.instance().getResourceService();
      SwingEngine swingEngine = new SwingEngine(this);

      AddressClientManager acm = (AddressClientManager) Engine.instance().getManager(AddressClientManager.ID);

      columns = acm.getAddressTableColumns();

      JPanel panel = (JPanel) swingEngine.render(getClass().getResource("/swixml/AddressQueryPane.xml"));

      content.add(panel, createConstraints(0, 0, 1, 1, GridBagConstraints.BOTH, 100, 100, null));
View Full Code Here

  }

  @Override
  public void onCellClicked(Object item, JTable addressTable, MouseEvent e)
  {
    AddressClientManager acm = (AddressClientManager) Engine.instance().getManager(AddressClientManager.ID);
    AddressClientService acs = (AddressClientService) Engine.instance().getManager(AddressClientService.ID);
    Address address = (Address) item;

    address.setPhoneNumbers(acs.listPhoneNumbers(address.getStoreId(), address.getId()));

    JPopupMenu menu = new JPopupMenu();

    for (IMenuItemProvider itemProvider : acm.getAddressTableActionMenuItemProviders())
    {
      menu.add(itemProvider.create(address));
    }

    menu.show(addressTable, (int) e.getPoint().getX(), (int) e.getPoint().getY());
View Full Code Here

TOP

Related Classes of de.iritgo.aktera.address.AddressClientManager

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.