source: ComponentRegistry/trunk/ComponentBrowserGui/src/main/flex/clarin/cmdi/componentregistry/common/components/HelpLabelButton.as @ 3368

Last change on this file since 3368 was 3368, checked in by g.georgovassilis@mpi.nl, 11 years ago

#269 BaseRemoteService? abstracts HTTP communication away for XML services, added facility for mocking services in unit tests, moved tests into src/test

File size: 534 bytes
Line 
1package clarin.cmdi.componentregistry.common.components
2{
3        import flash.events.MouseEvent;
4        import flash.net.URLRequest;
5        import flash.net.navigateToURL;
6       
7        public class HelpLabelButton extends LabelButton{
8               
9                public function HelpLabelButton(){
10                        super(goToDocumentationPage, "help");
11                        toolTip = "Click to navigate to component-registry page";
12                }
13               
14                private function goToDocumentationPage(event:MouseEvent):void{
15                        var request:URLRequest = new URLRequest("documentation.jsp");
16                        navigateToURL(request, "_blank");
17                }
18               
19        }
20}
Note: See TracBrowser for help on using the repository browser.