//EMFFILE_URI为EMF文件的URI String uriString = EMFFILE_URI.trimFragment().toPlatformString(true); if (uriString != null) { IPath fullPath = new Path(uriString); return ResourcesPlugin.getWorkspace().getRoot().getFile(fullPath); }
//EMFFILE_URI为EMF文件的URI String uriString = EMFFILE_URI.trimFragment().toPlatformString(true); if (uriString != null) { IPath fullPath = new Path(uriString); return ResourcesPlugin.getWorkspace().getRoot().getFile(fullPath); }
转载于:https://www.cnblogs.com/demonrain/p/4105762.html