Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8ec1e38

Browse filesBrowse files
add showSuites to the preference model (tree-view yes/no)
1 parent ccf076c commit 8ec1e38
Copy full SHA for 8ec1e38

File tree

Expand file treeCollapse file tree

1 file changed

+10
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+10
-0
lines changed

‎sqldev/src/main/java/org/utplsql/sqldev/model/preference/PreferenceModel.java

Copy file name to clipboardExpand all lines: sqldev/src/main/java/org/utplsql/sqldev/model/preference/PreferenceModel.java
+10Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ public static PreferenceModel getInstance(final PropertyStorage prefs) {
5353
private static final String KEY_SHOW_DISABLED_TESTS = "showDisabledTests";
5454
private static final String KEY_SHOW_TEST_DESCRIPTION = "showTestDescription";
5555
private static final String KEY_SYNC_DETAIL_TAB = "syncDetailTab";
56+
private static final String KEY_SHOW_SUITES = "showSuites";
5657
private static final String KEY_TEST_PACKAGE_PREFIX = "testPackagePrefix";
5758
private static final String KEY_TEST_PACKAGE_SUFFIX = "testPackageSuffix";
5859
private static final String KEY_TEST_UNIT_PREFIX = "testUnitPrefix";
@@ -88,6 +89,7 @@ public String toString() {
8889
.append(KEY_SHOW_DISABLED_TESTS, isShowDisabledTests())
8990
.append(KEY_SHOW_TEST_DESCRIPTION, isShowTestDescription())
9091
.append(KEY_SYNC_DETAIL_TAB, isSyncDetailTab())
92+
.append(KEY_SHOW_SUITES, isShowSuites())
9193
.append(KEY_TEST_PACKAGE_PREFIX, getTestPackagePrefix())
9294
.append(KEY_TEST_PACKAGE_SUFFIX, getTestPackageSuffix())
9395
.append(KEY_TEST_UNIT_PREFIX, getTestUnitPrefix())
@@ -241,6 +243,14 @@ public void setSyncDetailTab(final boolean syncDetailTab) {
241243
getHashStructure().putBoolean(KEY_SYNC_DETAIL_TAB, syncDetailTab);
242244
}
243245

246+
public boolean isShowSuites() {
247+
return getHashStructure().getBoolean(KEY_SHOW_SUITES, true);
248+
}
249+
250+
public void setShowSuites(final boolean showSuites) {
251+
getHashStructure().putBoolean(KEY_SHOW_SUITES, showSuites);
252+
}
253+
244254
public String getTestPackagePrefix() {
245255
return getHashStructure().getString(KEY_TEST_PACKAGE_PREFIX, "test_");
246256
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.