protected void handleAdd ()
{
final FileDialog dlg = new FileDialog ( getShell (), SWT.OPEN );
final String result = dlg.open ();
if ( result != null )
{
try
{
this.factory.addFile ( result );
}
catch ( final Exception e )
{
ErrorDialog.openError ( getShell (), "Error", "Failed to add file", StatusHelper.convertStatus ( Activator.PLUGIN_ID, e ) );
}
}
}
PreferencePage.java 文件源码
java
阅读 22
收藏 0
点赞 0
评论 0
项目:neoscada
作者:
评论列表
文章目录