[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: AW: [jwt-dev] JWT Annotation question
|
Florian,
You're right, adding aspects to Data (in the first tab) are not the same
as adding to their Reference (in the Graph / Diagram tab).
For now, either you only use Aspects on Data, or only on References, the
problem with this last solution being that your Data Aspect will also be
able to be added on Role References, and not only on Data References...
Possible improvements could be :
* managing (listing / adding) Data Reference aspects on their refered
Data, so as Data References act as an "Aspect proxy" to the actual Data.
The difficulty is that we'd have to handle Data Reference differently
from, say, Role References, which could however have a similar behaviour
added.
* ... other ideas ?
Regards,
Marc
Florian Lautenbacher a écrit :
Hi Benjamin,
maybe the reason is that you only see References and their properties
in the properties view? As Data are ReferenceableElements they are not
directly displayed in the graphical editor, but only via References.
Maybe the References currently only retrieve the “normal” properties
of the ReferenceableElements but not their aspect-extensions? Chris,
you will probably be the expert here ;-)
Did you try and select the Data in the overview sheet? There, you
should see all properties directly from the Data and not of the
References...
Best regards,
Florian
*Von:* jwt-dev-bounces@xxxxxxxxxxx
[mailto:jwt-dev-bounces@xxxxxxxxxxx] *Im Auftrag von *Benjamin Honke
*Gesendet:* Donnerstag, 21. Januar 2010 14:06
*An:* jwt-dev@xxxxxxxxxxx
*Betreff:* [jwt-dev] JWT Annotation question
Hi together,
actually I try to use JWT and its aspect annotation mechanism in order
to annotate jwt models, i.e. Data from the jwt data package, with
additional information.
Paradoxically, my annotation plugin only works for
“targetModelElements” which are within the jwt processes package.
Otherwise my profile is registered and the .workflow_conf file is
created correctly, but the property section does not show my
aspect/feature.
Example:
With the following line within my .conf file everything is fine:
<targetModelElements href=”org.eclipse.jwt/processes#//Action”/>
Otherwise, if I change the targetModelElement from elements within the
processes package to something else like elements within the data
package, the property section does not show this feature.
<targetModelElements href=”org.eclipse.jwt/*data#//Data*”/>
Does anyone know the reason for this behavior?
Many Thanks and best regards
Benjamin Honke
------------------------------------------------------------------------
_______________________________________________
jwt-dev mailing list
jwt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jwt-dev