Adding fault handling to editor window
This commit is contained in:
parent
5a9e709ae8
commit
02efc6c22f
9 changed files with 147 additions and 44 deletions
|
|
@ -202,6 +202,16 @@ public class CoderClient extends Application{
|
|||
}
|
||||
});
|
||||
}
|
||||
@Override
|
||||
public void openProjectFailed(String errorMsg) {
|
||||
Platform.runLater(new Runnable(){
|
||||
@Override
|
||||
public void run() {
|
||||
logger.info("open project failed, will show the select project dialog on the main stage");
|
||||
selectProjectDialog.showOnStage(mainStage);
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
//add message listeners
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue