Changeset 1573
- Timestamp:
- 10/04/11 09:07:29 (13 years ago)
- Location:
- ComponentRegistry/trunk/ComponentBrowserGui
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
ComponentRegistry/trunk/ComponentBrowserGui/pom.xml
r1572 r1573 82 82 <generateHtmlWrapper>true</generateHtmlWrapper> 83 83 <targetPlayer>10.0.0</targetPlayer> 84 <definesDeclaration> 85 <property> 86 <name>APPINFO::version</name> 87 <value>"${ComponentBrowserGui.version}"</value> 88 </property> 89 </definesDeclaration> 84 90 </configuration> 85 91 <dependencies> -
ComponentRegistry/trunk/ComponentBrowserGui/src/main/flex/main.mxml
r1571 r1573 9 9 <mx:Script> 10 10 <![CDATA[ 11 import clarin.cmdi.componentregistry.common.AboutPopup; 11 12 import clarin.cmdi.componentregistry.common.Credentials; 12 13 import clarin.cmdi.componentregistry.services.Config; … … 51 52 } 52 53 53 private function showAbout(evt:ContextMenuEvent):void{ 54 aboutWindow.x = appPanel.width/2 - aboutWindow.width/2; 55 aboutWindow.y = appPanel.height/2 - aboutWindow.height/2; 56 aboutWindow.visible = true; 57 } 58 59 private function closeAbout():void{ 60 aboutWindow.visible = false; 54 private function showAbout(event:ContextMenuEvent):void{ 55 var aboutBox:AboutPopup = new AboutPopup(); 56 aboutBox.x = appPanel.width/2 - aboutBox.width/2; 57 aboutBox.y = appPanel.height/2 - aboutBox.height/2; 58 PopUpManager.addPopUp(aboutBox, event.mouseTarget); 61 59 } 62 60 … … 108 106 </mx:VBox> 109 107 </mx:Panel> 110 111 <mx:TitleWindow112 id="aboutWindow"113 title="About the Clarin Component Registry"114 visible="false">115 <mx:Text>116 <mx:htmlText>117 <![CDATA[Description...118 119 <a href="http://www.clarin.eu/cmdi">www.clarin.eu/cmdi</a>120 121 Written by: Patrick Duin and Twan Goosen122 Contact: <a href="mailto:cmdi@clarin.eu">cmdi@clarin.eu</a>123 ]]>124 </mx:htmlText>125 </mx:Text>126 <mx:Button label="close" click="closeAbout()" />127 </mx:TitleWindow>128 108 129 109 </mx:Application>
Note: See TracChangeset
for help on using the changeset viewer.