Package org.eclipse.jface.resource

Examples of org.eclipse.jface.resource.LocalResourceManager


    private FolderChooser fFolderChooser;

    NewFolderDialog(Shell shell, IFolder folder) {
      super(shell);
      fFolder = folder;
      fResources = new LocalResourceManager(JFaceResources.getResources());
    }
View Full Code Here


   */
  public void init(IEditorSite editorSite) {
    fEditorSite = editorSite;
    fPreferences = Owl.getPreferenceService().getGlobalScope();
    fNewsStateTracker = new MarkReadTracker(fPreferences.getInteger(DefaultPreferences.MARK_READ_IN_MILLIS), false);
    fResources = new LocalResourceManager(JFaceResources.getResources());
  }
View Full Code Here

   * @param selectedSet
   */
  public ManageSetsDialog(Shell parentShell, IFolder selectedSet) {
    super(parentShell);
    fSelectedSet = selectedSet;
    fResources = new LocalResourceManager(JFaceResources.getResources());
    fCacheService = Controller.getDefault().getCacheService();
  }
View Full Code Here

   * opened.
   */
  public SearchNewsDialog(Shell parentShell, List<ISearchCondition> conditions, boolean matchAllConditions, boolean runSearch) {
    super(parentShell);

    fResources = new LocalResourceManager(JFaceResources.getResources());
    fDialogSettings = Activator.getDefault().getDialogSettings();
    fFirstTimeOpen = (fDialogSettings.getSection(SETTINGS_SECTION) == null);
    fModelSearch = Owl.getPersistenceService().getModelSearch();
    fHandCursor = parentShell.getDisplay().getSystemCursor(SWT.CURSOR_HAND);
    fInitialConditions = conditions;
View Full Code Here

   * @param conditions The initial conditions this List is showing.
   */
  public SearchConditionList(Composite parent, int style, List<ISearchCondition> conditions) {
    super(parent, style | SWT.V_SCROLL);
    fItems = new ArrayList<SearchConditionItem>();
    fResources = new LocalResourceManager(JFaceResources.getResources(), this);

    initResources();
    initComponents(conditions);
  }
View Full Code Here

   * @param owner
   * @param path
   * @return Image
   */
  public static Image getImage(Control owner, String path) {
    LocalResourceManager manager = new LocalResourceManager(JFaceResources.getResources(), owner);
    return getImage(manager, path);
  }
View Full Code Here

  private int fDisplayOffset;
  private boolean fMouseOverNotifier;

  NotificationPopup(int visibleItemCount) {
    super(new Shell(PlatformUI.getWorkbench().getDisplay()), PopupDialog.INFOPOPUP_SHELLSTYLE | SWT.ON_TOP, false, false, false, false, null, null);
    fResources = new LocalResourceManager(JFaceResources.getResources());
    fBoldTextFont = OwlUI.getThemeFont(OwlUI.NOTIFICATION_POPUP_FONT_ID, SWT.BOLD);
    fNormalTextFont = OwlUI.getThemeFont(OwlUI.NOTIFICATION_POPUP_FONT_ID, SWT.NORMAL);
    fGlobalScope = Owl.getPreferenceService().getGlobalScope();

    fItemLimit = fGlobalScope.getInteger(DefaultPreferences.LIMIT_NOTIFICATION_SIZE);
View Full Code Here

   */
  public SearchNewsDialog(Shell parentShell, List<ISearchCondition> initialConditions, boolean matchAllConditions, boolean runSearch) {
    super(parentShell);

    fPreferences = Owl.getPreferenceService().getGlobalScope();
    fResources = new LocalResourceManager(JFaceResources.getResources());
    fDialogSettings = Activator.getDefault().getDialogSettings();
    fFirstTimeOpen = (fDialogSettings.getSection(SETTINGS_SECTION) == null);
    fIsPreviewVisible = fPreferences.getBoolean(DefaultPreferences.SEARCH_DIALOG_PREVIEW_VISIBLE);
    fCachedWeights = fPreferences.getIntegers(PREF_SASH_WEIGHTS);
    fCachedColumnOrder = fPreferences.getIntegers(PREF_COL_ORDER);
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

    fParent = parent;
    fSelectedFolder = initial;
    fExcludes = excludes;
    fExpandable = expandable;
    fItemHeight = itemHeight;
    fResources = new LocalResourceManager(JFaceResources.getResources(), parent);

    initComponents();
    addDisposeListener(this);
  }
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.