| Mylyn monitor doesn't capture selection and edit event? [message #590029] | 
Mon, 09 June 2008 21:36  | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: pviriya.cs.ubc.ca 
 
Hi, 
 
I'm developing a plugin that analyses the events captured by Mylyn monitor.  
I'm particularly interested in the selection events and edit events.  What I  
did is that I downloaded source code for all these plugins: 
org.eclipse.mylyn.monitor.usage 
org.eclipse.mylyn.monitor.ui 
org.eclipse.mylyn.monitor.core 
org.eclipse.mylyn.commons.core 
org.eclipse.mylyn.commons.net 
org.eclipse.mylyn.context.core 
 
into my workspace in which I am developing my plugin.  I have managed to  
make these plugins compiled correctly.  Then, I tested the Mylyn monitor by  
running these plugins along with my plugin as Eclipse application.  Some of  
my interaction events are recorded to the monitor-log.xml correctly, except  
I cannot find any edit and selection event in the log.  I have tried several  
ways to create those events, such as creating new Java class, methods, and  
editing them, but I still cannot find any edit or selection event. 
 
In the source code, I found that the abstract class  
AbstractUserInteractionMonitor provides handleElementEdit and  
handleElementSelection, but the only known subclass is BrowserMonitor, which  
I assume is not related to my purpose.  Am I supposed to create another  
subclass of my own or is there an existing class that is responsible for  
capturing edit and selection events? 
 
Your answer will be greatly appreciated.:) 
 
Thanks, 
Petcharat
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.25702 seconds