Skip to content

Commit 9d0c2b0

Browse files
committed
Fixes #141 - extension.e4 requires java.package; javax.inject
Remove the support for constructor injection to avoid the dependency.
1 parent 29148a1 commit 9d0c2b0

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

org.eclipse.nebula.widgets.nattable.extension.e4/META-INF/MANIFEST.MF

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ Bundle-RequiredExecutionEnvironment: JavaSE-11
77
Require-Bundle: org.eclipse.swt;bundle-version="3.103.0",
88
org.eclipse.e4.ui.css.core;bundle-version="0.11.0",
99
org.eclipse.e4.ui.css.swt;bundle-version="0.12.0"
10-
Import-Package: javax.inject;version="1.0.0",
11-
org.eclipse.e4.core.di.annotations,
10+
Import-Package: org.eclipse.e4.core.di.annotations,
1211
org.eclipse.e4.ui.workbench.modeling,
1312
org.eclipse.nebula.widgets.nattable;version="[2.6.0,3.0.0)",
1413
org.eclipse.nebula.widgets.nattable.command;version="[2.6.0,3.0.0)",

org.eclipse.nebula.widgets.nattable.extension.e4/src/org/eclipse/nebula/widgets/nattable/extension/e4/selection/E4SelectionListener.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright (c) 2016, 2020 Dirk Fauth.
2+
* Copyright (c) 2016, 2025 Dirk Fauth.
33
*
44
* This program and the accompanying materials are made
55
* available under the terms of the Eclipse Public License 2.0
@@ -14,8 +14,6 @@
1414

1515
import java.util.List;
1616

17-
import javax.inject.Inject;
18-
1917
import org.eclipse.e4.ui.workbench.modeling.ESelectionService;
2018
import org.eclipse.nebula.widgets.nattable.data.IRowDataProvider;
2119
import org.eclipse.nebula.widgets.nattable.layer.ILayerListener;
@@ -113,7 +111,6 @@ public class E4SelectionListener<T> implements ILayerListener {
113111
* @param rowDataProvider
114112
* The {@link IRowDataProvider} to access the selected row data.
115113
*/
116-
@Inject
117114
public E4SelectionListener(
118115
ESelectionService service,
119116
SelectionLayer selectionLayer,

0 commit comments

Comments
 (0)