Package org.eclipse.jface.resource

Examples of org.eclipse.jface.resource.LocalResourceManager


        class WorkingSetLabelProvider extends LabelProvider {
            private ResourceManager images;

            public WorkingSetLabelProvider() {
                images = new LocalResourceManager(JFaceResources.getResources());
            }

            public void dispose() {
                images.dispose();
View Full Code Here


        class WorkingSetLabelProvider extends LabelProvider {
            private ResourceManager images;

            public WorkingSetLabelProvider() {
                images = new LocalResourceManager(JFaceResources.getResources());
            }
View Full Code Here

  public void init(IEditorSite site, IEditorInput input) {
    Assert.isTrue(input instanceof FeedViewInput);

    fEditorSite = site;
    setSite(site);
    fResourceManager = new LocalResourceManager(JFaceResources.getResources());
    fNewsService = Controller.getDefault().getNewsService();

    /* Load Settings */
    fPreferences = Owl.getPreferenceService().getGlobalScope();
    loadSettings((FeedViewInput) input);
View Full Code Here

  public FolderChooser(Composite parent, IFolder initial, List<IFolder> excludes, int style) {
    super(parent, style);
    fParent = parent;
    fSelectedFolder = initial;
    fExcludes = excludes;
    fResources = new LocalResourceManager(JFaceResources.getResources(), parent);

    initComponents();
    addDisposeListener(this);
  }
View Full Code Here

  /**
   * @param configurer
   */
  public ApplicationWorkbenchWindowAdvisor(IWorkbenchWindowConfigurer configurer) {
    super(configurer);
    fResources = new LocalResourceManager(JFaceResources.getResources());
  }
View Full Code Here

    }
  }

  /** Leave for reflection */
  public ManageLabelsPreferencePage() {
    fResources = new LocalResourceManager(JFaceResources.getResources());
  }
View Full Code Here

   *
   * @param viewer
   */
  public NewsTableLabelProvider(StructuredViewer viewer) {
    fViewer = viewer;
    fResources = new LocalResourceManager(JFaceResources.getResources());
    createResources();
  }
View Full Code Here

    private LocalResourceManager fResources;

    NewBookMarkWizardPage(String pageName) {
      super(pageName, pageName, OwlUI.getImageDescriptor("icons/obj16/bkmrk_wiz.gif"));
      setMessage("Create a new bookmark to a feed of your choice.");
      fResources = new LocalResourceManager(JFaceResources.getResources());
    }
View Full Code Here

    super(parentShell);
    fTitle = title;
    fDialogMessage = dialogMessage;
    fDialogHeaderMessage = dialogHeaderMessage;
    fConfirmPrefKey = confirmPrefKey;
    fResources = new LocalResourceManager(JFaceResources.getResources());
    fPreferences = Owl.getPreferenceService().getGlobalScope();
  }
View Full Code Here

  private IPreferenceScope fGlobalScope;
  private int fVisibleNewsCount;

  NotificationPopup(int visibleNewsCount) {
    super(new Shell(PlatformUI.getWorkbench().getDisplay()), PopupDialog.INFOPOPUP_SHELLSTYLE | SWT.ON_TOP, false, false, false, false, null, null);
    fResources = new LocalResourceManager(JFaceResources.getResources());
    fMapFeedToBookmark = new HashMap<FeedLinkReference, IBookMark>();
    fBoldTextFont = OwlUI.getThemeFont(OwlUI.NOTIFICATION_POPUP_FONT_ID, SWT.BOLD);
    fGlobalScope = Owl.getPreferenceService().getGlobalScope();
    fVisibleNewsCount = (visibleNewsCount > MAX_NEWS) ? MAX_NEWS : visibleNewsCount;
    createAutoCloser();
View Full Code Here

TOP

Related Classes of org.eclipse.jface.resource.LocalResourceManager

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.