[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [mylyn-integrators] TaskEditorPage
|
Thanks alot Steffen. That did help me understands how it is being done.
However, in my connector, I still have the "un-used subclass"-problem. When I run my plugin it still does not use my subclasses of AbstractTaskEditorPage and AbstractTaskEditorPageFactory :-(
Avin
________________________________________
From: mylyn-integrators-bounces@xxxxxxxxxxx [mylyn-integrators-bounces@xxxxxxxxxxx] On Behalf Of Steffen Pingel [steffenp@xxxxxx]
Sent: Thursday, July 31, 2008 8:28 AM
To: Mylyn Integrators list
Subject: Re: [mylyn-integrators] TaskEditorPage
AbstractTaskEditorPageFactory.canCreatePageFor() is invoked by TaskEditor to
determine whether the factory provides a page for a particular task. To trace
how this works you can set breakpoints in BugzillaTaskEditorPageFactory and
BugzillaTaskEditorPage and open a Bugzilla task from the task list.
Steffen
On Tuesday 29 July 2008, Avin Ismail wrote:
> 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.web.tasks.MyConnectorTaskEditorPageFactor
>y" id="org.eclipse.mylyn.web.tasks.pageFactory">
> </pageFactory>
> </extension>
>
>
>
> But that did not make any difference.
>
>
>
> Best regards,
>
> Avin
--
Steffen Pingel - steffenp@xxxxxx - http://steffenpingel.de
_______________________________________________
mylyn-integrators mailing list
mylyn-integrators@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/mylyn-integrators