mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-107072 Breakpoint dialog: usability problems and other bug
This commit is contained in:
+1
-1
@@ -173,7 +173,7 @@
|
||||
<grid row="2" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
|
||||
</constraints>
|
||||
<properties>
|
||||
<text value="&Temporary"/>
|
||||
<text value="&Remove once hit"/>
|
||||
</properties>
|
||||
</component>
|
||||
</children>
|
||||
|
||||
+1
-1
@@ -533,7 +533,7 @@ public abstract class BreakpointPropertiesPanel {
|
||||
myLogMessageCheckBox.setSelected(breakpoint.LOG_ENABLED);
|
||||
myTemporaryCheckBox.setSelected(breakpoint.REMOVE_AFTER_HIT);
|
||||
myEnabledCheckbox.setSelected(breakpoint.ENABLED);
|
||||
myEnabledCheckbox.setText(breakpoint.getShortName());
|
||||
myEnabledCheckbox.setText(breakpoint.getShortName() + " enabled");
|
||||
myEnabledCheckbox.addActionListener(new ActionListener() {
|
||||
@Override
|
||||
public void actionPerformed(ActionEvent event) {
|
||||
|
||||
+1
-5
@@ -106,6 +106,7 @@ public class BreakpointsDialog extends DialogWrapper {
|
||||
setTitle("Breakpoints");
|
||||
setModal(false);
|
||||
init();
|
||||
setOKButtonText("Done");
|
||||
}
|
||||
|
||||
private String getSplitterProportionKey() {
|
||||
@@ -171,11 +172,6 @@ public class BreakpointsDialog extends DialogWrapper {
|
||||
return new Action[]{getOKAction()};
|
||||
}
|
||||
|
||||
private static Font smaller(Font f) {
|
||||
return f.deriveFont(f.getStyle(), f.getSize() - 2);
|
||||
}
|
||||
|
||||
|
||||
private class ToggleBreakpointGroupingRuleEnabledAction extends ToggleActionButton {
|
||||
private XBreakpointGroupingRule myRule;
|
||||
|
||||
|
||||
+1
-1
@@ -59,7 +59,7 @@
|
||||
<grid row="2" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
|
||||
</constraints>
|
||||
<properties>
|
||||
<text value="&Temporary"/>
|
||||
<text value="&Remove once hit"/>
|
||||
</properties>
|
||||
</component>
|
||||
</children>
|
||||
|
||||
+1
-1
@@ -196,7 +196,7 @@ public class XLightBreakpointPropertiesPanel<B extends XBreakpoint<?>> implement
|
||||
customPanel.loadFrom(myBreakpoint);
|
||||
}
|
||||
myEnabledCheckbox.setSelected(myBreakpoint.isEnabled());
|
||||
myEnabledCheckbox.setText(XBreakpointUtil.getShortText(myBreakpoint));
|
||||
myEnabledCheckbox.setText(XBreakpointUtil.getShortText(myBreakpoint) + " enabled");
|
||||
}
|
||||
|
||||
public JPanel getMainPanel() {
|
||||
|
||||
Reference in New Issue
Block a user