Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sapphire-dev] New topic in forum Sapphire, called Customise samples, by psilos panipsilos

Title: Eclipse Community Forums
Subject: Customise samples Author: psilos panipsilos Date: Thu, 22 May 2014 16:51
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?
[ Reply ][ Quote ][ View Topic/Message ][ Unsubscribe from this forum ]

Back to the top