}else{
return ;
}
System.out.println("modelID = " +modelID);
FileModel model = null;
try{
model =FileModelService.buildFileModel(modelID);
}catch(Exception ex){
ex.printStackTrace();
}
projectReader.setDataSource(model);
boolean result = projectReader.readProject();
if (result == false) {
JOptionPane.showInternalMessageDialog(uiJPanel, projectReader.getErrorInfo(), "������Ϣ����", JOptionPane.ERROR_MESSAGE);
return;
}
String domainName = projectReader.getDomainName();
String[] viewNameArray = projectReader.getViewNameArray();
Drawing[] drawingArray = projectReader.getDrawingArray();
GroupMap informationMap = projectReader.getInformationMap();
FComponent featureModel = projectReader.getFeatureModel();
ProjectImplementation pi = new ProjectImplementation();
pi.setProjectId(modelID);
pi.setProjectName(model.getName());
pi.setDomainName(domainName);
for (int i = 0; i < viewNameArray.length; i++)
pi.addView(viewNameArray[i]);
ProjectManagerImplementation pmi = new ProjectManagerImplementation();