This is an automated email from the ASF dual-hosted git repository.
hansva pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/hop.git
The following commit(s) were added to refs/heads/main by this push:
new 9b3ca32e56 The Refresh button in Workflow/PipelineExecutionViewer
redraw the graph #7706 (#7708)
9b3ca32e56 is described below
commit 9b3ca32e56767ec4cb4b4ed68de39c351ac5e368
Author: Nicolas Adment <[email protected]>
AuthorDate: Fri Jul 31 09:20:40 2026 +0200
The Refresh button in Workflow/PipelineExecutionViewer redraw the graph
#7706 (#7708)
Remove redundant method existing in DragViewZoomBase
---
.../ui/hopgui/perspective/execution/PipelineExecutionViewer.java | 2 +-
.../ui/hopgui/perspective/execution/WorkflowExecutionViewer.java | 8 +-------
2 files changed, 2 insertions(+), 8 deletions(-)
diff --git
a/ui/src/main/java/org/apache/hop/ui/hopgui/perspective/execution/PipelineExecutionViewer.java
b/ui/src/main/java/org/apache/hop/ui/hopgui/perspective/execution/PipelineExecutionViewer.java
index 4c6a64cecd..df791e09d3 100644
---
a/ui/src/main/java/org/apache/hop/ui/hopgui/perspective/execution/PipelineExecutionViewer.java
+++
b/ui/src/main/java/org/apache/hop/ui/hopgui/perspective/execution/PipelineExecutionViewer.java
@@ -823,7 +823,7 @@ public class PipelineExecutionViewer extends
BaseExecutionViewer
refreshStatus();
refreshMetrics();
refreshTransformData();
- setFocus();
+ redraw();
}
@GuiToolbarElement(
diff --git
a/ui/src/main/java/org/apache/hop/ui/hopgui/perspective/execution/WorkflowExecutionViewer.java
b/ui/src/main/java/org/apache/hop/ui/hopgui/perspective/execution/WorkflowExecutionViewer.java
index 7cef9e27f7..5203e8899c 100644
---
a/ui/src/main/java/org/apache/hop/ui/hopgui/perspective/execution/WorkflowExecutionViewer.java
+++
b/ui/src/main/java/org/apache/hop/ui/hopgui/perspective/execution/WorkflowExecutionViewer.java
@@ -595,12 +595,6 @@ public class WorkflowExecutionViewer extends
BaseExecutionViewer
super.zoomFitToScreen();
}
- @Override
- protected Point getArea() {
- org.eclipse.swt.graphics.Rectangle rect = canvas.getClientArea();
- return new Point(rect.width, rect.height);
- }
-
public void drawWorkflowImage(GC swtGc, int width, int height, float
magnificationFactor) {
IGc gc = new SwtGc(swtGc, width, height, iconSize);
@@ -719,7 +713,7 @@ public class WorkflowExecutionViewer extends
BaseExecutionViewer
public void refresh() {
refreshStatus();
refreshActionData();
- setFocus();
+ redraw();
}
@GuiToolbarElement(