Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • SaphuA 124 posts 87 karma points
    Nov 05, 2009 @ 13:18
    SaphuA
    0

    Section nodes

    Hi there,

    So, I've made a new section with one of the tutorials floating around. This works quite well so far.

    What I would like to do now is support the right-click commands used on all other sections. Mainly the 'create' command on the root node, but I would also like rename and delete on all subnodes.

    Is there any documentation on this?

    Thanks!

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Nov 05, 2009 @ 14:02
    Dirk De Grave
    0

    Hi,

    Have you read this wiki page? Especially the part about the CreateRootNodeActions and the CreateAllowedActions methods?

     

    Hope this helps.

    Regards,

    /Dirk

  • SaphuA 124 posts 87 karma points
    Nov 05, 2009 @ 14:14
    SaphuA
    0

    Yes, sorry, I forgot to mention this. I did read the article, but unfortunatly it wasn't much help:

    I've added the ActionArchive action to my root node, but it doesn't get displayed. I'm pretty sure I've done everything right though.

    I would also like to override the Create action, but can't find how to do this. (IAction only has get properties which makes it even harder).

    The article is missing information on how to add actions to subnodes.

Please Sign in or register to post replies

Write your reply to:

Draft