Update of /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv6467/src/net/sourceforge/bprocessor/gui
Modified Files:
PopupMenu.java GUI.java
Log Message:
Renamed getGeneralName to title
Index: PopupMenu.java
===================================================================
RCS file: /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/PopupMenu.java,v
retrieving revision 1.91
retrieving revision 1.92
diff -C2 -d -r1.91 -r1.92
*** PopupMenu.java 13 Dec 2007 12:29:05 -0000 1.91
--- PopupMenu.java 17 Dec 2007 13:09:35 -0000 1.92
***************
*** 195,199 ****
public ModellorAction(Modellor modellor, Container space) {
! super(modellor.getGeneralName());
this.modellor = modellor;
this.space = space;
--- 195,199 ----
public ModellorAction(Modellor modellor, Container space) {
! super(modellor.title());
this.modellor = modellor;
this.space = space;
***************
*** 300,304 ****
}
{
! AbstractAction action = new SpaceMenuAction(sp, "Layer..") {
public void actionPerformed(ActionEvent event) {
Command command = new Command.Layer(space);
--- 300,304 ----
}
{
! AbstractAction action = new SpaceMenuAction(sp, "Offset..") {
public void actionPerformed(ActionEvent event) {
Command command = new Command.Layer(space);
Index: GUI.java
===================================================================
RCS file: /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/GUI.java,v
retrieving revision 1.88
retrieving revision 1.89
diff -C2 -d -r1.88 -r1.89
*** GUI.java 13 Dec 2007 12:00:55 -0000 1.88
--- GUI.java 17 Dec 2007 13:09:35 -0000 1.89
***************
*** 248,252 ****
public ModellorAction(Modellor modellor) {
! super(modellor.getGeneralName());
this.modellor = modellor;
}
--- 248,252 ----
public ModellorAction(Modellor modellor) {
! super(modellor.title());
this.modellor = modellor;
}
***************
*** 320,324 ****
int level = s.getLevel();
for (Modellor m : Modellor.getRegisteredModellors()) {
! JMenuItem mod = new JMenuItem(m.getGeneralName());
if (level == m.getUseableLevel()) {
mod.addActionListener(new ModellorMenuAction(s, m));
--- 320,324 ----
int level = s.getLevel();
for (Modellor m : Modellor.getRegisteredModellors()) {
! JMenuItem mod = new JMenuItem(m.title());
if (level == m.getUseableLevel()) {
mod.addActionListener(new ModellorMenuAction(s, m));
|