PreferencePage.java 文件源码

java
阅读 22 收藏 0 点赞 0 评论 0

项目:neoscada 作者:
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 ) );
        }
    }
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号