How Add the Share Editor with Php [message #623726] |
Thu, 26 June 2008 23:03  |
Eclipse User |
|
|
|
Hi,
http://wiki.eclipse.org/Extending_Real-Time_Shared_Editing_f or_Use_with_Other_Editors
I have this page describe how to use cola with PDT project's php. But I
don't know where I has to put this line below. Sorry for my stupid question
but I already try to learn how do this.
Thanks
Breno
<extension point="org.eclipse.ui.menus">
<menuContribution
locationURI="popup:org.eclipse.php.core.phpsource.source.EditorContext ">
<dynamic
class=" org.eclipse.ecf.internal.provisional.docshare.menu.DocShareR osterMenuContributionItem "
id="com.foo.MyEditorContextID.dynamic1">
</dynamic>
</menuContribution>
</extension>
|
|
|
|
|
Re: How Add the Share Editor with Php [message #623734 is a reply to message #623730] |
Fri, 27 June 2008 15:30  |
Eclipse User |
|
|
|
Hi Breno,
I've created and checked in the example plugin that I created. It's
available perusal at:
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.ecf/exa mples/plugins/org.eclipse.ecf.docshare.php/?root=Technology_ Project
Also, I added some further info on creating a plugin at the bottom of
this page:
http://wiki.eclipse.org/Extending_Real-Time_Shared_Editing_f or_Use_with_Other_Editors
Thanks,
Scott
Breno Cardoso Perucchi wrote:
> Hi Scott,
>
> Unfortunately I didn't create the plug-in . I get to create plugin as you
> told me to create but I didn't get to run and I don't know if my plugin is
> correct.
>
> Do you could create do plug-in and send to me?
>
> Thanks
> Breno
>
> "Scott Lewis" <slewis@composent.com> wrote in message
> news:48645F23.30306@composent.com...
>> Hi Breno,
>>
>> This markup (starting with <extension point... and ending with
>> </extension>) belongs in the plugin.xml of *some* plugin that is running
>> in the workspace. It can go in either the plugin.xml of the plugin that
>> defines/implements the php editor *or* it can go in a new/your plugin. To
>> put into a new plugin:
>>
>> 1) Create a new plugin project (New->Project->Plugin Project)
>>
>> 2) add these required plugins: org.eclipse.core.runtime, org.eclipse.ui,
>> org.eclipse.ecf.docshare
>>
>> 3) Use the content below to create plugin.xml.
>>
>>
>> I've tested this by putting the markup into a new plugin of my own
>> creation with no java code at all...just this markup in plugin.xml. It
>> works fine.
>>
>> If you would like me to make that plugin available for example purposes
>> let me know and I'll do so...actually I'll do tomorrow in any event.
>>
>> Scott
>>
>>
>> ----plugin.xml-------
>> <?xml version="1.0" encoding="UTF-8"?>
>> <?eclipse version="3.2"?>
>> <plugin>
>>
>> <extension point="org.eclipse.ui.menus">
>> <menuContribution
>> locationURI="popup:org.eclipse.php.core.phpsource.source.EditorContext ">
>> <dynamic
>> class=" org.eclipse.ecf.internal.provisional.docshare.menu.DocShareR osterMenuContributionItem "
>> id="org.eclipse.ecf.docshare.php.dynamic1">
>> </dynamic>
>> </menuContribution>
>> </extension>
>>
>> </plugin>
>>
>>
>> Breno Cardoso Perucchi wrote:
>>> Hi,
>>>
>>> http://wiki.eclipse.org/Extending_Real-Time_Shared_Editing_f or_Use_with_Other_Editors
>>>
>>> I have this page describe how to use cola with PDT project's php. But I
>>> don't know where I has to put this line below. Sorry for my stupid
>>> question but I already try to learn how do this.
>>>
>>> Thanks
>>> Breno
>>> <extension point="org.eclipse.ui.menus">
>>> <menuContribution
>>> locationURI="popup:org.eclipse.php.core.phpsource.source.EditorContext ">
>>> <dynamic
>>> class=" org.eclipse.ecf.internal.provisional.docshare.menu.DocShareR osterMenuContributionItem "
>>> id="com.foo.MyEditorContextID.dynamic1">
>>> </dynamic>
>>> </menuContribution>
>>> </extension>
>>>
>
|
|
|
Powered by
FUDForum. Page generated in 0.06379 seconds