Package org.eclipse.jface.preference

Examples of org.eclipse.jface.preference.PreferenceStore


    public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
      // No-op
    }

    public void refresh() {
      store = new PreferenceStore();
      performOk(store);
      fViewer.refresh(true);
    }
View Full Code Here


      fViewer.setContentProvider(this);
      fViewer.setLabelProvider(new ResLabelProvider());
      fViewer.setInput(PREVIEW_FILESYSTEM_ROOT);
      fViewer.expandAll();
      fHelper = new DecorationHelper(new PreferenceStore());
    }
View Full Code Here

      fViewer.expandAll();
      fHelper = new DecorationHelper(new PreferenceStore());
    }

    private void reloadDecorationHelper() {
      store = new PreferenceStore();
      if (tabsInitialized)
        performOk(store);

      fHelper = new DecorationHelper(store);
    }
View Full Code Here

  public OverlayPreferenceStore(IPreferenceStore parent, OverlayKey overlayKeys[])
  {
    fParent = parent;
    fOverlayKeys = overlayKeys;
    fStore = new PreferenceStore();
  }
View Full Code Here

   * )
   */
  public void start(BundleContext context) throws Exception {
    super.start(context);
    CFPluginImages.initCFPluginImages();
    this.propertyStore = new PreferenceStore(SnippetPlugin.getDefault().getStateLocation().toString()
        + "/properties.ini");
    fPreferenceManager = new CFMLPreferenceManager();
    try {
      fPropertyManager = new CFMLPropertyManager();
    } catch (Exception e) {
View Full Code Here

     * CFMLPlugin.getDefault().getStateLocation().toString() +
     * "/properties.ini" );
     */

    PropertyConfigurator.configure(CFMLPlugin.getDefault().getBundle().getEntry("/lib/log4j.properties"));
    this.propertyStore = new PreferenceStore(CFMLPlugin.getDefault().getStateLocation().toString()
        + "/properties.ini");

    String defaultSnippetPath = CFMLPlugin.getDefault().getStateLocation().toString() + "/snippets";

    File f = new File(defaultSnippetPath);
View Full Code Here

   */
  public void start(BundleContext context) throws Exception {
    super.start(context);
    //    startup the image registry
   
    propertyStore = new PreferenceStore(
        FuseboxPlugin.getDefault().getStateLocation().toString()
        + "/properties.ini"
    );
   
    try {
View Full Code Here

  protected PropertyListener fPropertyListener;
 
  public OverlayPreferenceStore(IPreferenceStore parent, List<OverlayKey> overlayKeys) {
    fParent = parent;
    fOverlayKeys = ArrayUtil.createFrom(overlayKeys, OverlayKey.class) ;
    fStore = new PreferenceStore();
  }
View Full Code Here

    assertEquals("", jdtPreferenceStore.getString(JDT_IMPORT_PROPERTY));
  }

  @Before
  public void setUp() throws Exception {
    swtbotPreferenceStore = new PreferenceStore();
    jdtPreferenceStore = new PreferenceStore();
    initializer = new PreferenceInitializer(swtbotPreferenceStore, jdtPreferenceStore);
  }
View Full Code Here

    public static Class<?> restoredSystem;
    private PreferenceStore preferences;

    public PreferenceStore getPreferences() {
        if (this.preferences == null) {
            this.preferences = new PreferenceStore();
        }
        return this.preferences;
    }
View Full Code Here

TOP

Related Classes of org.eclipse.jface.preference.PreferenceStore

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.