Package presenter

Examples of presenter.ProjetoPresenter


                            if (treeNavigator.getLastSelectedPathComponent() != null) {
                                String noSelecionado = ((IconNode) treeNavigator.getLastSelectedPathComponent()).toString();
                                IconNode no = ((IconNode) treeNavigator.getLastSelectedPathComponent());

                                if (noSelecionado.equals("Projeto")) {
                                    ProjetoPresenter projetoPresenter = new ProjetoPresenter(Main.this);
                                    projetoPresenter.setStrategy(new EdicaoProjeto(projeto.getId(), projetoPresenter.getView()));
                                    activePanel(projetoPresenter.getView());
                                } else if ((((ImageIcon) no.getIcon()).getDescription().contains("cenario2.png"))) {
                                    CenarioVolume cenario = projeto.getCenarioById(no.getId());
                                    CenarioVolumePresenter presenterEditaCenario = new CenarioVolumePresenter(Main.this);
                                    removeFrameVolume();
                                    presenterEditaCenario.setStrategy(new EdicaoCenario(projeto.getId(), cenario.getId(), presenterEditaCenario.getView()));
View Full Code Here


        this.projeto = projeto;
        state.abrirProjeto();
    }

    private void novoProjeto() {
        ProjetoPresenter projetoPresenter = new ProjetoPresenter(this);
        projetoPresenter.setStrategy(new InclusaoProjeto(projetoPresenter.getView()));
        activePanel(projetoPresenter.getView());
    }
View Full Code Here

TOP

Related Classes of presenter.ProjetoPresenter

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.