Return-Path: Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 46828 invoked from network); 21 Feb 2001 20:35:10 -0000 Received: from mailout02.sul.t-online.com (194.25.134.17) by h31.sny.collab.net with SMTP; 21 Feb 2001 20:35:10 -0000 Received: from fwd00.sul.t-online.com by mailout02.sul.t-online.com with smtp id 14Vfyc-00029r-07; Wed, 21 Feb 2001 21:35:06 +0100 Received: from pc0003 (320023714625-0001@[62.224.1.251]) by fwd00.sul.t-online.com with smtp id 14VfyT-0h2yh6C; Wed, 21 Feb 2001 21:34:57 +0100 From: Christoph.Wilhelms@t-online.de (Christoph Wilhelms) To: Subject: [PATCH] Antidote: DependentTargetChooser (StringExternalization) Date: Wed, 21 Feb 2001 21:32:38 +0100 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0008_01C09C4D.D005F4C0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal In-Reply-To: X-Sender: 320023714625-0001@t-dialin.net X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N ------=_NextPart_000_0008_01C09C4D.D005F4C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi Simeon! Modified DependentTargetChooser to retrive Strings and images via ResourceManager and Updated antidote.properties Attached diffs. Greetings, Chris ------=_NextPart_000_0008_01C09C4D.D005F4C0 Content-Type: application/octet-stream; name="antidote.properties.diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="antidote.properties.diff" Index: = jakarta-ant/src/antidote/org/apache/tools/ant/gui/resources/antidote.prop= erties =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: = /home/cvspublic/jakarta-ant/src/antidote/org/apache/tools/ant/gui/resourc= es/antidote.properties,v retrieving revision 1.21 diff -r1.21 antidote.properties 28a29,42 > # DependentTargetChooser part of the DependentTargetPropertyEditor > org.apache.tools.ant.gui.modules.edit.DependentTargetChooser.ok=3DOK > = org.apache.tools.ant.gui.modules.edit.DependentTargetChooser.cancel=3DCan= cel > = org.apache.tools.ant.gui.modules.edit.DependentTargetChooser.target=3DTar= get > = org.apache.tools.ant.gui.modules.edit.DependentTargetChooser.description=3D= Description > = org.apache.tools.ant.gui.modules.edit.DependentTargetChooser.upIcon=3Dup.= gif > = org.apache.tools.ant.gui.modules.edit.DependentTargetChooser.downIcon=3Dd= own.gif > = org.apache.tools.ant.gui.modules.edit.DependentTargetChooser.addIcon=3Den= ter.gif > = org.apache.tools.ant.gui.modules.edit.DependentTargetChooser.removeIcon=3D= exit.gif > org.apache.tools.ant.gui.modules.edit.DependentTargetChooser.up=3DMove = dependent target up > = org.apache.tools.ant.gui.modules.edit.DependentTargetChooser.down=3DMove = dependent target down > org.apache.tools.ant.gui.modules.edit.DependentTargetChooser.add=3DAdd = target to dependent list > = org.apache.tools.ant.gui.modules.edit.DependentTargetChooser.remove=3DRem= ove target from dependent list >=20 119,121d132 <=20 <=20 <=20 ------=_NextPart_000_0008_01C09C4D.D005F4C0 Content-Type: application/octet-stream; name="DependentTargetChooser.java.diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="DependentTargetChooser.java.diff" Index: = jakarta-ant/src/antidote/org/apache/tools/ant/gui/modules/edit/DependentT= argetChooser.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: = /home/cvspublic/jakarta-ant/src/antidote/org/apache/tools/ant/gui/modules= /edit/DependentTargetChooser.java,v retrieving revision 1.1 diff -r1.1 DependentTargetChooser.java 83a84 > import org.apache.tools.ant.gui.core.ResourceManager; 106a108,109 > // common > private ResourceManager _resources =3D new ResourceManager(); 174c177,178 < _append.setIcon(new = ImageIcon(getClass().getResource("/org/apache/tools/ant/gui/resources/ent= er.gif"))); --- > _append.setIcon(_resources.getImageIcon(getClass(), = "addIcon")); > _append.setToolTipText(_resources.getString(getClass(), = "add")); 191c195,196 < _remove.setIcon(new = ImageIcon(getClass().getResource("/org/apache/tools/ant/gui/resources/exi= t.gif"))); --- > _remove.setIcon(_resources.getImageIcon(getClass(), = "removeIcon")); > _remove.setToolTipText(_resources.getString(getClass(), = "remove")); 223c228,229 < _moveUp.setIcon(new = ImageIcon(getClass().getResource("/org/apache/tools/ant/gui/resources/up.= gif"))); --- > _moveUp.setIcon(_resources.getImageIcon(getClass(), = "upIcon")); > _moveUp.setToolTipText(_resources.getString(getClass(), = "up")); 239c245,246 < _moveDown.setIcon(new = ImageIcon(getClass().getResource("/org/apache/tools/ant/gui/resources/dow= n.gif"))); --- > _moveDown.setIcon(_resources.getImageIcon(getClass(), = "downIcon")); > _moveDown.setToolTipText(_resources.getString(getClass(), = "down")); 267c274 < _ok =3D new JButton("OK"); --- > _ok =3D new JButton(_resources.getString(getClass(), = "ok")); 270c277 < _cancel =3D new JButton("Cancel"); --- > _cancel =3D new JButton(_resources.getString(getClass(), = "cancel")); 365c372 < targetCol.setHeaderValue("Target"); --- > targetCol.setHeaderValue(_resources.getString(getClass(), = "target")); 372c379 < descrCol.setHeaderValue("Description"); --- > descrCol.setHeaderValue(_resources.getString(getClass(), = "description")); ------=_NextPart_000_0008_01C09C4D.D005F4C0--