Customise samples [message #1374867] |
Thu, 22 May 2014 16:51  |
Eclipse User |
|
|
|
Hi ,
I am new to sapphire. I downloaded and tried the samples. In order to become familiar with sapphire i want to start customising one of the existing samples to make it meet my needs. So i started by adding a new text field "version" in the class item.java in the catalog sample.
@Required
@XmlBinding( path = "Version" )
ValueProperty PROP_VERSION = new ValueProperty( TYPE, "Version" );
Value<String> getVersion();
void setVersion( String value );
However the field "version" does not appear in the editor "catalog.xml" when i try to add a new item. I only added some information in the item.java. Do i need to modify any other file as well?
In general, my question is how to add new fields in the existing samples and how the changes are propagated in the editor. Do i need to compile the sample somehow?
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03967 seconds