Package net.sf.jabref.groups

Examples of net.sf.jabref.groups.KeywordGroup


  public static boolean warnAssignmentSideEffects(AbstractGroup[] groups, BibtexEntry[] entries,
    BibtexDatabase db, Component parent) {
    Vector<String> affectedFields = new Vector<String>();
    for (int k = 0; k < groups.length; ++k) {
      if (groups[k] instanceof KeywordGroup) {
        KeywordGroup kg = (KeywordGroup) groups[k];
        String field = kg.getSearchField().toLowerCase();
        if (field.equals("keywords"))
          continue; // this is not undesired
        for (int i = 0, len = BibtexFields.numberOfPublicFields(); i < len; ++i) {
          if (field.equals(BibtexFields.getFieldName(i))) {
            affectedFields.add(field);
View Full Code Here


                    group = new ExplicitGroup(rs.getString("label"),
                            rs.getInt("hierarchical_context"));
                }
                else if (typeId.equals(KeywordGroup.ID)) {
                    System.out.println("Keyw: "+ rs.getBoolean("case_sensitive"));
                    group = new KeywordGroup(rs.getString("label"),
                            Util.unquote(rs.getString("search_field"), '\\'),
                            Util.unquote(rs.getString("search_expression"), '\\'),
                            rs.getBoolean("case_sensitive"), rs.getBoolean("reg_exp"),
                            rs.getInt("hierarchical_context"));
                }
View Full Code Here

TOP

Related Classes of net.sf.jabref.groups.KeywordGroup

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.