Hi,

Currently at the time of synchronization I m fetching list of tasks with few
required details.

Now, I want to list all the Tasks that are open in the TaskEditor, so that
at the time of auto-synchronization it would fetch details of that task.

Below mentioned code gives me the all open tasks in TaskEditor.

            IWorkbench workbench = PlatformUI.getWorkbench();
            IWorkbenchWindow window = workbench.getActiveWorkbenchWindow();
            for(IWorkbenchPage w_page : window.getPages()){
                for(IEditorReference w_reference :
w_page.getEditorReferences()){
                     w_selectionList.add(w_reference.getName());
                }
            }

I tried to invoke this block of code from createPartDescriptors method of
MyTaskEditorPage.
It works fine once the eclipse is loaded. But on eclipse startup, since the
pages are not yet been created, it gives me empty list and on
synchronization it just can't retrive the whole details of that task.

Now I want something similer to the event like "CreationComplete" or
semething else.

Could anyone plz suggest me as what I could do in order to achieve this..

Thanks,
Pankaj

On Wed, Apr 15, 2009 at 1:16 AM, Larry Edelstein
<[email protected]>wrote:

>  I think it would help if you said more about what kind of work you want
> to do.
>
>
>
> -larry
>
>
>
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of *pankaj chaitram
> turkar
> *Sent:* Tuesday, April 14, 2009 9:13 AM
> *To:* Mylyn Integrators list
> *Subject:* [mylyn-integrators] help regarding doing some action on
> TaskEditor creation completion
>
>
>
> Hi,
>
> I want to do some work after the eclipse is started and tasks are loaded.
> What do I do in order to do some action on TaskEditor creation
> completion????
>
> Thanks,
> Pankaj
>
> _______________________________________________
> mylyn-integrators mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/mylyn-integrators
>
>


-- 
Panku
_______________________________________________
mylyn-integrators mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/mylyn-integrators

Reply via email to