Examples of PreferenceStore


Examples of org.eclipse.jface.preference.PreferenceStore

   * )
   */
  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

Examples of org.eclipse.jface.preference.PreferenceStore

     * 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

Examples of org.eclipse.jface.preference.PreferenceStore

   */
  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

Examples of org.eclipse.jface.preference.PreferenceStore

  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

Examples of org.eclipse.jface.preference.PreferenceStore

    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

Examples of org.eclipse.jface.preference.PreferenceStore

    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

Examples of org.eclipse.jface.preference.PreferenceStore

    protected void tearDown() throws Exception {
        PyParserManager.setPyParserManager(null);
    }

    public void testIntegration() throws Exception {
        PreferenceStore preferences = new PreferenceStore();
        PyParserManager pyParserManager = PyParserManager.getPyParserManager(preferences);

        Document doc = new Document();
        PyEditStub pyEdit = new PyEditStub(doc, new PydevFileEditorInputStub());
        pyParserManager.attachParserTo(pyEdit);
View Full Code Here

Examples of org.eclipse.jface.preference.PreferenceStore

        assertEquals(0, pyParserManager.getParsers().size());
    }

    public void testDifferentEditorsSameInput() throws Exception {
        PreferenceStore preferences = new PreferenceStore();
        PyParserManager pyParserManager = PyParserManager.getPyParserManager(preferences);

        Document doc = new Document();
        PydevFileEditorInputStub input = new PydevFileEditorInputStub();
        //create them with the same input
View Full Code Here

Examples of org.eclipse.jface.preference.PreferenceStore

        assertEquals(0, pyParserManager.getParsers().size());

    }

    public void testChangeInput() throws Exception {
        PreferenceStore preferences = new PreferenceStore();
        PyParserManager pyParserManager = PyParserManager.getPyParserManager(preferences);

        Document doc = new Document();
        PydevFileEditorInputStub input1 = new PydevFileEditorInputStub();
        PydevFileEditorInputStub input2 = new PydevFileEditorInputStub();
View Full Code Here

Examples of org.eclipse.jface.preference.PreferenceStore

        Collection<String> pythonpath = new ArrayList<String>();
        pythonpath.add(libDir.toString());

        final InterpreterInfo info = new InterpreterInfo("2.6", TestDependent.PYTHON_EXE, pythonpath);

        IPreferenceStore preferences = new PreferenceStore();
        final PythonInterpreterManager manager = new PythonInterpreterManager(preferences);
        PydevPlugin.setPythonInterpreterManager(manager);
        manager.setInfos(new IInterpreterInfo[] { info }, new HashSet<String>(), null);

        final AdditionalSystemInterpreterInfo additionalInfo = new AdditionalSystemInterpreterInfo(manager,
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.