Example #1
0
 public void New_href(boolean focus) {
   Xog_tab_itm tab = tab_mgr.Active_tab();
   if (tab == Xog_tab_itm_.Null) return;
   String link = tab.Html_itm().Html_selected_get_href_or_text();
   if (String_.Len_eq_0(link)) {
     tab_mgr.Win().Usr_dlg().Prog_many("", "", "no link or text selected");
     return;
   }
   tab_mgr.Tabs_new_dflt(true);
   tab_mgr.Win().Page__navigate_by_url_bar(link);
 }
Example #2
0
 public void New_dflt(boolean focus) {
   tab_mgr.Tabs_new_dflt(focus);
 }