2
0
Fork 0

[svn r279] fixed method name, and added i18n keys for edit dialog

This commit is contained in:
willemc 2007-08-27 20:47:54 +02:00
parent b1aee18d36
commit 9218ea6c8e
2 changed files with 4 additions and 3 deletions

View file

@ -85,7 +85,7 @@ public class VascAnnotationParser {
return (String)getValue(beanClass,VascName.class,property); return (String)getValue(beanClass,VascName.class,property);
} }
public String getVascLabelKey(Class beanClass) { public String getVascNameKey(Class beanClass) {
return (String)getValue(beanClass,VascName.class,null); return (String)getValue(beanClass,VascName.class,null);
} }
@ -121,6 +121,7 @@ public class VascAnnotationParser {
public String getVascImage(Class beanClass) { public String getVascImage(Class beanClass) {
return (String)getValue(beanClass,VascImage.class,null); return (String)getValue(beanClass,VascImage.class,null);
} }
/** /**
* No oop code here...refactor at some point in time * No oop code here...refactor at some point in time

View file

@ -249,9 +249,9 @@ public class SwingVascViewRenderer implements VascViewRenderer {
JLabel l = new JLabel(); JLabel l = new JLabel();
l.setHorizontalAlignment(JLabel.TRAILING); l.setHorizontalAlignment(JLabel.TRAILING);
l.setText(c.getName()); l.setText(table.getVascTextValue().getTextValue(c.getName()));
if(c.getToolTip()!=null) { if(c.getToolTip()!=null) {
l.setToolTipText(c.getToolTip()); l.setToolTipText(table.getVascTextValue().getTextValue(c.getToolTip()));
} }
body.add(l); body.add(l);