| Building the Model from some meta data [message #43781] | 
Wed, 23 June 2004 22:43   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: online.cs2.com 
 
I would like to be able to build the internal model for VE from some meta 
data.  That is, I have a model that describes a user interface.  I would 
like to be able to write some code that reads my model, and builds a VE 
model.  I can then edit the source (or visually) to make any necessary fine 
tuning. 
 
I was hoping to find some information about which model I should build, and 
how to build it programmatically.  I have been trudging through the code for 
a few weeks, but it is slow.  I would appreciate any direction anyone can 
offer. 
 
--  
Mark M. Ingerman 
Creative Software Solutions, Inc. 
Architect, OO-Designer, Developer, Mentor 
mark.ingerman@cs2.com 
617-630-2895 
www.cs2.com
 |  
 |  
  | 
| Re: Building the Model from some meta data [message #45113 is a reply to message #43781] | 
Wed, 30 June 2004 10:25   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: mendelgili.netscape.net 
 
Mark M. Ingerman wrote: 
> I would like to be able to build the internal model for VE from some meta 
> data.  That is, I have a model that describes a user interface.  I would 
> like to be able to write some code that reads my model, and builds a VE 
> model.  I can then edit the source (or visually) to make any necessary fine 
> tuning. 
>  
> I was hoping to find some information about which model I should build, and 
> how to build it programmatically.  I have been trudging through the code for 
> a few weeks, but it is slow.  I would appreciate any direction anyone can 
> offer. 
>  
 
Do you mean add an importFrom, and exportTo options to the VE editor? 
 
If you write code that is contributed based (for persistence types), and  
if you wish to contribute this code... we will adapt it in VE. 
 
 
To learn more about the VE model you can start by enabling the XMI  
window .... which will show you the VE model XMI serialization (verbose  
version of XML).  Create simple files, make changes and check it out.  
This window is somewhat buggy... so sometimes you will have to move a  
component around to force the window to refresh. 
 
see the following for more details on how to enable the xmltext window: 
 
http://dev.eclipse.org/mhonarc/lists/ve-dev/msg00012.html 
http://dev.eclipse.org/mhonarc/lists/ve-dev/msg00038.html 
http://dev.eclipse.org/mhonarc/lists/ve-dev/msg00244.html 
 
 
If you have Rational Rose, you can view the VE model from  
org.eclipse.ve.java.core\rose\jcmmodel.mdl
 |  
 |  
  | 
| Re: Building the Model from some meta data [message #593231 is a reply to message #43781] | 
Wed, 30 June 2004 10:25   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Mark M. Ingerman wrote: 
> I would like to be able to build the internal model for VE from some meta 
> data.  That is, I have a model that describes a user interface.  I would 
> like to be able to write some code that reads my model, and builds a VE 
> model.  I can then edit the source (or visually) to make any necessary fine 
> tuning. 
>  
> I was hoping to find some information about which model I should build, and 
> how to build it programmatically.  I have been trudging through the code for 
> a few weeks, but it is slow.  I would appreciate any direction anyone can 
> offer. 
>  
 
Do you mean add an importFrom, and exportTo options to the VE editor? 
 
If you write code that is contributed based (for persistence types), and  
if you wish to contribute this code... we will adapt it in VE. 
 
 
To learn more about the VE model you can start by enabling the XMI  
window .... which will show you the VE model XMI serialization (verbose  
version of XML).  Create simple files, make changes and check it out.  
This window is somewhat buggy... so sometimes you will have to move a  
component around to force the window to refresh. 
 
see the following for more details on how to enable the xmltext window: 
 
http://dev.eclipse.org/mhonarc/lists/ve-dev/msg00012.html 
http://dev.eclipse.org/mhonarc/lists/ve-dev/msg00038.html 
http://dev.eclipse.org/mhonarc/lists/ve-dev/msg00244.html 
 
 
If you have Rational Rose, you can view the VE model from  
org.eclipse.ve.java.core\rose\jcmmodel.mdl
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.03214 seconds