1. #1
    Sencha User
    Join Date
    Mar 2010
    Posts
    93
    Vote Rating
    0
    ExtKD is on a distinguished road

      0  

    Default How to get a Component to root level besides editing .xds by hand?

    How to get a Component to root level besides editing .xds by hand?


    n/a

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,399
    Vote Rating
    128
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    There is a new option coming similar to what you are proposing.

    You will right click on a nested component and a menu item "Promote to Class" will appear.

    You will then name your new class with an appropriate jsClass and userXtype.

    The new class will show up as top level node, and the component which you just pruned this node from will then begin using the new class by xtype.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  3. #3
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,399
    Vote Rating
    128
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Quote Originally Posted by ExtKD View Post
    Sounds good.

    Question: If I then delete the the other root-component where the new one it came from, the xtype reference is cleared as well and it is like it would have been at root ever? That's what I would need to be able to extract a sub-node as a new project without any 'left-overs' in it.
    how about an explicit example, not sure I understand what you mean
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  4. #4
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,399
    Vote Rating
    128
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    This isn't part of the current plan.

    One thing we'd like to add is the ability to easily export/import components created within the Designer to share across projects and place in yours (or another users) Toolbox.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

Thread Participants: 1