Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ve-dev] GetterStyle /Template for BeanName/

Hi,

I have a small problem with the Eclipse visual editor:
The name property of the beans is necessary for our applications. It will be
used as a translation key.
We need the following style:

	private JLabel jLabelFirstName = null;

	private JLabel getJLabelFirstName() {
		if(jLabelFirstName == null) {
			jLabelFirstName = new JLabel();
			jLabelFirstName.setName("FirstName");
			...
		}
		return jLabelFirstName;
	}
}
Is it possible to set this template?
Thanks!
Best regards, 

Balázs Endrédi



Back to the top