GP-5438: Fix 'Select All' and others in Dynamic Listing. (syncing needs follow-up work.)

This commit is contained in:
Dan 2025-04-01 12:48:30 +00:00
parent b319b3df7f
commit d7f63a9075
42 changed files with 432 additions and 358 deletions

View file

@ -172,11 +172,10 @@ public class VgSatelliteFeaturette<V extends VisualVertex,
return false;
}
if (!(context instanceof VisualGraphActionContext)) {
if (!(context instanceof VisualGraphActionContext vgContext)) {
return false;
}
VisualGraphActionContext vgContext = (VisualGraphActionContext) context;
return vgContext.shouldShowSatelliteActions();
}
};
@ -200,11 +199,10 @@ public class VgSatelliteFeaturette<V extends VisualVertex,
return false;
}
if (!(context instanceof VisualGraphActionContext)) {
if (!(context instanceof VisualGraphActionContext vgContext)) {
return false;
}
VisualGraphActionContext vgContext = (VisualGraphActionContext) context;
return vgContext.shouldShowSatelliteActions();
}
};