[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
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