The radio buttons property editor presentation now uses value images, when available.
enum FileType
{
@Label( standard = "Java" )
@Image( path = "JavaFile.png" )
JAVA,
@Label( standard = "XML" )
@Image( path = "XmlFile.png" )
XML,
@Label( standard = "text" )
@Image( path = "TextFile.png" )
TEXT
}
@Type( base = FileType.class )
ValueProperty PROP_TYPE = new ValueProperty( TYPE, "Type" );
Value<FileType> getType();
void setType( String value );
void setType( FileType value );
No comments:
Post a Comment