View imported logs as UML Sequence diagrams [message #33513] |
Tue, 04 October 2005 06:05  |
Eclipse User |
|
|
|
Originally posted by: johan.mattias.andersson.telia.com
Hi Group,
Im trying to use TPTP to analyze logs from a real-time system. I would
like to be able to view the log as an UML2 Sequence diagram view (object,
class) in addition to the Log View. This seems however only possible on
Profiled test runs, and not from imported logs, am I correct?
Is it possible to view logs in the Common Base Event format as a UML2
Sequence diagrams at all?
What would be the natural approach to solve the problem? Somehow create a
new Import plugin? Create a new Profiling agent which reads from file?
In a second step would it be possible to add UML notation for State
changes and Traces.
Any pointers would be greatly appreciated.
/Mattias
|
|
|
|
|
|
|
|
|
|
Re: View imported logs as UML Sequence diagrams [message #35476 is a reply to message #33822] |
Fri, 14 October 2005 16:02  |
Eclipse User |
|
|
|
Mattias,
I don't know if you are still following this thread but I'll respond to it
anyway.
If you want to write your own sequence diagram you would need to create a
loader for the SDView and contribute it to
the extension point "org.eclipse.hyades.ui.uml2SDLoader", then you would
need to create an action that will open the resources for this particular
log type and contribute it to the extension point
org.eclipse.hyades.ui.analyzerExtensions. You could take a look into
org.eclipse.hyades.sd.logc.internal.actions.OpenLogViewActio n for an example
of how the log interactions diagram is loaded. For examples of how a loader
is implemented take a look at implemeters of
org.eclipse.hyades.uml2sd.ui.load.IUml2SDLoader, one of them is the log
interaction loader is
org.eclipse.hyades.sd.logc.internal.loader.LogInteractions.
Hopefully this information is closer to what you need.
"Mattias Andersson" <johan.mattias.andersson@telia.com> wrote in message
news:f61df409783768d564968323f793002f$1@www.eclipse.org...
> Hi Amehrega,
>
> Tanks for you answer.
>
> If I want to implement a UML Sequence diagram view for this particular log
> type (The log includes information about processes and signals sent
> between them) how would I proceed? Can I use TPTP interfaces or do I use
> EMF directly?
>
> In the long run it would be nice to be able to link between the Log view
> and this new Sequence diagram view, i.e. click on a signal in the log view
> and find it in the sequence diagram. World it be possible do you think?
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.31001 seconds