source: ComponentRegistry/branches/ComponentRegistry-1.12.0/ComponentBrowserGui/src/main/flex/clarin/cmdi/componentregistry/editor/Editor.mxml @ 1988

Last change on this file since 1988 was 1988, checked in by twagoo, 12 years ago

Created branch for ComponentRegistry-1.12.0
Bumped trunk to 1.13.0

File size: 1.9 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml"
3                   xmlns:browser="clarin.cmdi.componentregistry.browser.*"
4                   xmlns:common="clarin.cmdi.componentregistry.common.*"
5                   xmlns:editor="clarin.cmdi.componentregistry.editor.*"
6                   width="100%"
7                   height="100%"
8                   label="Editor"
9                   creationComplete="init()"
10                   implements="clarin.cmdi.componentregistry.common.components.RegistryView"
11                   >
12       
13        <mx:Script source="EditorAS.as"/>
14       
15        <mx:VBox width="100%" height="100%">
16               
17                <mx:VBox width="100%" minHeight="30">
18                        <editor:EditorButtonBar id="buttonBar"
19                                                                        width="100%"
20                                                                        height="25"
21                                                                        saveClick="saveSpec(true, UploadService.UPDATE)"
22                                                                        saveAsNewClick="saveSpec(true, UploadService.NEW)"
23                                                                        publishClick="publishSpec()"/>
24                        <mx:Text id="errorMessageField"
25                                         text="{uploadService.message}"
26                                         visible='{errorMessageField.text != ""}'
27                                         includeInLayout='{errorMessageField.text != ""}'/>
28                        <mx:ProgressBar id="uploadProgress"
29                                                        label=""
30                                                        mode="manual"
31                                                        visible="false"
32                                                        includeInLayout="false"/>
33                </mx:VBox>
34               
35                <mx:VDividedBox width="100%" height="100%" verticalScrollPolicy="off">
36                        <mx:VBox width="100%" height="60%">
37                                <editor:CMDComponentXMLEditor id="xmlEditor"
38                                                                                          cmdSpec="{cmdSpec}"
39                                                                                          editorChange="handleEditorChange(event)"
40                                                                                          width="100%"
41                                                                                          />
42                        </mx:VBox>
43                       
44                        <mx:VBox styleName="borderStyles" width="100%" height="40%">
45                                <mx:Label text="Drag existing components onto edit canvas"/>
46                                <browser:BrowserOverviewList id="componentsPaletteOverview"
47                                                                                         width="100%" height="90%"
48                                                                                         browserDataProvider="{componentsSrv.itemDescriptions}"
49                                                                                         browserColumns="{browserColumns.getComponentColumns()}"
50                                                                                         creationComplete="initPaletteOverview();"/>
51                        </mx:VBox>
52                       
53                </mx:VDividedBox>
54        </mx:VBox>
55       
56</mx:Canvas>
Note: See TracBrowser for help on using the repository browser.