directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Seelmann <m...@stefan-seelmann.de>
Subject Re: [Studio] Try to add a new plugin in Studio
Date Tue, 05 Nov 2013 20:50:39 GMT
Hi Laurant,

from the manifest.mf and the screenshot in the attached document I don't
see an obvious problem. I think without the actual project/code it is
too difficult to guess the problem. If your code is confidential then
please just send the project with code dummy actions.

Kind Regards,
Stefan


On 11/04/2013 10:04 AM, laurent cop wrote:
> Hello Pierre Arnaud, Stefan,
> 
>       Have you seen any special mistakes/missing elements in files in
> attachment.
> 
>       To make my plugin (role manager) fit in Studio, I check the way it
> was done with accitemeditor plugin and try to reproduce the same calls.
> 
>                           Thank you for your replies.
> 
> 
> 
> 2013/10/30 laurent cop <laurent.cop@gmail.com>
> 
>> Hello Stefan,
>>
>>           Thank you for your reply. I ve just seen it now
>> .
>>           I'll try to send you more information today.
>>
>>           Here is the manifest.xml and some other informations related to
>> the integration in studio sources.
>>
>>                           Thank you.
>>
>>
>> 2013/10/29 Stefan Seelmann <mail@stefan-seelmann.de>
>>
>>> Hi Laurent,
>>>
>>> Can you please also post your manifest.mf?
>>>
>>> Event better if you could publish your plugin sources e.g. to github or
>>> send me a private zip archive, then I'll have a look.
>>>
>>> Kind Regards,
>>> Stefan
>>>
>>>
>>> On 10/29/2013 01:22 PM, laurent cop wrote:
>>>>
>>>> Hello,
>>>>
>>>>    - I try to add a new plugin in Studio
>>>>
>>>>    - I checkout last release on svn repo. Compile my plugin using mvn
>>> and then studio using mvn which generates a
>>> ApacheDirectoryStudio-win32-x86-XXXX-SNAPSHOT.zip
>>>>
>>>>     - I unzip it and got the exe and my plugin in plugindir of
>>> extracted archive
>>>>
>>>>     - When I run the exe, every plugins is loaded except mine :-(
>>>>
>>>>      - I look in the in Display error log in Configuration tab / in "A
>>> propos" window that my plugin is installed . But in the plugin tab, my
>>> plugin is not displayed.
>>>>
>>>>      - I click on Activate this-plugin when one of it's classes is
>>> loaded and use extension point to extend Studio and features. As bellow, I
>>> expect a display of a popupMenu when selection of IEntry and display the
>>> content of an attributeCertificateAttribute
>>>>
>>>> <plugin>
>>>>   <extension
>>>>          point="org.eclipse.ui.popupMenus">
>>>>       <objectContribution
>>>>             id="rolemanager.popupMenu"
>>>>
>>>  objectClass="org.apache.directory.studio.ldapbrowser.core.model.IEntry">
>>>>          <menu
>>>>                id="rolemanager.menu1"
>>>>                label="%menu.label"
>>>>                path="additions">
>>>>             <separator
>>>>                   name="group1">
>>>>             </separator>
>>>>          </menu>
>>>>          <action
>>>>
>>> class="org.apache.directory.studio.rolemanager.popup.actions.DelegateRole"
>>>>                enablesFor="1"
>>>>                id="rolemanager.delegateAction"
>>>>                label="%action.label"
>>>>                menubarPath="rolemanager.menu1/group1"
>>>>                tooltip="%action.tooltip">
>>>>          </action>
>>>>          <action
>>>>
>>> class="org.apache.directory.studio.rolemanager.popup.actions.RevokeRole"
>>>>                enablesFor="1"
>>>>                id="rolemanager.revokeAction"
>>>>                label="%action.label.0"
>>>>                menubarPath="rolemanager.menu1/group1"
>>>>                tooltip="%action.tooltip.0">
>>>>          </action>
>>>>       </objectContribution>
>>>>    </extension>
>>>>
>>>>    <extension point="org.apache.directory.studio.valueeditors">
>>>>
>>> <valueEditorclass="org.apache.directory.studio.rolemanager.valueeditor.certificate.AttributeCertificateValueEditor"
>>> icon="resources/icons/certificateeditor.png"name="attribute certificate
>>> X509 editor">
>>>>       <syntax syntaxOID="1.3.6.1.4.1.1466.115.121.1.8" />
>>>>       <attribute attributeType="attributeCertificateAttribute" />
>>>>       </valueEditor>
>>>>   </extension>
>>>>
>>>>
>>>>              Help appreciated, Thanks
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
> 


Mime
View raw message