[jboss-dev-forums] [Design of JBoss Tools (dev)] - Re: Editing in visual pane

mareshkau do-not-reply at jboss.com
Sun Mar 1 17:31:55 EST 2009


The simplest example it's editing just a text, you can see HtmlTextTemplate class.
In this class exist such lines 
	    VpeElementData textElementData = new VpeElementData();
//here we create mapping for editing between source and visual elements.
	    NodeData nodeData = new NodeData(sourceNode, visualNewTextNode);
	    textElementData.addNodeData(nodeData); 
Another example AbstractOutputJsfTemplate, line 105.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4214035#4214035

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4214035



More information about the jboss-dev-forums mailing list