[ 
http://jira.xwiki.org/jira/browse/XECLIPSE-29?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_21781
 ] 

Eugene Kuleshov commented on XECLIPSE-29:
-----------------------------------------

To work with the code you will need to checkout Mylyn projects as described at 
http://wiki.eclipse.org/Mylyn_Contributor_Reference#Checkout

I think there are several components and APIs need to be implemented. It would 
be great if such work created a foundation for a pluggable wiki integration for 
Mylyn.

First of all, wiki servers (or spaces) need to be somehow linked with projects 
in Eclipse. Mylyn have support for linking projects with issue trackers and I 
think linking with wiki servers can be done in a similar way. See references to 
the class AbstractTaskRepositoryLinkProvider and its subclasses.

Alternative option could be to link wiki server with issue tracker, but I think 
it won't be sufficient in many cases. Though there is an experimental 
integration for Trac wiki in Mylyn sandbox that contributes "Open Wiki Page" 
action to issue tracker entry in Mylyn's "Task Repositories" view. See 
org.eclipse.mylyn.trac.wiki project. You can also try that with Mylyn's Bitten 
Trac instance at http://mylyn.eclipse.org/bitten (just create new task repo on 
this url)

But the most interesting use case is to keep track of the wiki pages viewed in 
context of the active task. This is probably the most tricky part, because 
there is no open source integrations like that as for now. However there are 
several pieces and bunch of commented out extension points in 
org.eclipse.mylyn.web.ui project. It has somewhat generic support for web 
browser tracking. You can look at the BrowserTracker class. It is not 
completely implemented to track internal browsers, but should give you an idea 
how to register your own interaction monitor for Mylyn.

The last piece is to visualize collected info to the user. There are several 
options:

- add special content provider to the "Common Navigator"-based "Project 
Explorer" view. That is what commented extension points from 
org.eclipse.mylyn.web.ui project do
- add special "Resources" tab to Mylyn's task editor, or figure out why web 
resources don't show up on "Context" tab, then there won't be need to have a 
separate editor tab

One more interesting piece is to add platform hyperlink detector (a new api in 
Eclipse 3.3) that would recognize links like wiki:FooBar and would use linked 
wiki info to navigate to the wiki editor/viewer.

> Integration with Mylyn
> ----------------------
>
>                 Key: XECLIPSE-29
>                 URL: http://jira.xwiki.org/jira/browse/XECLIPSE-29
>             Project: XWiki Eclipse Integration
>          Issue Type: New Feature
>    Affects Versions: 1.0 M1
>            Reporter: Eugene Kuleshov
>
> It would be really neat to have xwiki integration with Mylyn. For example 
> capture wiki pages browsed within current task context, so they can be 
> restored when task is reactivated later or when task context sent to other 
> developers.
> It will require to build Mylyn bridge for xwiki.
> http://wiki.eclipse.org/Mylyn_Integrator_Reference#Resource_Bridge
> http://wiki.eclipse.org/Mylyn_Architecture
> http://eclipse.org/mylyn

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.xwiki.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
notifications mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications

Reply via email to