@Override
public void widgetDefaultSelected(SelectionEvent e) {validate();}
});
this.import_src.addResourceChangedListener(new IResourceChangedListener() {
@Override
public void onResourceChanged() {
loadPrj(getPrjFileLocation());
if(prj_old != null){
String pname = prj_old.getProjectName();
if(!pname.equals(prj_name.getText()))
prj_name.setText(pname);
else
validate();
}
}
});
this.import_destination.addResourceChangedListener(new IResourceChangedListener() {
@Override
public void onResourceChanged() {
validate();
}
});