Difference between revisions of "EDT:EGL Language conversion"

From Eclipsepedia

Jump to: navigation, search
Line 81: Line 81:
 
call local program  
 
call local program  
  
Move statement
+
Move statement  
  
 
|  
 
|  
Not supported right now
+
Not supported right now  
  
 
|}
 
|}
Line 137: Line 137:
 
| <br>
 
| <br>
 
|}
 
|}
 +
 +
<br>
 +
 +
'''A note on deployment descriptor files (*.egldd):'''<br>
 +
 +
The model for these files is different in EDT so you cannot reuse deployment descriptors from RBD. If you have a *.egldd file that's in the old format, and you want to "reset" it to be empty, you can open it with a text editor and replace it with the following:<br>
 +
<pre>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
 +
&lt;egl:deployment xmlns:egl= "http://www.eclipse.org/xmlns/edt/deployment/1.0" &gt;
 +
&lt;/egl:deployment&gt;
 +
</pre>

Revision as of 14:15, 6 October 2011

EGL language conversion consideration from RBD/EGLCE

RBD/EGL CE EDT
Called program Not supported
DataItem,
Stand alone (top level) function
Not supported right now
Datatable,
Structured Record,
Form,
FormGroup
Not supported
Nullable
RBD/EGL CE EDT
Default is inout Default is inout for value type

Default is in for reference type

RBD/EGL CE EDT
time replaced with timestamp
interval Not Supported right now, no replacement
Money, num, bin
use Decimal
RBD/EGL CE EDT
system libraries all needs to be fully qualified with library name
 i.e. sysLib, dateTimeLib, serviceLib, xmlLib...etc.
currentTimeStamp()
dateTimeLib.currentTimeStamp()



RBD/EGL CE EDT
call host program

call local program

Move statement

Not supported right now

RBD/EGL CE EDT
matches no longer an operator, have to use String matchesPattern() function instead
like no longer an operator, have to use String isLike function instead
bitwise operators support for int types only. RBD supports SmallInt as well
RBD/EGL CE EDT
basicLibrary no more basicLibrary
annotation on Library no annotation is supported on library
RuntimeException
no more RuntimeException, use AnyException
IndexOutOfBoundException
InvalidIndexException
PGM includeReferencedFunctions=yes
top level function are not supported
PGM allowUnqualifiedItemReferences = yes
must fully qualify part names
XMLStructure = xmlStructurekind
XMLValue {kind = xmlStructurekind.
FORMName


A note on deployment descriptor files (*.egldd):

The model for these files is different in EDT so you cannot reuse deployment descriptors from RBD. If you have a *.egldd file that's in the old format, and you want to "reset" it to be empty, you can open it with a text editor and replace it with the following:

<?xml version="1.0" encoding="UTF-8"?>
<egl:deployment xmlns:egl= "http://www.eclipse.org/xmlns/edt/deployment/1.0" >
</egl:deployment>