Package org.jampa.gui.components.osd

Examples of org.jampa.gui.components.osd.JampaOSD


    if (!isAplicationStopping()) {
      if (getPreferenceStore().getBoolean(PreferenceConstants.OSD_SHOW)) {
        if (!getPreferenceStore().getBoolean(PreferenceConstants.OSD_ONLY_SHOW_MINIMIZED) ||
            (getPreferenceStore().getBoolean(PreferenceConstants.OSD_ONLY_SHOW_MINIMIZED) &&
                getTrayController().isApplicationMinimized())) {
          new JampaOSD(item.getOSDMessage()).start();
        }
      }
    }
  }
View Full Code Here


    if (!isAplicationStopping()) {
      if ((getPreferenceStore().getBoolean(PreferenceConstants.OSD_SHOW_ON_PODCAST_UPDATE)) &&
          (newItemsCount > 0)) {
        String osdMessage = Messages.getString("Controller.NewPodcastItemsTitle") + "\n" +
        String.format(Messages.getString("Controller.NewPodcastItems"), newItemsCount);
        new JampaOSD(osdMessage).start();
      }
      if (newItemsCount >= 0) {
        getStatusLineManager().setMessage(Messages.getString("Controller.NewPodcastItemsTitle") + " " + String.format(Messages.getString("Controller.NewPodcastItems"), newItemsCount));
      }
    }
View Full Code Here

 
  private void updateDisplayOnPodcastDowloadEnd(IAudioItem item) {
    if (!isAplicationStopping()) {
      if (getPreferenceStore().getBoolean(PreferenceConstants.OSD_SHOW_ON_PODCAST_DOWNLOAD_END)) {
        String osdMessage = Messages.getString("Controller.DownloadEnd") + "\n" + item.getPropertiesList().get(PodcastItem.PODCAST_NAME);
        new JampaOSD(osdMessage).start();
      }
     
      getStatusLineManager().setMessage(Messages.getString("Controller.DownloadEnd") + " " + item.getPropertiesList().get(PodcastItem.PODCAST_NAME));
    }
  }
View Full Code Here

TOP

Related Classes of org.jampa.gui.components.osd.JampaOSD

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.