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 How to use sapphire databind function with customized SWT UI?, by Hongyu Jiang

Title: Eclipse Community Forums
Subject: How to use sapphire databind function with customized SWT UI? Author: Hongyu Jiang Date: Fri, 26 August 2016 08:04
How to use sapphire databind function with customized SWT UI? Razz
I made a customized SWT UI and I want to use sapphire databind function to support my UI.
What will I need to do? Maybe I need to make an interface extends Element?
First step mayb Like this

public interface UpgradeDataModel extends Element
{
ElementType TYPE = new ElementType( UpgradeDataModel.class );

@Type( base = Path.class )
@AbsolutePath
@ValidFileSystemResourceType( FileSystemResourceType.FOLDER )
@Required
ValueProperty PROP_SDK_LOCATION = new ValueProperty( TYPE, "SdkLocation" );
}

How to make it bind with my SWT classes?

Can anyone help me?

[ Reply ][ Quote ][ View Topic/Message ][ Unsubscribe from this forum ]

Back to the top