package desktop;

import org.wings.SIcon;

public class NewsFeedTool
    implements DesktopTool {

    private SIcon icon;
    private String text = "";

    @Override
    public DesktopItem getItem() {
        return new NewsFeedItem();
    }

    @Override
    public DesktopItem getExistingItem(String name) {
        return new NewsFeedItem(name);
    }

    @Override
    public String getText() {
        return text;
    }

    @Override
    public void setText(String text) {
        this.text = text;
    }

    @Override
    public SIcon getIcon() {
        return icon;
    }

    @Override
    public void setIcon(SIcon icon) {
        this.icon = icon;
    }
}
