Skip to main content



      Home
Home » Newcomers » Newcomers » How-to at highest level
How-to at highest level [message #210589] Sun, 13 May 2007 16:28 Go to next message
Eclipse UserFriend
Originally posted by: eus.sbcglobal.net

I wish to use UML2 diagrams (class and state machine) to generate Java
code for an embedded application (no GUI in the box), with roundtripping
fully supported.

Q1: What is the most mature open source solution available?

Open tools I have tried-out seem by default to generate code for
implementing Eclipse plug-ins. While that is fine for development, I don't
understand the implications for the final installed application.

Q2: Does the final application generated by available generators
necessarily require an Eclipse presence in the runtime support, and if so,
what is the overhead?

Q3: What is the significance of my root level class inheriting from
EObject rather than Object?

All documentation I've consulted seems to assume one already understands
these issues, so I appeal to this forum to help point me in the right
direction. I am developing standalone applications, not Eclipse tools, and
I don't yet have a good feeling for how Eclipse blurs this distinction.
Re: How-to at highest level [message #210646 is a reply to message #210589] Mon, 14 May 2007 07:51 Go to previous message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

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

Weldon,

EMF doesn't support generating code for state machines. It only let's
you convert your UML class model to Ecore and then generates code for
that. It's certainly one of the most mature solutions, and one of the
most popular:

http://www2.sys-con.com/java/readerschoice2004/frameliveupda te.cfm?BType=11

I'm not sure which tools support generating code for state machines.
Often tools will just let you draw so many pretty pictures...

The models generated by EMF will work stand alone with only the EMF
runtime jars on the classpath. Same goes for the .edit support. The
..editor project requires Eclipse and can be generated to support either
RCP or to support the Eclipse IDE (with its workspace).

EObject is EMF's reflective API. It can be suppressed from your
generated model's API if you wish (via GenModel's Suppress EMF Type
property). But under the covers, the generated model classes must
implement EObject (and InternalEObject) in order to work with the rest
of the EMF runtime (to support things like XML serialization, copiers,
and change recorders).


weldon wrote:
> I wish to use UML2 diagrams (class and state machine) to generate Java
> code for an embedded application (no GUI in the box), with
> roundtripping fully supported.
>
> Q1: What is the most mature open source solution available?
>
> Open tools I have tried-out seem by default to generate code for
> implementing Eclipse plug-ins. While that is fine for development, I
> don't understand the implications for the final installed application.
>
> Q2: Does the final application generated by available generators
> necessarily require an Eclipse presence in the runtime support, and if
> so, what is the overhead?
>
> Q3: What is the significance of my root level class inheriting from
> EObject rather than Object?
>
> All documentation I've consulted seems to assume one already
> understands these issues, so I appeal to this forum to help point me
> in the right direction. I am developing standalone applications, not
> Eclipse tools, and I don't yet have a good feeling for how Eclipse
> blurs this distinction.
>


--------------060905060407090502060507
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Weldon,<br>
<br>
EMF doesn't support generating code for state machines.
Previous Topic:eclipse can't update file's last modified date and time
Next Topic:Couldn't lunch the eclipse on Linux
Goto Forum:
  


Current Time: Wed Sep 17 22:23:16 EDT 2025

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

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

Back to the top