Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 312513 - Create a more robust or flexible mechanism to store/retrieve Sketch objects
Summary: Create a more robust or flexible mechanism to store/retrieve Sketch objects
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Sketch (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-11 19:37 EDT by Ugo Braga Sangiorgi CLA
Modified: 2014-01-09 14:24 EST (History)
0 users

See Also:


Attachments
mylyn/context/zip (1.08 KB, application/octet-stream)
2010-05-11 19:47 EDT, Ugo Braga Sangiorgi CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ugo Braga Sangiorgi CLA 2010-05-11 19:37:31 EDT
Sketches are relatively big objects, since they hold:
-raw points (x,y) 
-quantized points (only the x,y pairs that matter for recognition)
-sketch's word (the quantized points transformed into a word, for string comparison using Levenshtein string distance)
-location
-size

At the present version, the only attribute that is hold is the word and the element's name, onto a serialized Properties object.
We need a better way of storing sketches, in order to: 
-algorithms to take advantage of the information 
-allow background computation of sketches, since some may take place while the tool is inactive. Ordering, ranking, and so on.
Comment 1 Ugo Braga Sangiorgi CLA 2010-05-11 19:47:15 EDT
Created attachment 168062 [details]
mylyn/context/zip
Comment 2 Ugo Braga Sangiorgi CLA 2011-02-23 04:28:45 EST
One possible way is to use EMF + XML schema:
http://www.eclipse.org/modeling/emf/docs/1.x/tutorials/xlibmod/xlibmod_emf1.1.html
Comment 3 Ugo Braga Sangiorgi CLA 2011-02-23 10:56:59 EST
(In reply to comment #2)
> One possible way is to use EMF + XML schema:
> http://www.eclipse.org/modeling/emf/docs/1.x/tutorials/xlibmod/xlibmod_emf1.1.html

correcy link http://www.eclipse.org/modeling/emf/docs/2.x/tutorials/xlibmod/xlibmod_emf2.0.html