Skip to content

Commit

Permalink
add emf commons
Browse files Browse the repository at this point in the history
  • Loading branch information
UrsZeidler committed Nov 9, 2023
1 parent 454657e commit fe0d4e6
Show file tree
Hide file tree
Showing 58 changed files with 7,626 additions and 0 deletions.
7 changes: 7 additions & 0 deletions de.urszeidler.emf.commons.ui/.classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?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-11"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="output" path="bin"/>
</classpath>
34 changes: 34 additions & 0 deletions de.urszeidler.emf.commons.ui/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>de.urszeidler.emf.commons.ui</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature>
</natures>
</projectDescription>
10 changes: 10 additions & 0 deletions de.urszeidler.emf.commons.ui/.settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
org.eclipse.jdt.core.compiler.compliance=11
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=11
34 changes: 34 additions & 0 deletions de.urszeidler.emf.commons.ui/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Automatic-Module-Name: de.urszeidler.emf.commons.ui
Bundle-Name: EMF Commons ui
Bundle-SymbolicName: de.urszeidler.emf.commons.ui
Bundle-Version: 1.1.0.qualifier
Bundle-Vendor: Urs Zeidler
Bundle-RequiredExecutionEnvironment: JavaSE-11
Require-Bundle: org.eclipse.emf.edit.ui;visibility:=reexport,
org.eclipse.emf.databinding;resolution:=optional,
org.eclipse.emf.databinding.edit;resolution:=optional,
org.eclipse.jface.databinding;resolution:=optional,
org.eclipse.core.runtime;resolution:=optional,
org.eclipse.ui.browser;resolution:=optional,
org.eclipse.ui.views.properties.tabbed;resolution:=optional,
org.eclipse.ui.forms;resolution:=optional,
org.eclipse.core.databinding.property;resolution:=optional,
org.eclipse.ui.ide;resolution:=optional,
org.eclipse.core.resources;resolution:=optional,
org.eclipse.core.databinding.beans;resolution:=optional,
com.ibm.icu;resolution:=optional
Export-Package: de.urszeidler.commons,
de.urszeidler.commons.eclipse.preferences.editor,
de.urszeidler.commons.functors,
de.urszeidler.commons.security,
de.urszeidler.emf.commons.ui.actions,
de.urszeidler.emf.commons.ui.binding,
de.urszeidler.emf.commons.ui.dialogs,
de.urszeidler.emf.commons.ui.editor,
de.urszeidler.emf.commons.ui.util,
de.urszeidler.emf.commons.ui.util.converter,
de.urszeidler.emf.commons.ui.validators,
de.urszeidler.emf.commons.ui.view

2 changes: 2 additions & 0 deletions de.urszeidler.emf.commons.ui/bin/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/de/
/org/
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
5 changes: 5 additions & 0 deletions de.urszeidler.emf.commons.ui/build.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
source.. = src/
output.. = bin/
bin.includes = META-INF/,\
.,\
icons/
Binary file added de.urszeidler.emf.commons.ui/icons/add.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added de.urszeidler.emf.commons.ui/icons/manage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added de.urszeidler.emf.commons.ui/icons/remove.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 29 additions & 0 deletions de.urszeidler.emf.commons.ui/src/de/urszeidler/commons/Duo.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/**
*
*/
package de.urszeidler.commons;

/**
* @author urs
*
*/
public class Duo<A, B> {

public Duo(A objectA, B objectB) {
super();
this.objectA = objectA;
this.objectB = objectB;
}

private final A objectA;
private final B objectB;

public A getObjectA() {
return objectA;
}

public B getObjectB() {
return objectB;
}

}
41 changes: 41 additions & 0 deletions de.urszeidler.emf.commons.ui/src/de/urszeidler/commons/Trio.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
/**
*
*/
package de.urszeidler.commons;

/**
* @author urs
*
*/
public class Trio<A,B,C> {
private A objectA;
private B objectB;
private C objectC;

public Trio(A objectA, B objectB, C objectC) {
super();
this.objectA = objectA;
this.objectB = objectB;
this.objectC = objectC;
}

/**
* @return the objectA
*/
public A getObjectA() {
return objectA;
}
/**
* @return the objectB
*/
public B getObjectB() {
return objectB;
}
/**
* @return the objectC
*/
public C getObjectC() {
return objectC;
}

}
Loading

0 comments on commit fe0d4e6

Please sign in to comment.