[svn r279] fixed method name, and added i18n keys for edit dialog
This commit is contained in:
parent
b1aee18d36
commit
9218ea6c8e
|
@ -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
|
||||||
|
|
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue