Skip to content

Commit

Permalink
Store workbench preference dialog setting using suffix ".dialogBounds"
Browse files Browse the repository at this point in the history
  • Loading branch information
marcushoepfner committed Dec 11, 2023
1 parent 7d88c88 commit c731c0e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,8 @@ protected IPreferenceNode findNodeMatching(String nodeId) {
protected IDialogSettings getDialogBoundsSettings() {
Bundle bundle = WorkbenchPlugin.getDefault().getBundle();
IDialogSettings settings = PlatformUI.getDialogSettingsProvider(bundle).getDialogSettings();
return DialogSettings.getOrCreateSection(settings, getClass().getSimpleName());
String name = getClass().getSimpleName() + ".dialogBounds"; //$NON-NLS-1$
return DialogSettings.getOrCreateSection(settings, name);
}

}

0 comments on commit c731c0e

Please sign in to comment.