Package org.eclipse.jface.resource

Examples of org.eclipse.jface.resource.LocalResourceManager


  private Button fMoveDownButton;
  private Button fMoveUpButton;

  /** Leave for reflection */
  public ManageLabelsPreferencePage() {
    fResources = new LocalResourceManager(JFaceResources.getResources());
    setImageDescriptor(OwlUI.getImageDescriptor("icons/elcl16/labels.gif")); //$NON-NLS-1$
  }
View Full Code Here


   * @param parentShell
   * @param updates
   */
  public UpdateDialog(Shell parentShell, IInstallFeatureOperation[] updates) {
    super(parentShell);
    fResources = new LocalResourceManager(JFaceResources.getResources());
    fPreferences = Owl.getPreferenceService().getGlobalScope();
    fUpdates = updates;
    fCanUpdate = canUpdate();
  }
View Full Code Here

  /**
   * @param parentShell
   */
  public CleanUpReminderDialog(Shell parentShell) {
    super(parentShell);
    fResources = new LocalResourceManager(JFaceResources.getResources());
  }
View Full Code Here

    for (final SearchEngine engine : fgSearchEngines) {
      Button button = new Button(contentMargin, SWT.RADIO);
      button.setText(engine.getName());
      if (StringUtils.isSet(engine.getIconPath())) {
        LocalResourceManager resources = new LocalResourceManager(JFaceResources.getResources(), button);
        button.setImage(OwlUI.getImage(resources, OwlUI.getImageDescriptor(engine.getPluginId(), engine.getIconPath())));
      }
      button.addSelectionListener(new SelectionAdapter() {
        @Override
        public void widgetSelected(SelectionEvent e) {
View Full Code Here

  /**
   * @param parentShell
   */
  public ArchiveNewsDialog(Shell parentShell) {
    super(parentShell);
    fResources = new LocalResourceManager(JFaceResources.getResources());
  }
View Full Code Here

    Assert.isTrue(input instanceof FeedViewInput);

    fEditorSite = site;
    fFeedViewSite = new FeedViewSite(this, site);
    setSite(site);
    fResourceManager = new LocalResourceManager(JFaceResources.getResources());

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

View Full Code Here

  /** ID of this Preference Page */
  public static final String ID = "org.eclipse.ui.preferencePages.Workbench"; //$NON-NLS-1$

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

  /** Leave for reflection */
  public FeedsPreferencePage() {
    fGlobalScope = Owl.getPreferenceService().getGlobalScope();
    fReloadService = Controller.getDefault().getReloadService();
    fResources = new LocalResourceManager(JFaceResources.getResources());
    setImageDescriptor(OwlUI.BOOKMARK);
  }
View Full Code Here

   * @param entities
   */
  public EntityPropertyDialog(Shell parentShell, List<IEntity> entities) {
    super(parentShell);
    fEntities = entities;
    fResources = new LocalResourceManager(JFaceResources.getResources());
  }
View Full Code Here

   */
  public NewsFilterDialog(Shell parentShell, ISearchFilter filter) {
    super(parentShell);

    fEditedFilter = filter;
    fResources = new LocalResourceManager(JFaceResources.getResources());
  }
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.