[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [e4-dev] New Worklbench model
|
>a) It looks like there's a Java-Class generated when looking at our
model project.
In EMF, if you model an abstract class without generic type, Java class will
not be generated. I think it is generated because of the generic type.
yves
-----Original Message-----
From: e4-dev-bounces@xxxxxxxxxxx [mailto:e4-dev-bounces@xxxxxxxxxxx] On
Behalf Of Tom Schindl
Sent: Saturday, April 17, 2010 12:56 PM
To: E4 Project developer mailing list
Subject: Re: [e4-dev] New Worklbench model
Hi Hallvard,
a) It looks like there's a Java-Class generated when looking at our
model project.
b) Can you elaborate why you would want to have a dynamic EClass for
e.g. ToolItem if you should creat a DirectToolItem or
HandledToolItem?
Tom
Am 17.04.10 11:46, schrieb Hallvard Trætteberg:
> On 17.04.10 05.23, yves (yingmin) yang wrote:
>> I just noticed several classes become to abstract in workbench model
>> such as ToolITtem, MenuItem etc. Are they expected?
>
> A quick follow-up: If an EClass is abstract, it cannot be used as the
> direct superclass of a *dynamic* EClass, since there will no be
> generated a Java class to instantiate. So, even if a class is logically
> abstract, it should not always be marked as such.
>
> Hallvard
> _______________________________________________
> e4-dev mailing list
> e4-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/e4-dev
--
B e s t S o l u t i o n . a t EDV Systemhaus GmbH
------------------------------------------------------------------------
tom schindl geschaeftsfuehrer/CEO
------------------------------------------------------------------------
eduard-bodem-gasse 5/1 A-6020 innsbruck phone ++43 512 935834
_______________________________________________
e4-dev mailing list
e4-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/e4-dev
Internal Virus Database is out of date.
Checked by AVG - www.avg.com
Version: 8.5.392 / Virus Database: 270.13.58/2306 - Release Date: 08/16/09
06:09:00