Skip to content

Commit e0af753

Browse files
committed
tool tips
1 parent ca6cde4 commit e0af753

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ide-common/src/main/java/org/digma/intellij/plugin/settings/SettingsComponent.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ public boolean verify(JComponent input) {
158158
);
159159

160160
var resetButton = new JButton("Reset to defaults");
161+
resetButton.setToolTipText("<html><body>Reset the settings to initial defaults</body>");
161162
resetButton.addActionListener(e -> resetToDefaults());
162163

163164

@@ -182,6 +183,7 @@ public boolean verify(JComponent input) {
182183
pluginResetWarning.setForeground(JBColor.RED);
183184
pluginResetWarning.setVisible(false);
184185
var resetPluginButton = new JButton("Reset plugin");
186+
resetPluginButton.setToolTipText("<html><body>Reset plugin persistent properties to initial values to simulate fresh start</body>");
185187
resetPluginButton.setVisible("true".equalsIgnoreCase(System.getProperty("org.digma.plugin.resetPlugin.enabled")));
186188
resetPluginButton.addActionListener(e -> {
187189
var confirmation = Messages.showYesNoDialog("Are you sure?\n(Plugin will reset and IDE will restart when the settings window is closed)", "Reset Confirmation", AllIcons.General.WarningDialog);

0 commit comments

Comments
 (0)