| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| |
| --> |
| <mx:Application xmlns:control="com.adobe.ac.pmd.control.*" |
| xmlns:local="*" |
| xmlns:mx="http://www.adobe.com/2006/mxml" |
| xmlns:services="com.adobe.ac.pmd.services.*" |
| xmlns:view="com.adobe.ac.pmd.view.*" |
| styleName="flexUnitApplication" |
| horizontalScrollPolicy="off" |
| layout="vertical" |
| minHeight="800" |
| minWidth="1000" |
| verticalScrollPolicy="off" |
| horizontalAlign="center" |
| verticalAlign="top" |
| xmlns:source="com.adobe.ac.pmd.view.source.*"> |
| |
| <mx:Panel width="100%" |
| height="100%" |
| styleName="mainPanel" |
| > |
| |
| <mx:HBox width="100%" |
| horizontalGap="0" |
| paddingRight="10" |
| verticalAlign="bottom" |
| > |
| |
| <view:Title styleName="panelTitleStyle" |
| text="PMD Violations viewer" |
| /> |
| |
| <view:Title styleName="panelTitleSubStyle" |
| text="powered by Adobe Technical Services" |
| buttonMode="true" |
| click="navigateToURL( new URLRequest( 'http://www.adobe.com/consulting/' ) )" |
| mouseChildren="false" |
| useHandCursor="true" |
| /> |
| |
| <mx:Spacer width="100%" |
| /> |
| |
| <view:Title styleName="panelTitleSubStyle" |
| text="v{ Version.BUILD_NUMBER } built on { Version.BUILD_DATE } at { Version.BUILD_TIME}" |
| /> |
| |
| </mx:HBox> |
| |
| <mx:HRule width="100%" |
| styleName="flexUnitHRule" |
| /> |
| |
| <mx:ViewStack id="viewStack" |
| width="100%" |
| height="100%" |
| > |
| |
| <view:UploadView id="uploadView" |
| violationsLoaded="viewStack.selectedIndex = 1" |
| /> |
| |
| <view:ResultsView results="{ uploadView.model.violations }" |
| /> |
| |
| </mx:ViewStack> |
| |
| </mx:Panel> |
| |
| </mx:Application> |