/***
* Dialog yes/no which ask to user if we want
* remove the cordova directory present into "_private" directory
* We also explain, what we do and how to recreate the cordova environment
*/
public void removeCordovaDirectory() {
String mobilePlatformName = mobilePlatform.getName();
if (parentShell != null) {
MessageBox customDialog = new MessageBox(parentShell, SWT.ICON_INFORMATION | SWT.YES | SWT.NO);
customDialog.setText("Remove cordova directory");
customDialog.setMessage("Do you want to remove the Cordova directory located in \"_private\\localbuild\\" +
mobilePlatformName + "\" directory?\n\n" +
"It will also remove this project's Cordova environment!\n\n" +
"To recreate the project's Cordova environment, you just need to run a new local build."
);
if (customDialog.open() == SWT.YES) {
buildLocally.removeCordovaDirectory();
} else {
return;
}
} else {
//TODO
}
}
BuildLocallyAction.java 文件源码
java
阅读 33
收藏 0
点赞 0
评论 0
项目:convertigo-eclipse
作者:
评论列表
文章目录