Package org.eobjects.analyzer.reference

Examples of org.eobjects.analyzer.reference.SimpleDictionary


    performAssertions(propertyWidgetFactory, "String pattern array property", MultipleStringPatternPropertyWidget.class,
        new StringPattern[0], new StringPattern[] { new SimpleStringPattern("foo", "aaa"),
            new RegexStringPattern("bar", "aaa", true) });

    performAssertions(propertyWidgetFactory, "Dictionary property", SingleDictionaryPropertyWidget.class, null,
        new SimpleDictionary("foo", "foobar"));

    performAssertions(propertyWidgetFactory, "Dictionary array property", MultipleDictionariesPropertyWidget.class,
        new Dictionary[0], new Dictionary[] { new SimpleDictionary("f", "fo", "foo"),
            new SimpleDictionary("b", "ba", "bar") });

    performAssertions(propertyWidgetFactory, "Synonym catalog property", SingleSynonymCatalogPropertyWidget.class, null,
        new TextFileSynonymCatalog("foo", new File("foobar"), true, "UTF8"));

    performAssertions(propertyWidgetFactory, "Synonym catalog array property",
View Full Code Here


        if (StringUtils.isNullOrEmpty(values)) {
          JOptionPane.showMessageDialog(SimpleDictionaryDialog.this, "Please fill out the values");
          return;
        }

        SimpleDictionary dict = new SimpleDictionary(name, values.split("\n"));

        if (_originalDictionary != null) {
          _catalog.removeDictionary(_originalDictionary);
        }
        _catalog.addDictionary(dict);
View Full Code Here

TOP

Related Classes of org.eobjects.analyzer.reference.SimpleDictionary

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.