From ff082c632743dc0cdf8cefff1563766f321a0ef3 Mon Sep 17 00:00:00 2001 From: eparovyshnaya Date: Fri, 16 Feb 2024 17:27:10 +0300 Subject: [PATCH 1/2] [#1280] Environment State Dialog is not resizable --- .../licensing/EnvironmentStateDialog.java | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/bundles/org.eclipse.passage.lic.jface/src/org/eclipse/passage/lic/internal/jface/dialogs/licensing/EnvironmentStateDialog.java b/bundles/org.eclipse.passage.lic.jface/src/org/eclipse/passage/lic/internal/jface/dialogs/licensing/EnvironmentStateDialog.java index b7f8710dd..a149b4ca3 100644 --- a/bundles/org.eclipse.passage.lic.jface/src/org/eclipse/passage/lic/internal/jface/dialogs/licensing/EnvironmentStateDialog.java +++ b/bundles/org.eclipse.passage.lic.jface/src/org/eclipse/passage/lic/internal/jface/dialogs/licensing/EnvironmentStateDialog.java @@ -53,6 +53,18 @@ protected Control createDialogArea(Composite parent) { return folder; } + @Override + protected void configureShell(Shell shell) { + super.configureShell(shell); + shell.setSize(500, 700); + shell.setText(EnvironmentStateDialogMessages.EnvironmentStatesDialog_title); + } + + @Override + protected final boolean isResizable() { + return true; + } + private void installTabPerEnvironment(TabFolder folder, RuntimeEnvironment environment) { TabItem item = new TabItem(folder, SWT.NONE); item.setText(environment.id().identifier()); @@ -81,13 +93,6 @@ private Composite display(ScrolledComposite scrolled, RuntimeEnvironment environ return composite; } - @Override - protected void configureShell(Shell shell) { - super.configureShell(shell); - shell.setSize(500, 700); - shell.setText(EnvironmentStateDialogMessages.EnvironmentStatesDialog_title); - } - private String state(RuntimeEnvironment environment) { try { return environment.state(); From 77e289dd72bf5cbcb1121c79e7db3bd8e867863e Mon Sep 17 00:00:00 2001 From: eparovyshnaya Date: Fri, 16 Feb 2024 17:39:30 +0300 Subject: [PATCH 2/2] [#1280] Environment State Dialog is not resizable update header --- .../jface/dialogs/licensing/EnvironmentStateDialog.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bundles/org.eclipse.passage.lic.jface/src/org/eclipse/passage/lic/internal/jface/dialogs/licensing/EnvironmentStateDialog.java b/bundles/org.eclipse.passage.lic.jface/src/org/eclipse/passage/lic/internal/jface/dialogs/licensing/EnvironmentStateDialog.java index a149b4ca3..242c17d17 100644 --- a/bundles/org.eclipse.passage.lic.jface/src/org/eclipse/passage/lic/internal/jface/dialogs/licensing/EnvironmentStateDialog.java +++ b/bundles/org.eclipse.passage.lic.jface/src/org/eclipse/passage/lic/internal/jface/dialogs/licensing/EnvironmentStateDialog.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2020, 2021 ArSysOp + * Copyright (c) 2020, 2024 ArSysOp * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at @@ -9,6 +9,7 @@ * * Contributors: * ArSysOp - initial API and implementation + * ArSysOp - further support *******************************************************************************/ package org.eclipse.passage.lic.internal.jface.dialogs.licensing;