Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] Adding Support for the ECF for the CDT Editor?

You need to create your own plug-in and add some XML
to contribute a menu item to the C/C++ Editor context menu 
as described on 
http://wiki.eclipse.org/Extending_Real-Time_Shared_Editing_for_Use_with_
Other_Editors

The context menu id of the C/C++ Editor is "#CEditorContext".
I.e. the extension XML would be

<extension point="org.eclipse.ui.menus">
  <menuContribution locationURI="popup:#CEditorContext">
    <dynamic
class="org.eclipse.ecf.docshare.menu.DocShareRosterMenuContributionItem"
             id="org.eclipse.ecf.editorshare.ceditor">
    </dynamic>
  </menuContribution>
</extension>

We cannot add this to the org.eclipse.cdt.ui plugin.xml as it requires
a dependency on the docshare plug-in.

See also https://bugs.eclipse.org/bugs/show_bug.cgi?id=248750.
If you get the docshare integration working, please attach the plug-in 
to the bug.

HTH
Toni

> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx 
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Michael Jackson
> Sent: Thursday, April 15, 2010 4:05 PM
> To: CDT General developers list.
> Subject: [cdt-dev] Adding Support for the ECF for the CDT Editor?
> 
> Would it be possible to add support for ECT (Eclipse Communications  
> Framework) to the CDT editor? That way I can Real Time Share a CDT  
> editor with my co-workers. From the ECF website it would seem that  
> some extra XML in the CDT plugin is needed. Of Course I may be  
> completely missing something....
> 
> ___________________________________________________________
> Mike Jackson                      www.bluequartz.net
> Principal Software Engineer       mike.jackson@xxxxxxxxxxxxxx
> BlueQuartz Software               Dayton, Ohio
> 
> 
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
> 


Back to the top