Merge remote-tracking branch 'origin/GP-4155_Dan_modelProviderSnapsButton'

This commit is contained in:
Ryan Kurtz 2024-01-02 09:56:26 -05:00
commit 5f20773693
2 changed files with 3 additions and 4 deletions

View File

@ -1868,15 +1868,14 @@ public interface DebuggerResources {
String NAME = "Limit to Current Snap";
String DESCRIPTION = "Choose whether displayed objects must be alive at the current snap";
String GROUP = GROUP_GENERAL;
Icon ICON = ICON_TIME; // TODO
String HELP_ANCHOR = "limit_to_current_snap";
static ToggleActionBuilder builder(Plugin owner) {
String ownerName = owner.getName();
return new ToggleActionBuilder(NAME, ownerName)
.description(DESCRIPTION)
.toolBarGroup(GROUP)
.toolBarIcon(ICON)
.menuPath(NAME)
.menuGroup(GROUP)
.helpLocation(new HelpLocation(ownerName, HELP_ANCHOR));
}
}

View File

@ -87,7 +87,7 @@ public class DebuggerModelProvider extends ComponentProvider implements Saveable
private final AutoService.Wiring autoServiceWiring;
@AutoConfigStateField
private boolean limitToSnap = false;
private boolean limitToSnap = true;
@AutoConfigStateField
private boolean showHidden = false;
@AutoConfigStateField