Return-Path: X-Original-To: apmail-directory-dev-archive@www.apache.org Delivered-To: apmail-directory-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4751610897 for ; Tue, 5 Nov 2013 10:56:13 +0000 (UTC) Received: (qmail 47697 invoked by uid 500); 5 Nov 2013 10:56:12 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 47568 invoked by uid 500); 5 Nov 2013 10:56:07 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 47551 invoked by uid 99); 5 Nov 2013 10:56:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Nov 2013 10:56:05 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_FRT_BELOW2 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of laurent.cop@gmail.com designates 209.85.192.173 as permitted sender) Received: from [209.85.192.173] (HELO mail-pd0-f173.google.com) (209.85.192.173) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Nov 2013 10:56:00 +0000 Received: by mail-pd0-f173.google.com with SMTP id r10so8187937pdi.32 for ; Tue, 05 Nov 2013 02:55:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=gRmdmt9N6UHulRJ6kjvOYTlcERcrtSJ7YmkvYfjWV+0=; b=xPpkBPnL06L0hAtk7kp20FNCZoy8hgMt5OamTNkRcjz5y+JwQfV8hWiqHOx5DzzMYN xFnRy/fWJ5ZyLmt3n/CFUTQX7ffyfJXzJ8ApKX59b4Xr5rUleT9YWNjjDjMAX/SEdQ71 WWO4TlX4UVVF6G51OnFRJM1WovmwKBhlLQ5NUbUrIaVyxwY0prlNRxEJkTeW1RMbKbNT s359bORVFfRzCriLFi4zs4gLZ8fEM0WdcTYoxs5FnE+zXgpLBq68uwhAF4IVubviJ8Fk WTZ4j6KaH8Lps8sJGmjH4yittsjfOrQgRAHPcnF/oITMYZxP3KG4fk6oKHKAgfVC7uk5 +m4w== X-Received: by 10.66.9.7 with SMTP id v7mr22208393paa.4.1383648940048; Tue, 05 Nov 2013 02:55:40 -0800 (PST) MIME-Version: 1.0 Received: by 10.68.148.68 with HTTP; Tue, 5 Nov 2013 02:55:19 -0800 (PST) In-Reply-To: References: <8E921459-4402-4F44-A5E5-09158B16AA96@gmail.com> <52702286.4040706@stefan-seelmann.de> From: laurent cop Date: Tue, 5 Nov 2013 11:55:19 +0100 Message-ID: Subject: Re: [Studio] Try to add a new plugin in Studio To: Apache Directory Developers List Content-Type: multipart/alternative; boundary=bcaec520e84790c99504ea6bdfd0 X-Virus-Checked: Checked by ClamAV on apache.org --bcaec520e84790c99504ea6bdfd0 Content-Type: text/plain; charset=ISO-8859-1 Hello Pierre Arnaud, Stefan, Have you any clues regarding the log, files transmited? As decribe above, 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. Was it the good way to integrate my plugin in Studio? 2013/11/4 laurent cop > 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 > >> 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 >> >>> 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 >>> > >>> > >>> > >> > point="org.eclipse.ui.popupMenus"> >>> > >> > id="rolemanager.popupMenu" >>> > >>> objectClass="org.apache.directory.studio.ldapbrowser.core.model.IEntry"> >>> > >> > id="rolemanager.menu1" >>> > label="%menu.label" >>> > path="additions"> >>> > >> > name="group1"> >>> > >>> > >>> > >> > >>> class="org.apache.directory.studio.rolemanager.popup.actions.DelegateRole" >>> > enablesFor="1" >>> > id="rolemanager.delegateAction" >>> > label="%action.label" >>> > menubarPath="rolemanager.menu1/group1" >>> > tooltip="%action.tooltip"> >>> > >>> > >> > >>> 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"> >>> > >>> > >>> > >>> > >>> > >>> > >>> >> icon="resources/icons/certificateeditor.png"name="attribute certificate >>> X509 editor"> >>> > >>> > >>> > >>> > >>> > >>> > >>> > Help appreciated, Thanks >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> >>> >> > --bcaec520e84790c99504ea6bdfd0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hello Pierre Arnaud, Stefan,

=A0=A0= =A0=A0=A0=A0=A0=A0 Have you any clues regarding the log, files transmited?<= br>
=A0=A0=A0=A0=A0=A0=A0=A0 As decribe above, to make my plu= gin (role manager) fit in Studio, I check the way it=20 was done with accitemeditor plugin and try to reproduce the same calls. Was= it the good way to integrate my plugin in Studio?


=A0=A0=A0=A0=A0=A0=A0=A0


2013/11/4 laurent= cop <laurent.cop@gmail.com>
Hello Pierre= Arnaud, Stefan,

=A0=A0=A0=A0=A0 Have you seen any speci= al mistakes/missing elements in files in attachment.

=A0=A0=A0=A0=A0 To make my plugin (role manager) fit in Stud= io, I check the way it was done with accitemeditor plugin and try to reprod= uce the same calls.

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0 Thank you for your replies.

<= div class=3D"HOEnZb">


<= div class=3D"gmail_quote">2013/10/30 laurent cop <laurent.cop@gmail.co= m>
Hello Stefan= ,

=A0=A0=A0=A0=A0=A0=A0=A0=A0 Thank you for your reply. I ve j= ust seen it now
.
=A0=A0=A0=A0=A0=A0=A0=A0=A0 I'll try to send you more information= today.

=A0=A0=A0=A0=A0=A0=A0=A0=A0 Here is the manifest.= xml and some other informations related to the integration in studio source= s.

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0 Thank you.


2013/10/29 Stefan Seelmann <m= ail@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,
>
> =A0 =A0- I try to add a new plugin in Studio
>
> =A0 =A0- 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
>
> =A0 =A0 - I unzip it and got the exe and my plugin in plugindir of ext= racted archive
>
> =A0 =A0 - When I run the exe, every plugins is loaded except mine :-(<= br> >
> =A0 =A0 =A0- I look in the in Display error log in Configuration tab /= in "A propos" window that my plugin is installed . But in the pl= ugin tab, my plugin is not displayed.
>
> =A0 =A0 =A0- I click on Activate this-plugin when one of it's clas= ses is loaded and use extension point to extend Studio and features. As bel= low, I expect a display of a popupMenu when selection of IEntry and display= the content of an attributeCertificateAttribute
>
> <plugin>
> =A0 <extension
> =A0 =A0 =A0 =A0 =A0point=3D"org.eclipse.ui.popupMenus"> > =A0 =A0 =A0 <objectContribution
> =A0 =A0 =A0 =A0 =A0 =A0 id=3D"rolemanager.popupMenu"
> =A0 =A0 =A0 =A0 =A0 =A0objectClass=3D"org.apache.directory.studio= .ldapbrowser.core.model.IEntry">
> =A0 =A0 =A0 =A0 =A0<menu
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0id=3D"rolemanager.menu1"
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0label=3D"%menu.label"
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0path=3D"additions">
> =A0 =A0 =A0 =A0 =A0 =A0 <separator
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 name=3D"group1">
> =A0 =A0 =A0 =A0 =A0 =A0 </separator>
> =A0 =A0 =A0 =A0 =A0</menu>
> =A0 =A0 =A0 =A0 =A0<action
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 class=3D"org.apache.directory.studio.= rolemanager.popup.actions.DelegateRole"
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0enablesFor=3D"1"
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0id=3D"rolemanager.delegateAction&q= uot;
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0label=3D"%action.label"
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0menubarPath=3D"rolemanager.menu1/g= roup1"
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0tooltip=3D"%action.tooltip"&g= t;
> =A0 =A0 =A0 =A0 =A0</action>
> =A0 =A0 =A0 =A0 =A0<action
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 class=3D"org.apache.directory.studio.= rolemanager.popup.actions.RevokeRole"
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0enablesFor=3D"1"
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0id=3D"rolemanager.revokeAction&quo= t;
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0label=3D"%action.label.0"
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0menubarPath=3D"rolemanager.menu1/g= roup1"
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0tooltip=3D"%action.tooltip.0"= >
> =A0 =A0 =A0 =A0 =A0</action>
> =A0 =A0 =A0 </objectContribution>
> =A0 =A0</extension>
>
> =A0 =A0<extension point=3D"org.apache.directory.studio.valueed= itors">
> =A0 =A0 =A0 <valueEditorclass=3D"org.apache.directory.studio.r= olemanager.valueeditor.certificate.AttributeCertificateValueEditor" ic= on=3D"resources/icons/certificateeditor.png"name=3D"attribut= e certificate X509 editor">
> =A0 =A0 =A0 <syntax syntaxOID=3D"1.3.6.1.4.1.1466.115.121.1.8&= quot; />
> =A0 =A0 =A0 <attribute attributeType=3D"attributeCertificateAt= tribute" />
> =A0 =A0 =A0 </valueEditor>
> =A0 </extension>
>
>
> =A0 =A0 =A0 =A0 =A0 =A0 =A0Help appreciated, Thanks
>
>
>
>
>
>
>
>




--bcaec520e84790c99504ea6bdfd0--