Skip to content

Commit

Permalink
Update of contribution classpath and pde spies in the target
Browse files Browse the repository at this point in the history
  • Loading branch information
vogella committed Nov 5, 2023
1 parent 11e1821 commit 854e24f
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 35 deletions.
2 changes: 1 addition & 1 deletion com.vogella.contribute.parts/.classpath
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-14"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="output" path="bin"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.targetPlatform=14
org.eclipse.jdt.core.compiler.compliance=14
org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
org.eclipse.jdt.core.compiler.compliance=17
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
org.eclipse.jdt.core.compiler.release=enabled
org.eclipse.jdt.core.compiler.source=14
org.eclipse.jdt.core.compiler.source=17
2 changes: 1 addition & 1 deletion com.vogella.contribute.parts/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ Require-Bundle: org.eclipse.core.runtime,
org.eclipse.core.databinding.observable;bundle-version="1.10.0",
org.eclipse.core.databinding.property;bundle-version="1.8.100",
org.eclipse.jface.databinding;bundle-version="1.12.0"
Bundle-RequiredExecutionEnvironment: JavaSE-11
Bundle-RequiredExecutionEnvironment: JavaSE-17
Import-Package: javax.annotation
Automatic-Module-Name: com.vogella.contribute.parts
Original file line number Diff line number Diff line change
@@ -1,28 +1,14 @@
package com.vogella.contribute.parts;

import static org.eclipse.jface.databinding.swt.typed.WidgetProperties.text;

import javax.annotation.PostConstruct;

import org.eclipse.core.databinding.DataBindingContext;
import org.eclipse.jface.databinding.swt.ISWTObservableValue;
import org.eclipse.jface.widgets.TextFactory;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Text;

public class AdditionalInformationPart {
@PostConstruct
public void postConstruct(Composite parent) {
Text modelText = new Text(parent, SWT.BORDER | SWT.MULTI);
Text targetText = new Text(parent, SWT.BORDER | SWT.MULTI);
DataBindingContext db = new DataBindingContext();
ISWTObservableValue<String> modelObserve = text(SWT.Modify).observeDelayed(5000, modelText);
ISWTObservableValue<String> targetObserve = text(SWT.Modify).observe(targetText);
db.bindValue(targetObserve, modelObserve);
modelText.setText("Morning");
targetText.setText("Evening");

// modelText.addModifyListener(e -> targetText.setText(modelText.getText()));
// targetText.addModifyListener(e -> modelText.setText(targetText.getText()));
}
@PostConstruct
public void postConstruct(Composite parent) {
TextFactory.newText(SWT.BORDER |SWT.MULTI).create(parent);
}
}
15 changes: 4 additions & 11 deletions target-platform/target-platform.target
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,10 @@


<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<repository location="https://download.eclipse.org/releases/latest"/>
<unit id="org.eclipse.pde.spy.core" version="0.0.0"/>
<unit id="org.eclipse.pde.spy.css" version="0.0.0"/>
<unit id="org.eclipse.pde.spy.model" version="0.0.0"/>
<unit id="org.eclipse.pde.spy.preferences" version="0.0.0"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<repository location="https://download.eclipse.org/releases/2022-03"/>
<unit id="org.eclipse.pde.spy.bundle" version="0.0.0"/>
<unit id="org.eclipse.pde.spy.context" version="0.0.0"/>
</location>
<repository location="https://download.eclipse.org/releases/latest"/>
<unit id="org.eclipse.pde.spies.feature.group" version="0.0.0"/>
</location>


<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<repository location="http://download.eclipse.org/nattable/releases/1.6.0/repository/"/>
Expand Down

0 comments on commit 854e24f

Please sign in to comment.