aaguerra / oryx-editor

Automatically exported from code.google.com/p/oryx-editor
0 stars 0 forks source link

How to develop custom property editor? #468

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.I want to add my own custom properties's editor (assignee's search)
2.How can I extend it?
3.How to write the event?

What is the expected output?
I want to open custom properties editor depend on the type of the property.

What do you see instead?

Please use labels and text to provide additional information.

Original issue reported on code.google.com by yuanqi...@gmail.com on 28 May 2011 at 4:21

GoogleCodeExporter commented 8 years ago
I don't understand all, but have you seen those tutorials ? : 
http://code.google.com/p/oryx-editor/w/list

Especially those one : 
http://code.google.com/p/oryx-editor/wiki/HowToCreateStencilSet
http://code.google.com/p/oryx-editor/wiki/HowToDevelopAnEditorPlugin

Original comment by florent....@gmail.com on 2 Jun 2011 at 9:17

GoogleCodeExporter commented 8 years ago
Hi,
For writing event (when the property value has changed), I suggest this : 
http://code.google.com/p/oryx-editor/issues/detail?id=472

Here is a hack that implement it : 
http://ffayolle.dyndns.org/oryx/hack_setter.js.zip

In this ZIP file, there is the JS File and an HOWTO explaining how to deploy it 
and how to use it.

I hope that the Oryx team would integrate something similar soon.

Original comment by florent....@gmail.com on 10 Jun 2011 at 8:45

GoogleCodeExporter commented 8 years ago
Hey,
you should think about extending the properties window.
Check for example the complex property
http://code.google.com/p/oryx-editor/source/browse/trunk/editor/client/scripts/P
lugins/propertywindow.js#645

Cheers,
Phil

Original comment by philipp....@student.hpi.uni-potsdam.de on 10 Jun 2011 at 10:32