|
Re: Attaching analysis code [message #78803 is a reply to message #78645] |
Mon, 20 November 2006 11:39 |
Radomil Dvorak Messages: 249 Registered: July 2009 |
Senior Member |
|
|
Hi Dave,
There is a basic support for writing analysis code.
See http://wiki.eclipse.org/index.php/GMF_Constraints#Metrics
In the current implementation, 'Metrics' action is executed from the
diagram root down the
hierarchy. At the moment, any element selection is not supported.
Regards,
/Radek
On Fri, 17 Nov 2006 20:54:40 +0100, Dave Bridgeland <bridgeland@yahoo.com>
wrote:
> I would like to create a modeling tool in GMF and include some
> analysis functionality with that tool. Basically I want a modeler
> to be able to select a model element from a model and run a tool
> that traverses the model starting with that model element. For example,
> a single analysis might be how many model elements are
> reachable downstream in four steps. Slightly more complex analyses
> might look at weightings, filter by kinds of links, etc.
>
> How should I write that analysis code? Is there a way in GMF or EMF
> to write code that gives me the items that a particular model element
> links to? Can I call back to the diagram to (for example)
> change color of model elements?
>
> Dave
>
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
|
|
|
Powered by
FUDForum. Page generated in 0.02865 seconds