this.newProjectModel.getMeposeModel().setNokiaHome(nokiaHomeFile); this.newProjectModel.getMeposeModel().setPolishHome(polishHomeFile); this.newProjectModel.getMeposeModel().setSonyHome(sonyHomeFile); if(this.wtkHomeText != null){ String wtkHome = this.wtkHomeText.getText(); File wtkHomeFile = new File((wtkHome==null)?"":wtkHome); this.newProjectModel.getMeposeModel().setWTKHome(wtkHomeFile); } if(this.mppHomeText != null) { String mppHome = this.mppHomeText.getText(); File mppHomeFile = new File((mppHome==null)?"":mppHome); this.newProjectModel.getMeposeModel().setMppHome(mppHomeFile); }
File siemensHomeFile = new File((siemensHome==null)?"":siemensHome); File motorolaHomeFile = new File((motorolaHome==null)?"":motorolaHome); File wtkHomeFile = new File((wtkHome==null)?"":wtkHome); File mppHomeFile = new File((mppHome==null)?"":mppHome);  MeposeModel meposeModel = this.newProjectModel.getMeposeModel();  meposeModel.setNokiaHome(nokiaHomeFile); meposeModel.setPolishHome(polishHomeFile); meposeModel.setSonyHome(sonyHomeFile); meposeModel.setWTKHome(wtkHomeFile); meposeModel.setMppHome(mppHomeFile); meposeModel.setSiemensHome(siemensHomeFile); meposeModel.setMotorolaHome(motorolaHomeFile);
    protected void updateModelFromGUI() {        String nokiaHome = this.nokiaHomeText.getText();        String polishHome = this.polishHomeText.getText();        String sonyHome = this.sonyHomeText.getText();                File nokiaHomeFile = new File((nokiaHome==null)?"":nokiaHome);        File polishHomeFile = new File((polishHome==null)?"":polishHome);        File sonyHomeFile = new File((sonyHome==null)?"":sonyHome);        this.newProjectModel.getMeposeModel().setNokiaHome(nokiaHomeFile);        this.newProjectModel.getMeposeModel().setPolishHome(polishHomeFile);        this.newProjectModel.getMeposeModel().setSonyHome(sonyHomeFile);        if(this.wtkHomeText != null){            String wtkHome = this.wtkHomeText.getText();            File wtkHomeFile = new File((wtkHome==null)?"":wtkHome);            this.newProjectModel.getMeposeModel().setWTKHome(wtkHomeFile);        }        if(this.mppHomeText != null) {            String mppHome = this.mppHomeText.getText();            File mppHomeFile = new File((mppHome==null)?"":mppHome);            this.newProjectModel.getMeposeModel().setMppHome(mppHomeFile);        }    }