コード例 #1
0
  /**
   * Builds content component.
   *
   * @return main content component.
   */
  protected JComponent buildMainPanel() {
    if (starzPanel == null) {
      final StarzPreferences settings = model.getStarzPreferences();
      final ValueModel triggerChannel = getTriggerChannel();

      starzPanel = new StarzPanel(settings, triggerChannel);
    }

    return starzPanel;
  }
コード例 #2
0
 /**
  * Actual action.
  *
  * @param event original event object.
  */
 protected void doAction(ActionEvent event) {
   GlobalModel model = GlobalModel.SINGLETON;
   IFeed[] feeds = getFeeds();
   GlobalController.readFeeds(false, model.getSelectedGuide(), feeds);
 }