Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 65283 Details for
Bug 163352
import filters are not exported when export the logset
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Please apply this patch to the common UI package
CommonUIPatch.txt (text/plain), 1.64 KB, created by
Rohit Shetty
on 2007-04-27 18:34:31 EDT
(
hide
)
Description:
Please apply this patch to the common UI package
Filename:
MIME Type:
Creator:
Rohit Shetty
Created:
2007-04-27 18:34:31 EDT
Size:
1.64 KB
patch
obsolete
>Index: src-common-internal/org/eclipse/hyades/ui/filters/internal/util/FilterResourceFileHandler.java >=================================================================== >RCS file: /cvsroot/tptp/platform/org.eclipse.tptp.platform.common.ui/src-common-internal/org/eclipse/hyades/ui/filters/internal/util/FilterResourceFileHandler.java,v >retrieving revision 1.3 >diff -u -r1.3 FilterResourceFileHandler.java >--- src-common-internal/org/eclipse/hyades/ui/filters/internal/util/FilterResourceFileHandler.java 4 Oct 2006 17:49:40 -0000 1.3 >+++ src-common-internal/org/eclipse/hyades/ui/filters/internal/util/FilterResourceFileHandler.java 27 Apr 2007 22:34:45 -0000 >@@ -13,7 +13,10 @@ > package org.eclipse.hyades.ui.filters.internal.util; > > import java.io.IOException; >+import java.io.InputStream; >+import java.io.OutputStream; > import java.util.Collections; >+import java.util.Map; > import java.util.Vector; > > import org.eclipse.emf.common.util.URI; >@@ -120,6 +123,39 @@ > } > } > >+ public void save(OutputStream oStream,Map resourceMap) >+ { >+ try >+ { >+ if (_resource instanceof XMLResource) { >+ ((XMLResource)_resource).setEncoding("UTF-8"); >+ } >+ _resource.save(oStream,resourceMap); >+ >+ } catch (IOException e) { >+ CommonPlugin.logError(e); >+ } >+ } >+ >+ public void load(InputStream is,Map resourceMap) >+ { >+ if (_resource == null) >+ { >+ restoreResource(); >+ } >+ else >+ { >+ try >+ { >+ unload(false); >+ _resource.load(is,resourceMap); >+ } >+ catch (IOException e) { >+ CommonPlugin.logError(e); >+ } >+ } >+ } >+ > public void load() > { > if (_resource == null)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 163352
:
64924
|
64947
|
65218
|
65219
| 65283 |
66473