<div dir="ltr">I think that using VertexFrame subtypes is the right idea, but I don't think that we need to worry about the JBDS plugin yet at this point. I don't see any technical blockers to doing the first part and then building the API for the Eclipse plugin later, which would need to provide a more specialized approach anyway and as you said, should not be tied to the Model types.<div>
<br></div><div>I think that manual conversion is the way to go. I think that dealing with annotations in this particular case would be too complicated for the "benefit."</div><div><br></div><div>First approach I think is good. Though I guess it depends on what types you're talking about specifically. Simply adding the types is not enough - we also need to add rules that will populate the graph with these types/interfaces.</div>
<div><br></div><div>~Lincoln</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 19, 2014 at 8:15 AM, Ing. Ondrej Zizka <span dir="ltr"><<a href="mailto:zizka@dynawest.cz" target="_blank">zizka@dynawest.cz</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I've looked at the legacy API.<br>
It's based on legacy Windup types tree, namely FileMetadata.<br>
<br>
We could replace these subtypes in the existing API with<br>
WindupVertexFrame subtypes.<br>
Or restrict it on FileModel.<br>
This approach could speed up morphing the Eclipse plugin to new Windup.<br>
<br>
On the other hand, I belive that we will want the plugin to show also<br>
non-file-based data, so some API like Ian described in WINDUP-91 would<br>
be more appropriate - more general, and detached from the Model types.<br>
Which is good, IMO.<br>
We would need either manual conversion from graph content to that, or,<br>
better, some mechanism for that.<br>
Maybe some annotation based could do the work sufficiently - i.e.<br>
provide some mapping from Frames to that RuleMatch API.<br>
<br>
The question is, is the first approach worth creating as intermediate step?<br>
<br>
Regads,<br>
Ondra<br>
_______________________________________________<br>
windup-dev mailing list<br>
<a href="mailto:windup-dev@lists.jboss.org">windup-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/windup-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/windup-dev</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Lincoln Baxter, III<br><a href="http://ocpsoft.org" target="_blank">http://ocpsoft.org</a><br>"Simpler is better."
</div>