| 
| VE model [message #131858] | Thu, 05 October 2006 11:35  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: ricker.distributedinstruments.com 
 I feel a bit thick, but I just don't get the VE model. I look into the
 cdmmodel.genmodel file and I expect to see entities named Text, Label,
 Button, etc., but I see nothing like that. Why? What is CDM actually a
 model of? Where would I find the model objects that I am looking for?
 
 - Ricker
 |  |  |  | 
| 
| Re: VE model [message #131872 is a reply to message #131858] | Thu, 05 October 2006 15:30  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: richkulp.us.NO_SPAM.ibm.com 
 The CDE model is only a base. It provides the visual annotations for a
 model. The real implementation model that the VE is working on is
 application dependent. For example, the Java VE uses the java model out
 of org.eclipse.ve.java.core to model java classes. Then we use the
 extensions of it in org.eclipse.ve.swt to model the SWT classes.
 
 The CDE has no concept of Text, Label, etc. because those are domain
 specific. Only the domain knows what model objects are available for the
 domain. But the domain model doesn't know anything about the visual
 representation on the VE. For example a model of java code has no
 concept of being at location (100,100) on the white surface of the VE.
 So that is what the CDE models, the extra annotations that are needed
 for the VE to display but are not actually part of the domain model.
 
 Jeffrey Ricker wrote:
 > I feel a bit thick, but I just don't get the VE model. I look into the
 > cdmmodel.genmodel file and I expect to see entities named Text, Label,
 > Button, etc., but I see nothing like that. Why? What is CDM actually a
 > model of? Where would I find the model objects that I am looking for?
 >
 > - Ricker
 
 --
 Thanks,
 Rich Kulp
 |  |  |  | 
| 
| Re: VE model [message #614685 is a reply to message #131858] | Thu, 05 October 2006 15:30  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: richkulp.us.NO_SPAM.ibm.com 
 The CDE model is only a base. It provides the visual annotations for a
 model. The real implementation model that the VE is working on is
 application dependent. For example, the Java VE uses the java model out
 of org.eclipse.ve.java.core to model java classes. Then we use the
 extensions of it in org.eclipse.ve.swt to model the SWT classes.
 
 The CDE has no concept of Text, Label, etc. because those are domain
 specific. Only the domain knows what model objects are available for the
 domain. But the domain model doesn't know anything about the visual
 representation on the VE. For example a model of java code has no
 concept of being at location (100,100) on the white surface of the VE.
 So that is what the CDE models, the extra annotations that are needed
 for the VE to display but are not actually part of the domain model.
 
 Jeffrey Ricker wrote:
 > I feel a bit thick, but I just don't get the VE model. I look into the
 > cdmmodel.genmodel file and I expect to see entities named Text, Label,
 > Button, etc., but I see nothing like that. Why? What is CDM actually a
 > model of? Where would I find the model objects that I am looking for?
 >
 > - Ricker
 
 --
 Thanks,
 Rich Kulp
 |  |  |  | 
Powered by 
FUDForum. Page generated in 0.23737 seconds