Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion org.eclipse.wb.swing/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.wb.swing;singleton:=true
Bundle-Version: 1.10.400.qualifier
Bundle-Version: 1.11.0.qualifier
Bundle-ClassPath: .
Bundle-Activator: org.eclipse.wb.internal.swing.Activator
Bundle-Vendor: %providerName
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2011, 2025 Google, Inc. and others.
* Copyright (c) 2011, 2026 Google, Inc. and others.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
Expand Down Expand Up @@ -62,8 +62,6 @@

import javax.swing.border.Border;

import swingintegration.example.EmbeddedSwingComposite2;

/**
* Dialog for {@link Border} editing.
*
Expand Down Expand Up @@ -193,11 +191,6 @@ public void handleEvent(Event event) {
GridDataFactory.create(previewGroup).spanH(2).grabH().fillH();
GridLayoutFactory.create(previewGroup);
previewGroup.setText(ModelMessages.BorderDialog_preview);
//
if (EmbeddedSwingComposite2.canUseAwt()) {
m_previewCanvas = new BorderPreviewCanvas(previewGroup, SWT.NONE);
GridDataFactory.create(m_previewCanvas).grab().fill().hintV(100);
}
}
//
updateGUI();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2011, 2025 Google, Inc. and others.
* Copyright (c) 2011, 2026 Google, Inc. and others.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
Expand Down Expand Up @@ -28,15 +28,15 @@
import javax.swing.border.Border;
import javax.swing.border.LineBorder;

import swingintegration.example.EmbeddedSwingComposite2;
import swingintegration.example.EmbeddedSwingComposite;

/**
* {@link Composite} for displaying {@link Border}.
*
* @author scheglov_ke
* @coverage swing.property.editor
*/
public final class BorderPreviewCanvas extends EmbeddedSwingComposite2 {
public final class BorderPreviewCanvas extends EmbeddedSwingComposite {
private JPanel m_awtRoot;
private JPanel m_emptyPanel;
private JPanel m_filledPanel_1;
Expand Down
Loading
Loading