Results 1 to 3 of 3

Thread: Re-use components and userXType

  1. #1
    Sencha User
    Join Date
    Nov 2009
    Posts
    8
    Vote Rating
    0
      0  

    Default Re-use components and userXType

    Hi,

    Ext Designer looks really greats, and will certainly increase our productivity in the near future : Thanks a lot !

    Before that, there are a few things I would like to know :

    When I create a component with Ext Designer, I can set a "userXType" property, which does not appear in the generated js sources.

    Also, I would like to re-use the components I create within the Designer, and exchange components between projects.

    Hence the following questions :

    1) What is userXType ?
    2) Can I export/import components from a project to another ?
    3) Can I add my own components in the toolbar ?
    4) Can I use custom components by just setting the xtype ?

    Extra question :

    5) Is a command line tool to export a project available or planned ?

    Thanks,

    Christophe de Vienne

  2. #2
    Sencha User aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,488
    Vote Rating
    147
      0  

    Default

    Thanks for the great set of questions.

    Quote Originally Posted by cdevienne View Post
    1) What is userXType ?
    userXType is the defined xtype on the implementation calss that you will eventually use. When you export a project two classes will be created. The designer will create your .ui.js class with all of your ui specific information and it will also create an implementation class (.js). Your user xtype will be registered with the implementation class.

    Quote Originally Posted by cdevienne View Post
    2) Can I export/import components from a project to another ?
    3) Can I add my own components in the toolbar ?
    These two are one in the same in our eyes and yes this is a planned feature that will be coming in a future release.

    Quote Originally Posted by cdevienne View Post
    4) Can I use custom components by just setting the xtype ?
    This is another feature that is slated for a future release. We want users to be able to actually use and configure custom components (Question 2 & 3) but we also want users to be able to drag out a generic "Component Class" which they can simply set the xtype. This generic class would not have a precanned set of component configurations like the other components do but you could use *any* class, even ones that aren't included in the designer and aren't a user extension supported in the designer.

    Quote Originally Posted by cdevienne View Post
    5) Is a command line tool to export a project available or planned ?
    This is something we've thought about and depending on demand might be something we do depending on the demand for such a tool.
    Aaron Conran
    @aconran

  3. #3
    Sencha Premium Member
    Join Date
    Mar 2010
    Location
    The Netherlands
    Posts
    77
    Vote Rating
    1
      0  

    Default

    @Aaron,

    Are the meantioned features (2,3,4) already available within the Ext Designer 1.2 version? I mean can I just import a custom created class (javascript) and re-use that class within Ext Designer? If yes is there also integration with svn?

    Thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •