Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Custom EType
Custom EType [message #222096] Fri, 25 August 2006 00:58 Go to next message
Anil Samuel is currently offline Anil SamuelFriend
Messages: 108
Registered: July 2009
Senior Member
Hi

Is it possible to use a namespace specific to Database types such as
VARCHAR, LONG instead of EString, EBigInteger for the types in Ecore model ?

Regards
Anthos
Re: Custom EType [message #222118 is a reply to message #222096] Fri, 25 August 2006 11:00 Go to previous message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

This is a multi-part message in MIME format.
--------------020909070306050509020001
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Anil,

The introductory overview paper describes how to create a custom
EDataType in the Data types section:

http://dev.eclipse.org/viewcvs/indextools.cgi/*checkout*/org .eclipse.emf/doc/org.eclipse.emf.doc/references/overview/EMF .html

The basic idea is to define an EDataType, set the instance class name to
the fully qualified Java name, and then implement to the two
XyzFactoryImpl methods for conversion to and from a string.


Anil T Samuel wrote:
> Hi
>
> Is it possible to use a namespace specific to Database types such as
> VARCHAR, LONG instead of EString, EBigInteger for the types in Ecore
> model ?
>
> Regards
> Anthos


--------------020909070306050509020001
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Anil,<br>
<br>
The introductory overview paper describes how to create a custom
EDataType in the Data types section:<br>
<blockquote><a
href=" http://dev.eclipse.org/viewcvs/indextools.cgi/*checkout*/org .eclipse.emf/doc/org.eclipse.emf.doc/references/overview/EMF .html"> http://dev.eclipse.org/viewcvs/indextools.cgi/*checkout*/org .eclipse.emf/doc/org.eclipse.emf.doc/references/overview/EMF .html</a><br>
</blockquote>
The basic idea is to define an EDataType, set the instance class name
to the fully qualified Java name, and then implement to the two
XyzFactoryImpl methods for conversion to and from a string.<br>
<br>
<br>
Anil T Samuel wrote:
<blockquote cite="midecli8c$iif$2@utils.eclipse.org" type="cite">Hi
<br>
<br>
Is it possible to use a namespace specific to Database types such as
VARCHAR, LONG instead of EString, EBigInteger for the types in Ecore
model ?
<br>
<br>
Regards
<br>
Anthos
<br>
</blockquote>
<br>
</body>
</html>

--------------020909070306050509020001--
Previous Topic:anyway to use GEF Editor outside Eclipse ie, in a Swing environment
Next Topic:Getting EditPart size in Command
Goto Forum:
  


Current Time: Fri Jan 24 07:37:25 GMT 2025

Powered by FUDForum. Page generated in 0.03512 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top