Question

I want to create hyperlink using Tabris UI framework. I tried with following code but sucsess. It works on browser (RAP). Android and iOS don't show anything.

Link link = new Link( parent, SWT.BORDER );
    String message = "Click on this hyperlink text <a href=\"http://www.eclipse.com/\">Eclipse</a>";
    link.setText( message );
    link.addSelectionListener( new SelectionAdapter() {
        @Override
        public void widgetSelected(SelectionEvent e) {
            System.out.println( "You have selected: " + e.text );
            getUI().getPageOperator().openPage( TestPage.class.getName() );
        }
    } );
Was it helpful?

Solution

No, link is not implemented right now.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top