Re: [linuxtools-dev] TMF : createExecutableExtension in instantiateTrace() of TmfTraceElement.java

2014-04-04 Thread Chen RanHow
Hi Patrick Got it, actually, I saw the dummy helper for validation purpose also ^^ The cause I ask it is that I am trying to to some injection under the TMF way implementation for a new TraceType I try to implementation a E4 based service that can do some additional PIPE like trace processing F

Re: [linuxtools-dev] TMF, RCP and workspace

2014-04-04 Thread Xavier Raynaud
> Regarding multiple instances of the RCP running at the same time, I > guess we didn't really think about it... I just tried doing it, it opens > a separate instance, but the shared workspace makes it work weirdly. If > I open a trace in one, refreshing the other will show the newly added > t

Re: [linuxtools-dev] TMF : createExecutableExtension in instantiateTrace() of TmfTraceElement.java

2014-04-04 Thread Patrick Tasse
Hi Ran-How, The reason we can't use the ITmfTrace instance owned by the trace type helper is that we need a different instance for each opened trace (they have different resources, paths, indexers, etc.). The instance in the trace type helper is a dummy trace instance that is only used for trace

[linuxtools-dev] TMF : createExecutableExtension in instantiateTrace() of TmfTraceElement.java

2014-04-04 Thread Chen RanHow
Hi TMF advances Thank you team for the powerful framework, I have a question bellow In TmfTraceElement.java I saw createExecutableExtension() in instantiateTrace() to get an instance from the extension points like bellow IConfigurationElement ce = sfTraceTypeAttributes.get(fTra