From dev-return-18659-apmail-forrest-dev-archive=forrest.apache.org@forrest.apache.org Sun Aug 14 00:43:51 2005 Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 8810 invoked from network); 14 Aug 2005 00:43:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Aug 2005 00:43:50 -0000 Received: (qmail 14552 invoked by uid 500); 14 Aug 2005 00:43:50 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 14405 invoked by uid 500); 14 Aug 2005 00:43:49 -0000 Mailing-List: contact dev-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@forrest.apache.org List-Id: Delivered-To: mailing list dev@forrest.apache.org Received: (qmail 14392 invoked by uid 99); 14 Aug 2005 00:43:49 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Aug 2005 17:43:49 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [209.97.201.94] (HELO trinihosting.com) (209.97.201.94) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Aug 2005 17:44:09 -0700 Received: (qmail 27338 invoked from network); 14 Aug 2005 00:44:26 -0000 Received: from unknown (HELO ?192.168.2.87?) (64.28.136.2) by homebrewmedia.com with SMTP; 14 Aug 2005 00:44:26 -0000 Message-ID: <42FE939F.7080801@peppersauce.org> Date: Sat, 13 Aug 2005 20:43:11 -0400 From: Anil Ramnanan User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@forrest.apache.org Subject: Re: Respository brwoser for eclipse plugin Re: Daisy Repository References: <42FC7CB7.9080206@peppersauce.org> <42FCF1B6.1020508@apache.org> <42FCF85F.3010207@peppersauce.org> <42FD0366.9030502@apache.org> <42FD12D4.4070808@peppersauce.org> <42FD4253.20909@apache.org> In-Reply-To: <42FD4253.20909@apache.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Ross Gardler wrote: > > I think you are right, the Java API is probably best. > > So does all this mean that we have something like: > > package org.apache.forrest.view > > /** > * A tree navigator that displays the contents of a repository > */ > public class RepositoryNavigator > > --- > > package org.apache.forrest.repository > > > /** > * An interface describing the methods required to interface with > * and interact with an external repository. > */ > public class IRepositoryConnection > > /** > * A content provider that presents the content of a repository > * to a graphical widget for display. > */ > public class RepositoryContentProvider implements > IStructuredContentProvider > > > /** > * A label provider that provides labels for the content of a > * repository for display in a treeView. > */ > public class RepositoryLabelProvider extends LabelProvider implements > ITreeLabelProvider > > --- > > package org.daisy.forrest.repository; > > /** > * An implementation of a connection to a Daisy Repository > */ > public class RepositoryConnection implements > IRepositoryConnection > > --- > > The RepositoryConnection can do all the communicating with the > repository as you suggest. It would provide instances of the content > and label providers for the view. > > --- > > Does this fit with what you were planning? > That was the general idea I had. Thanks for refining it bit for me. Anil.