Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Communications Framework (ECF) » Pydev + ECF Using docshare
Pydev + ECF Using docshare [message #625152] Tue, 09 March 2010 20:47 Go to next message
Dark-Magician is currently offline Dark-Magician
Messages: 2
Registered: March 2010
Junior Member
Hi all, I'm trying to hook up Pydev with docshare and I was linked to by the friendly people at the irc to http://www.eclipse.org/forums/index.php?t=msg&th=161379& amp;start=0& and I have tried multiple configurations editing the plugin.xml within the docshare.jar to no avail.

Running latest Galileo and ECF and Pydev as of 3-8-10
Ubuntu 9.10 32Bit
Using a local ECF Generic Server

the XML entry is as follows:

<extension point="org.eclipse.ui.menus">
<menuContribution locationURI="popup:org.python.pydev.editor.PythonEditor.EditorContext ">
<dynamic class=" org.eclipse.ecf.docshare.menu.DocShareRosterMenuContribution Item "
id="org.eclipse.ecf.editorshare.pydev.dynamic1">
</dynamic>
</menuContribution>
</extension>

<extension
point="org.eclipse.ui.menus">
<menuContribution locationURI="popup:#PyEditContext">
<dynamic class=" org.eclipse.ecf.docshare.menu.DocShareRosterMenuContribution Item "
id="org.eclipse.ecf.editorshare.pydev.dynamic2">
</dynamic>
</menuContribution>
</extension>

Any advice is greatly appreicated
Thanks

On another problem, I cannot Synchronize files across the ECF Generic Server.. not a major issue as its across a network.
Re: Pydev + ECF Using docshare [message #625153 is a reply to message #625152] Thu, 11 March 2010 17:11 Go to previous message
Scott Lewis is currently offline Scott Lewis
Messages: 964
Registered: July 2009
Senior Member
Hi xcdarkmagician,

I can only think that perhaps the locationURI is not right for the pydev
editor class. The space at the end of this certainly looks incorrect to me:

<stuff deleted>

> <extension point="org.eclipse.ui.menus">
> <menuContribution
> locationURI="popup:org.python.pydev.editor.PythonEditor.EditorContext ">

And the spaces in this class name are definitely not right.

> <dynamic class="
> org.eclipse.ecf.docshare.menu.DocShareRosterMenuContribution Item "


> id="org.eclipse.ecf.editorshare.pydev.dynamic1">
> </dynamic>
> </menuContribution>
> </extension>
>

The class name below is also not right...and the popup:#PyEditContext
looks suspect to me (it could be right, but I just don't know what the
Python Editor's context id is).

> <extension
> point="org.eclipse.ui.menus">
> <menuContribution locationURI="popup:#PyEditContext">
> <dynamic class="
> org.eclipse.ecf.docshare.menu.DocShareRosterMenuContribution Item "
> id="org.eclipse.ecf.editorshare.pydev.dynamic2">
> </dynamic>
> </menuContribution>
> </extension>
>

Thanks,

Scott
Previous Topic:r-osgi, File-based discovery
Next Topic:Pydev + ECF Using docshare
Goto Forum:
  


Current Time: Wed Jul 23 08:03:22 EDT 2014

Powered by FUDForum. Page generated in 0.06579 seconds