Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Schindl2015-05-11 07:15:12 +0000
committerTom Schindl2015-05-11 07:15:12 +0000
commitafef6ebee45ca5b65ae12a59bf57b29a434b154c (patch)
tree4570982c90b32160038ffc0cfd4185483555a0b3 /experimental
parentbc8bc9d850eb7f2e4ef1bce71d85d545ed0c8626 (diff)
downloadorg.eclipse.efxclipse-afef6ebee45ca5b65ae12a59bf57b29a434b154c.tar.gz
org.eclipse.efxclipse-afef6ebee45ca5b65ae12a59bf57b29a434b154c.tar.xz
org.eclipse.efxclipse-afef6ebee45ca5b65ae12a59bf57b29a434b154c.zip
share missing project
Diffstat (limited to 'experimental')
-rw-r--r--experimental/compensator/org.eclipse.fx.code.server.jdt.shared/.classpath7
-rw-r--r--experimental/compensator/org.eclipse.fx.code.server.jdt.shared/.gitignore1
-rw-r--r--experimental/compensator/org.eclipse.fx.code.server.jdt.shared/.project28
-rw-r--r--experimental/compensator/org.eclipse.fx.code.server.jdt.shared/.settings/org.eclipse.jdt.core.prefs7
-rw-r--r--experimental/compensator/org.eclipse.fx.code.server.jdt.shared/META-INF/MANIFEST.MF7
-rw-r--r--experimental/compensator/org.eclipse.fx.code.server.jdt.shared/build.properties4
-rw-r--r--experimental/compensator/org.eclipse.fx.code.server.jdt.shared/src/org/eclipse/fx/code/server/jdt/shared/JavaCodeCompleteProposal.java80
-rw-r--r--experimental/compensator/org.eclipse.fx.code.server.jdt.shared/src/org/eclipse/fx/code/server/jdt/shared/Marker.java63
-rw-r--r--experimental/compensator/org.eclipse.fx.code.server.jdt.shared/src/org/eclipse/fx/code/server/jdt/shared/Proposal.java5
9 files changed, 202 insertions, 0 deletions
diff --git a/experimental/compensator/org.eclipse.fx.code.server.jdt.shared/.classpath b/experimental/compensator/org.eclipse.fx.code.server.jdt.shared/.classpath
new file mode 100644
index 000000000..eca7bdba8
--- /dev/null
+++ b/experimental/compensator/org.eclipse.fx.code.server.jdt.shared/.classpath
@@ -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-1.8"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/experimental/compensator/org.eclipse.fx.code.server.jdt.shared/.gitignore b/experimental/compensator/org.eclipse.fx.code.server.jdt.shared/.gitignore
new file mode 100644
index 000000000..ae3c17260
--- /dev/null
+++ b/experimental/compensator/org.eclipse.fx.code.server.jdt.shared/.gitignore
@@ -0,0 +1 @@
+/bin/
diff --git a/experimental/compensator/org.eclipse.fx.code.server.jdt.shared/.project b/experimental/compensator/org.eclipse.fx.code.server.jdt.shared/.project
new file mode 100644
index 000000000..084bd1480
--- /dev/null
+++ b/experimental/compensator/org.eclipse.fx.code.server.jdt.shared/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.fx.code.server.jdt.shared</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>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
diff --git a/experimental/compensator/org.eclipse.fx.code.server.jdt.shared/.settings/org.eclipse.jdt.core.prefs b/experimental/compensator/org.eclipse.fx.code.server.jdt.shared/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 000000000..0c68a61dc
--- /dev/null
+++ b/experimental/compensator/org.eclipse.fx.code.server.jdt.shared/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,7 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
+org.eclipse.jdt.core.compiler.compliance=1.8
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.8
diff --git a/experimental/compensator/org.eclipse.fx.code.server.jdt.shared/META-INF/MANIFEST.MF b/experimental/compensator/org.eclipse.fx.code.server.jdt.shared/META-INF/MANIFEST.MF
new file mode 100644
index 000000000..a020e35c1
--- /dev/null
+++ b/experimental/compensator/org.eclipse.fx.code.server.jdt.shared/META-INF/MANIFEST.MF
@@ -0,0 +1,7 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Shared
+Bundle-SymbolicName: org.eclipse.fx.code.server.jdt.shared
+Bundle-Version: 1.0.0.qualifier
+Bundle-RequiredExecutionEnvironment: JavaSE-1.8
+Export-Package: org.eclipse.fx.code.server.jdt.shared
diff --git a/experimental/compensator/org.eclipse.fx.code.server.jdt.shared/build.properties b/experimental/compensator/org.eclipse.fx.code.server.jdt.shared/build.properties
new file mode 100644
index 000000000..34d2e4d2d
--- /dev/null
+++ b/experimental/compensator/org.eclipse.fx.code.server.jdt.shared/build.properties
@@ -0,0 +1,4 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .
diff --git a/experimental/compensator/org.eclipse.fx.code.server.jdt.shared/src/org/eclipse/fx/code/server/jdt/shared/JavaCodeCompleteProposal.java b/experimental/compensator/org.eclipse.fx.code.server.jdt.shared/src/org/eclipse/fx/code/server/jdt/shared/JavaCodeCompleteProposal.java
new file mode 100644
index 000000000..371db7354
--- /dev/null
+++ b/experimental/compensator/org.eclipse.fx.code.server.jdt.shared/src/org/eclipse/fx/code/server/jdt/shared/JavaCodeCompleteProposal.java
@@ -0,0 +1,80 @@
+package org.eclipse.fx.code.server.jdt.shared;
+
+import java.util.List;
+
+public class JavaCodeCompleteProposal implements Proposal {
+ public enum Type {
+ FIELD,
+ METHOD,
+ CONSTRUCTOR,
+
+ INTERFACE,
+ CLASS,
+ ENUM
+ }
+
+ public enum Visibility {
+ PUBLIC,
+ PRIVATE,
+ PROTECTED,
+ PACKAGE_PRIVATE
+ }
+
+ public enum Modifier {
+ FINAL,
+ STATIC,
+ ABSTRACT
+ }
+
+ private final Type type;
+ private final Visibility visibility;
+ private final List<Modifier> modifiers;
+ private final String value;
+ private final String label;
+ private final String additionalLabel;
+ private final int replacementOffset;
+ private final int replacementLength;
+
+ public JavaCodeCompleteProposal(Type type, Visibility visibility, List<Modifier> modifiers, int replacementOffset, int replacementLength, String value, String label, String additionalLabel) {
+ this.type = type;
+ this.visibility = visibility;
+ this.modifiers = modifiers;
+ this.replacementOffset = replacementOffset;
+ this.replacementLength = replacementLength;
+ this.value = value;
+ this.label = label;
+ this.additionalLabel = additionalLabel;
+ }
+
+ public Type getType() {
+ return type;
+ }
+
+ public Visibility getVisibility() {
+ return visibility;
+ }
+
+ public List<Modifier> getModifiers() {
+ return modifiers;
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ public String getLabel() {
+ return label;
+ }
+
+ public String getAdditionalLabel() {
+ return additionalLabel;
+ }
+
+ public int getReplacementLength() {
+ return replacementLength;
+ }
+
+ public int getReplacementOffset() {
+ return replacementOffset;
+ }
+}
diff --git a/experimental/compensator/org.eclipse.fx.code.server.jdt.shared/src/org/eclipse/fx/code/server/jdt/shared/Marker.java b/experimental/compensator/org.eclipse.fx.code.server.jdt.shared/src/org/eclipse/fx/code/server/jdt/shared/Marker.java
new file mode 100644
index 000000000..4f16de8cb
--- /dev/null
+++ b/experimental/compensator/org.eclipse.fx.code.server.jdt.shared/src/org/eclipse/fx/code/server/jdt/shared/Marker.java
@@ -0,0 +1,63 @@
+package org.eclipse.fx.code.server.jdt.shared;
+
+public class Marker {
+ public enum Type {
+ PROBLEM,
+ TASK
+ }
+
+ public enum Severity {
+ ERROR,
+ WARNING,
+ INFO
+ }
+
+ private final Type type;
+ private final Severity severity;
+ private final String message;
+ private final String resourceId;
+ private final int lineNumber;
+ private final int startPos;
+ private final int endPos;
+
+ public Marker(Type type, Severity severity, String message, String resourceId, int lineNumber,
+ int startPos, int endPos) {
+ this.type = type;
+ this.severity = severity;
+ this.message = message;
+ this.resourceId = resourceId;
+ this.lineNumber = lineNumber;
+ this.startPos = startPos;
+ this.endPos = endPos;
+ }
+
+ public Severity getSeverity() {
+ return severity;
+ }
+
+ public Type getType() {
+ return type;
+ }
+
+ public String getMessage() {
+ return message;
+ }
+
+ public String getResourceId() {
+ return resourceId;
+ }
+
+ public int getLineNumber() {
+ return lineNumber;
+ }
+
+ public int getStartPos() {
+ return startPos;
+ }
+
+ public int getEndPos() {
+ return endPos;
+ }
+
+
+}
diff --git a/experimental/compensator/org.eclipse.fx.code.server.jdt.shared/src/org/eclipse/fx/code/server/jdt/shared/Proposal.java b/experimental/compensator/org.eclipse.fx.code.server.jdt.shared/src/org/eclipse/fx/code/server/jdt/shared/Proposal.java
new file mode 100644
index 000000000..b2f9842ec
--- /dev/null
+++ b/experimental/compensator/org.eclipse.fx.code.server.jdt.shared/src/org/eclipse/fx/code/server/jdt/shared/Proposal.java
@@ -0,0 +1,5 @@
+package org.eclipse.fx.code.server.jdt.shared;
+
+public interface Proposal {
+
+}

Back to the top