source: ComponentRegistry/trunk/ComponentBrowserGui/src/main/flex/clarin/cmdi/componentregistry/browser/BrowserSelectionEvent.as @ 117

Last change on this file since 117 was 117, checked in by patdui, 14 years ago
  • completely reworked package structure
  • added styleing stuff in css files
File size: 765 bytes
Line 
1package clarin.cmdi.componentregistry.browser {
2        import clarin.cmdi.componentregistry.common.ItemDescription;
3
4        import flash.events.Event;
5
6        public class BrowserSelectionEvent extends Event {
7
8                public static const BROWSER_ITEM_SELECTED:String = "browserItemSelected";
9                private var _itemDescription:ItemDescription;
10
11                public function BrowserSelectionEvent(itemDescription:ItemDescription, bubbles:Boolean = false, cancelable:Boolean = false) {
12                        super(BROWSER_ITEM_SELECTED, bubbles, cancelable);
13                        _itemDescription = itemDescription;
14                }
15
16                public function get itemDescription():ItemDescription {
17                        return _itemDescription;
18                }
19
20                override public function clone():Event {
21                        return new BrowserSelectionEvent(_itemDescription, bubbles, cancelable);
22                }
23
24
25
26        }
27}
Note: See TracBrowser for help on using the repository browser.