net.sourceforge.rssowl.controller.panel
Class ErrorPanel

java.lang.Object
  extended by net.sourceforge.rssowl.controller.panel.ErrorPanel

public class ErrorPanel
extends java.lang.Object

The error panel is shown inside a CTabItem whenever an exception was thrown while loading a newsfeed or after a failed import of an OPML file.

Version:
1.2.4
Author:
Benjamin Pasero

Field Summary
private  Display display
           
private  Composite errorHolderAll
           
private  Composite errorViewFormContent
           
(package private)  EventManager eventManager
           
(package private)  NewsfeedFactoryException exception
           
private  Composite parent
           
(package private)  GUI rssOwlGui
           
 
Constructor Summary
ErrorPanel(GUI rssOwlGui, Display display, EventManager eventManager, Composite parent, NewsfeedFactoryException exception)
          Instantiate a new ErrorPanel
 
Method Summary
 Composite getPanel()
          Get the Error Panel
private  void initComponents()
          Init all Components
private  void initPopupMenu()
          Initialize the Popup Menu
(package private)  void openFeedInBrowser()
          Open the URL from the opened CTabItem inside the browser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

display

private Display display

errorHolderAll

private Composite errorHolderAll

errorViewFormContent

private Composite errorViewFormContent

parent

private Composite parent

eventManager

EventManager eventManager

exception

NewsfeedFactoryException exception

rssOwlGui

GUI rssOwlGui
Constructor Detail

ErrorPanel

public ErrorPanel(GUI rssOwlGui,
                  Display display,
                  EventManager eventManager,
                  Composite parent,
                  NewsfeedFactoryException exception)
Instantiate a new ErrorPanel

Parameters:
rssOwlGui - The maincontroller
display - The display
eventManager - The eventmanager
parent - The parent CTabFolder
exception - The exception to show in the panel
Method Detail

getPanel

public Composite getPanel()
Get the Error Panel

Returns:
Composite The error panel

initComponents

private void initComponents()
Init all Components


initPopupMenu

private void initPopupMenu()
Initialize the Popup Menu


openFeedInBrowser

void openFeedInBrowser()
Open the URL from the opened CTabItem inside the browser



RSSOwl - RSS / RDF / Atom Newsreader

SourceForge.net Logo