View Full Version : Much inconvenient to encapsulate a new component when extending from one in ext lib
16 Mar 2012, 1:15 AM
1, No function list to choose and overriding. Which could be similar to "events" tab.
2, Cannot support coding in constructor "initComponent()"
16 Mar 2012, 7:16 AM
Create an override class:
1. Select your class then switch to code view.
2. Create overrdide.
3. Select override class
4. Overrode initComponent() and whatever method or field you want.
18 Mar 2012, 6:34 PM
But I'd like to use extending instead of overriding.
18 Mar 2012, 7:19 PM
I just realized with that limitation in designer.
You should be able to drop a custom component in the same project directly in the view node and an extension should be created, now that confuses designer.
Override for the moment is enough for me but definitely I will need an extend mechanism in the future.
18 Mar 2012, 10:36 PM
Correct. I am using "Override" now. It provides us a chance to write a new file. It's not read only.
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.