Changeset 265
- Timestamp:
- 03/22/10 10:36:55 (14 years ago)
- Location:
- ComponentRegistry/trunk/ComponentBrowserGui/src/main/flex/clarin/cmdi/componentregistry
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
ComponentRegistry/trunk/ComponentBrowserGui/src/main/flex/clarin/cmdi/componentregistry/browser/XMLBrowser.as
r264 r265 7 7 import clarin.cmdi.componentregistry.editor.model.CMDComponentElement; 8 8 import clarin.cmdi.componentregistry.editor.model.CMDSpec; 9 9 10 10 import flash.display.DisplayObject; 11 11 import flash.utils.getTimer; 12 12 13 13 import mx.collections.ArrayCollection; 14 14 import mx.collections.XMLListCollection; … … 17 17 import mx.controls.ComboBox; 18 18 import mx.controls.HRule; 19 import mx.controls.Label; 19 20 import mx.controls.Text; 21 import mx.core.ClassFactory; 20 22 import mx.core.UIComponent; 21 23 import mx.managers.IFocusManagerComponent; … … 154 156 public static function createValueSchemeComboBox():ComboBox { 155 157 var result:ComboBox = new ComboBox(); 158 result.itemRenderer=new ClassFactory(Label); 156 159 result.labelFunction = function(item:Object):String { 157 160 var xmlItem:XML = item as XML; -
ComponentRegistry/trunk/ComponentBrowserGui/src/main/flex/clarin/cmdi/componentregistry/editor/ValueSchemeInput.as
r264 r265 33 33 textField.editable = false; 34 34 enumeration = createEnumeration(); 35 enumeration.width = 300; 35 36 } 36 37
Note: See TracChangeset
for help on using the changeset viewer.