Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 91877 invoked from network); 9 Jul 2005 21:44:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Jul 2005 21:44:30 -0000 Received: (qmail 27254 invoked by uid 500); 9 Jul 2005 21:44:29 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 27055 invoked by uid 500); 9 Jul 2005 21:44:28 -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 26721 invoked by uid 99); 9 Jul 2005 21:44:27 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Jul 2005 14:44:14 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id EADD917 for ; Sat, 9 Jul 2005 23:44:11 +0200 (CEST) Message-ID: <451955032.1120945451960.JavaMail.jira@ajax.apache.org> Date: Sat, 9 Jul 2005 23:44:11 +0200 (CEST) From: "Ross Gardler (JIRA)" To: dev@forrest.apache.org Subject: [jira] Commented: (FOR-571) Added dialog to fill in the attributes of a new element the site.xml file In-Reply-To: <1409552689.1120942149521.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 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 [ http://issues.apache.org/jira/browse/FOR-571?page=comments#action_12315415 ] Ross Gardler commented on FOR-571: ---------------------------------- I've applied the patch with edits. The edits are javadoc comments, please ensure all code includes adequate javadoc comments (see http://marc.theaimsgroup.com/?l=forrest-dev&m=112080945118964&w=2 ). I've added the javadocs now, but it is much easier and faster for the original author to write them at the time they write the code or to modify them when they modify the code.. The dialog you have created in this patch should really be a separate class to facilitate reuse. You will find the refactoring tools of eclipse make this very easy to do. Further, I suggest that this should really be wizard rather than a dialog, we are likely to want to expand this functionality quite considerably and I suspect that a dialog will not be sufficient. It's also much easier to create wizards than dialogs too :-) Lastly (and least important). It pays to ensure your code is kept clean as this makes for more readable code in the long run. Eclipse provides many tools for doing this, one of them is source -> organize imports context menu option. This will remove unused imports and expand wildcard imports. ---- All the above comments (with the exception of Javadocs) are intended to improve the code, not as criticism. This is Open Source, others can help and improve your initial code. The code you have submitted works, that is more than we had before so is great progress. Thanks! > Added dialog to fill in the attributes of a new element the site.xml file > ------------------------------------------------------------------------- > > Key: FOR-571 > URL: http://issues.apache.org/jira/browse/FOR-571 > Project: Forrest > Type: New Feature > Components: Tool: Eclipse config > Versions: 0.8-dev > Reporter: Anil Ramnanan > Attachments: SiteXML090705.Diff > > This is for a patch with a dialog that allows you to fill in the information for a new element such as the element name, href and description. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira