Package no.ugland.utransprod.gui.model

Examples of no.ugland.utransprod.gui.model.AccidentModel


     * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)
     */
    public void actionPerformed(final ActionEvent arg0) {
        AccidentViewHandler accidentViewHandler = new AccidentViewHandler(login,managerRepository);

        AccidentModel accidentModel = new AccidentModel(new Accident());
        EditAccidentView editAccidentView = new EditAccidentView(false, accidentModel, accidentViewHandler);

        menuBarBuilder.openFrame(editAccidentView);
    }
View Full Code Here


    Login login = new LoginImpl(user, userType);

    AccidentViewHandler accidentViewHandler = new AccidentViewHandler(
        login, managerRepository);

    AccidentModel accidentModel = new AccidentModel(new Accident());
    final EditAccidentView editAccidentView = new EditAccidentView(false,
        accidentModel, accidentViewHandler);

    JDialog dialog = GuiActionRunner.execute(new GuiQuery<JDialog>() {
      protected JDialog executeInEDT() {
View Full Code Here

  protected final AbstractEditView<AccidentModel, Accident> getEditView(
      final AbstractViewHandler<Accident, AccidentModel> handler,
      final Accident accident, final boolean searching) {
    overviewManager.lazyLoad(accident, new LazyLoadEnum[][] { {
        LazyLoadEnum.ACCIDENT_PARTICIPANTS, LazyLoadEnum.NONE } });
    return new EditAccidentView(searching, new AccidentModel(accident),
        this);

  }
View Full Code Here

TOP

Related Classes of no.ugland.utransprod.gui.model.AccidentModel

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.