Package tvbrowser.extras.favoritesplugin.dlgs

Examples of tvbrowser.extras.favoritesplugin.dlgs.EditFavoriteDialog


          title = "";
        }
        AdvancedFavorite favorite = new AdvancedFavorite(title);
        Window parent = UiUtilities
            .getLastModalChildOf(MainFrame.getInstance());
        EditFavoriteDialog dlg = new EditFavoriteDialog(parent, favorite);
        UiUtilities.centerAndShow(dlg);
        if (dlg.getOkWasPressed()) {
          FavoriteTreeModel.getInstance().addFavorite(favorite, mParentNode);
          FavoritesPlugin.getInstance().updateRootNode(true);

          if(ManageFavoritesDialog.getInstance() != null) {
            ManageFavoritesDialog.getInstance().addFavorite(favorite, false);
View Full Code Here



  public void editFavorite(Favorite favorite) {

    Window parent = UiUtilities.getLastModalChildOf(MainFrame.getInstance());
    EditFavoriteDialog dlg = new EditFavoriteDialog(parent, favorite);
    UiUtilities.centerAndShow(dlg);
    if (dlg.getOkWasPressed()) {
      updateRootNode(true);
    }
  }
View Full Code Here

      String topic) {
    Window parent = UiUtilities.getLastModalChildOf(MainFrame.getInstance());
    Favorite favorite;
    if (isUsingExpertMode()) {
      favorite = new AdvancedFavorite(program != null ? program.getTitle() : "");
      EditFavoriteDialog dlg = new EditFavoriteDialog(parent, favorite);
      UiUtilities.centerAndShow(dlg);
      if (!dlg.getOkWasPressed()) {
        favorite = null;
      }

    } else {
      WizardHandler handler;
View Full Code Here

TOP

Related Classes of tvbrowser.extras.favoritesplugin.dlgs.EditFavoriteDialog

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.