Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mylyn-integrators] RE: TaskEditorPage + onHover()

When I point the mouse on a task in the taskView-list, a yellow box apears with some info. I would like to add some more info to be shown in this yellow box. How can I do that? Which method in which class I have to override?
 
Any tip on the doSave() problem bellow. I cannot thing of anywhere other than doSave() to write my updates back to the server. Specially that the task.modificationDate does not update automatically so I have to set it myself.
 
I only have these two things left and then my connector is fully functional, but now I have been staring at my code for the past two days because I have absolutely no clue what to do next!!
 
Any help is VERY appreciated :-)
Best regards,
Avin
 

From: mylyn-integrators-bounces@xxxxxxxxxxx [mylyn-integrators-bounces@xxxxxxxxxxx] On Behalf Of Avin Ismail [avin@xxxxxx]
Sent: Tuesday, July 29, 2008 12:37 PM
To: mylyn-integrators@xxxxxxxxxxx
Subject: [mylyn-integrators] TaskEditorPage

What method in which class is invoked to start the taskEditor when I double-click on a task in the task-view?
 
I tried to override methods in AbstractTaskEditorPage and AbstractTaskEditorPageFactory to see if anything I do there make any effect on my editor, and it turned out that none of the methods I override are being invoked. I though that methods like doSave(), createPage(), canCreatePageFor() and init() would be invoked at some point, but they don't. I'm thinking that there maybe something wrong with the editor-Extensions. I checked the Porting_Guide/3.0 and did something similar, so my Extension looks like this:
 

<extension

       point="org.eclipse.mylyn.tasks.ui.editors">

      <pageFactory

             class="org.eclipse.mylyn.MyConnector.ui.MyConnectorTaskEditorPage">

      </pageFactory>

</extension>

 

 

Can somebody please tell me if this looks wrong?

 

I also tried exactly as it says on the porting guide:

 

<extension
     point="org.eclipse.mylyn.tasks.ui.editors">

     <pageFactory
         class="org.eclipse.mylyn.internal.myConnector.tasks.MyConnectorTaskEditorPageFactory"
         id="org.eclipse.mylyn.myConnector.tasks.pageFactory">

     </pageFactory>
</extension>

 

But that did not make any difference.

 

Best regards,

Avin


Back to the top