Skip to content

Commit

Permalink
Search Filter - match regex, match case, property values
Browse files Browse the repository at this point in the history
- Match Regex
- Match Case
- Match on Property value
- Remember some settings
- Also search model "Purpose" field for Documentation
- Refactored
  • Loading branch information
Phillipus committed Jan 18, 2025
1 parent bff2fd8 commit da2c6b1
Show file tree
Hide file tree
Showing 9 changed files with 379 additions and 106 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,4 +175,13 @@ public interface IPreferenceConstants {

// Single column layout in Properties View
String PROPERTIES_SINGLE_COLUMN = "propertiesSingleColumn";

// Search Filter
String SEARCHFILTER_NAME = "searchFilterName";
String SEARCHFILTER_DOCUMENTATION = "searchFilterDocumentation";
String SEARCHFILTER_PROPETY_VALUES = "searchFilterPropertyValues";
String SEARCHFILTER_VIEWS = "searchFilterViews";
String SEARCHFILTER_SHOW_ALL_FOLDERS = "searchFilterShowAllFolders";
String SEARCHFILTER_MATCH_CASE = "searchFilterMatchCase";
String SEARCHFILTER_USE_REGEX = "searchFilterUseRegex";
}
Original file line number Diff line number Diff line change
Expand Up @@ -165,5 +165,7 @@ public void initializeDefaultPreferences() {
store.setDefault(UPDATE_URL, "https://www.archimatetool.com/archi-version.txt");

store.setDefault(PROPERTIES_SINGLE_COLUMN, false);

store.setDefault(SEARCHFILTER_NAME, true);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,28 @@ public class Messages extends NLS {

public static String SearchWidget_17;

public static String SearchWidget_18;

public static String SearchWidget_19;

public static String SearchWidget_2;

public static String SearchWidget_20;

public static String SearchWidget_21;

public static String SearchWidget_22;

public static String SearchWidget_23;

public static String SearchWidget_24;

public static String SearchWidget_25;

public static String SearchWidget_26;

public static String SearchWidget_27;

public static String SearchWidget_3;

public static String SearchWidget_4;
Expand Down
Loading

0 comments on commit da2c6b1

Please sign in to comment.