SonyWWS / ATF

Authoring Tools Framework (ATF) is a set of C#/.NET components for making tools on Windows. ATF has been in continuous development in Sony Computer Entertainment's (SCE) Worldwide Studios central tools group since early 2005. ATF has been used by most SCE first party studios to make many custom tools such as Naughty Dog’s level editor and shader editor for The Last of Us, Guerrilla Games’ sequence editor for Killzone games (including the Killzone: Shadow Fall PS4 launch title), an animation blending tool at Santa Monica Studio, a level editor at Bend Studio, a visual state machine editor for Quantic Dream, sound editing tools, and many others.
Apache License 2.0
1.89k stars 262 forks source link

Redirect PropertyGrid data #63

Closed nrvllrgrs closed 7 years ago

nrvllrgrs commented 7 years ago

Is there a way to redirect the contents of the property grid to a different node? I have a tree editor and a graph editor. Each tree node has an associated graph node. When the user selects the graph node, I would like the property grid to be updated as if the tree node were selected (but not actually select the tree node).

abeckus commented 7 years ago

one way is to implement IPropertyEditingContext. for reference look at class SelectionPropertyEditingContext

Alan

nrvllrgrs commented 7 years ago

Do you have any more specifics? I'm looking but am not understanding.

abeckus commented 7 years ago

You need to understand the implementation of the IPropertyEditingContext. Look for all the IPropertyEditingContext implementation and see how it is being used. Property editing in ATF is bit complex so it requires more effort to understand it comparing to other parts of ATF.

Good luck. Alan