/**
* This returns whether something has been persisted to the URI of the
* specified resource.
* The implementation uses the URI converter from the editor's resource set
* to try to open an input stream.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @generated
*/
protected boolean isPersisted ( final Resource resource )
{
boolean result = false;
try
{
final InputStream stream = this.editingDomain.getResourceSet ()
.getURIConverter ().createInputStream ( resource.getURI () );
if ( stream != null )
{
result = true;
stream.close ();
}
}
catch ( final IOException e )
{
// Ignore
}
return result;
}
ChartEditor.java 文件源码
java
阅读 22
收藏 0
点赞 0
评论 0
项目:neoscada
作者:
评论列表
文章目录