parse and read data to/from existing editors [message #758951] |
Fri, 25 November 2011 11:35 |
M Dahlem Messages: 6 Registered: November 2011 |
Junior Member |
|
|
Dear all,
I tried hard, but I was not able to find any informations about setting own datastructue as Document in an existing editor.
I have an internal representation of data. To simplify, lets say something like:
interface MyBox {
String content;
String name;
}
What i want to do is binding the myBox.content to an existing text(css)-editor for a few boxes, so that the editor should display:
Quote:
/* BOX1-Name */
box1 content
that
consums some lines
/* BOX3-Name */
box3 content
If the content of box1 changed, the save operation should write the content back to the related box box1, same for box3. (The name of the boxes are not important, they can be marked as readonly).
Summerizing, it is a parsing und reading of simple blocks. But how can I achive this?
Thank you in advance for your help,
Adreamus
[Updated on: Fri, 25 November 2011 11:44] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03382 seconds