PR: Obtained from: Submitted by: Erik Meade Reviewed by: Simeon Fitch git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268172 13f79535-47bb-0310-9956-ffa450edef68master
| @@ -129,6 +129,9 @@ class EventResponder { | |||||
| else if(command.equals(AboutCmd.ACTION_NAME)) { | else if(command.equals(AboutCmd.ACTION_NAME)) { | ||||
| new AboutCmd(_context).execute(); | new AboutCmd(_context).execute(); | ||||
| } | } | ||||
| else if(command.equals(ChangeLookAndFeelCmd.ACTION_NAME)) { | |||||
| new ChangeLookAndFeelCmd(_context).execute(); | |||||
| } | |||||
| else { | else { | ||||
| // XXX log me. | // XXX log me. | ||||
| System.err.println("Unhandled action: " + command); | System.err.println("Unhandled action: " + command); | ||||
| @@ -1,6 +1,6 @@ | |||||
| menus=File, Build, Help | |||||
| menus=File, Build, Options, Help | |||||
| actions=open, close, exit, about, startBuild | |||||
| actions=open, close, exit, about, startBuild, changeLookAndFeel | |||||
| new.name=New | new.name=New | ||||
| new.shortDescription=Create a new project | new.shortDescription=Create a new project | ||||
| @@ -47,3 +47,6 @@ stopBuild.parentMenuName=Build | |||||
| stopBuild.icon=stop.gif | stopBuild.icon=stop.gif | ||||
| stopBuild.accelerator=control K | stopBuild.accelerator=control K | ||||
| changeLookAndFeel.name=Look and Feel... | |||||
| changeLookAndFeel.shortDescription=Change the Look and Feel | |||||
| changeLookAndFeel.parentMenuName=Options | |||||
| @@ -44,6 +44,11 @@ org.apache.tools.ant.gui.About.message=\ | |||||
| </html> | </html> | ||||
| org.apache.tools.ant.gui.ChangeLookAndFeel.title=Change Look and Feel | |||||
| org.apache.tools.ant.gui.ChangeLookAndFeel.ok=OK | |||||
| org.apache.tools.ant.gui.ChangeLookAndFeel.error=Error setting look and feel: | |||||
| # Properties file for BeanInfo strings | # Properties file for BeanInfo strings | ||||
| org.apache.tools.ant.gui.acs.ACSTargetElementBeanInfo.beanName=Target | org.apache.tools.ant.gui.acs.ACSTargetElementBeanInfo.beanName=Target | ||||
| @@ -2,5 +2,6 @@ VERSION=@VERSION@ | |||||
| DATE=@DATE@ | DATE=@DATE@ | ||||
| CONTRIBUTORS=\ | CONTRIBUTORS=\ | ||||
| Simeon H.K. Fitch, \ | Simeon H.K. Fitch, \ | ||||
| Erik Meade, \ | |||||
| Ant Development Team, \ | Ant Development Team, \ | ||||
| Icons Copyright © 1998 Dean S. Jones | Icons Copyright © 1998 Dean S. Jones | ||||