Curve Property Editor

Hello all,

Does anybody know how to add an editable property to a component that represents a curve and it’s editable as such?

Anybody knows anything about this? Any help would be greatly appreciated!