Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 99092 invoked from network); 10 Dec 2010 15:49:58 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 10 Dec 2010 15:49:58 -0000 Received: (qmail 41822 invoked by uid 500); 10 Dec 2010 15:49:58 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 41625 invoked by uid 500); 10 Dec 2010 15:49:57 -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 41618 invoked by uid 99); 10 Dec 2010 15:49:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Dec 2010 15:49:56 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ayyagarikiran@gmail.com designates 74.125.82.42 as permitted sender) Received: from [74.125.82.42] (HELO mail-ww0-f42.google.com) (74.125.82.42) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Dec 2010 15:49:51 +0000 Received: by wwi17 with SMTP id 17so1106242wwi.1 for ; Fri, 10 Dec 2010 07:49:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; bh=scTOxqY1vI5xOwA1qGeYDhw07E8aLiw4fz785VENVY4=; b=VFd53SK6XXYL0eKuPuQfBHk4WSAKv6gp2jICLK62BW7nNPSnMCHkaoSZyJrnXVgNyo 5AcpcA0CtzrL/z4lXeE4sdyn7+j7V7iFb55Sbz5U1AxwqvbJHcyBD5J808FJ9/O/Uiyp KUQBcETP4E/4zFvChiehVKDqMtG7DDRg4Uyk4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=TW0ICMyRCAzK/1bGf0mZSBk98kMhBXbhrCs78pEDleD368dGTQGBFjiQBjamrDaMdX tIyORoa7eO2u8LI5lPnwWukTKNgdheWAJCbCqp2VRZ6miEdb+3vlweRhaHa/wuI/Uogw rYzl+A4zIqS3pFLHtjWlxKefWA4TZjcGCuWes= MIME-Version: 1.0 Received: by 10.216.154.131 with SMTP id h3mr2283242wek.74.1291996170222; Fri, 10 Dec 2010 07:49:30 -0800 (PST) Sender: ayyagarikiran@gmail.com Received: by 10.216.180.140 with HTTP; Fri, 10 Dec 2010 07:49:30 -0800 (PST) In-Reply-To: <062EFCB1-F131-451D-A5C4-C37A5F4BB79A@marcelot.net> References: <062EFCB1-F131-451D-A5C4-C37A5F4BB79A@marcelot.net> Date: Fri, 10 Dec 2010 17:49:30 +0200 X-Google-Sender-Auth: xRCUTy1mFKgxUBNza6veqPb6geA Message-ID: Subject: Re: [Studio] Switch the 'default' property value of the LDIF Editor extension to 'false' From: Kiran Ayyagari To: Apache Directory Developers List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Fri, Dec 10, 2010 at 5:28 PM, Pierre-Arnaud Marcelot w= rote: > Hi Dev, > I'm facing an interesting issue in the writing of the Apache DS 2.0 > Configuration Editor. > As the ApacheDS' configuration is now based on an LDIF file, Studio's LDI= F > Editor always show up when opening the 'config.ldif' file from disk. > This is due to the fact that the 'default' property value is set to 'true= ' > in the LDIF Editor extension definition. > It is defined as is in the following file, '[Studio > Checkout]/plugins/ldifeditor/plugin.xml': > > =A0=A0 =A0=A0 =A0 =A0 =A0 point=3D"org.eclipse.ui.editors"> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 class=3D"org.apache.directory.studio.ldifeditor.edito= r.LdifEditor" > > contributorClass=3D"org.apache.directory.studio.ldifeditor.editor.LdifEdi= torContributor" > =3D=3D=3D=3D=3D=3D> =A0 default=3D"true" > =A0 =A0 =A0 =A0 =A0 extensions=3D"ldif, ldiflog" > =A0 =A0 =A0 =A0 =A0 icon=3D"resources/icons/ldifeditor.gif" > =A0 =A0 =A0 =A0 =A0 id=3D"%Editor_LdifEditor_id" > =A0 =A0 =A0 =A0 =A0 name=3D"%Editor_LdifEditor_name"/> > =A0=A0 > > I'd like to pass this value to "false" in order to allow the ApacheDS 2.0 > Configuration Editor to be opened specifically if the filename is > 'config.ldif'. hmm, this might confuse users who are connecting to other servers(and they have accidentally trying to open their custom ldif file named 'config.ldif' ). Can we have a "Open With" or something similar tab to open the config file with different editor? P.S:- This open a custom editor if file name is 'config.ldif' reminds me of classing linux windowing environments which sometimes *hard* to predict why they are crashing or behaving differently. It turns out, that it is due to some casing of letter names of a file or other but leave no clue to the user about what it is expecting. --=20 Kiran Ayyagari