Skip to content

Commit

Permalink
Merge pull request #5 to fix #4 from SmithRWORNL/master
Browse files Browse the repository at this point in the history
Cleaned up code
  • Loading branch information
jonahgraham authored May 25, 2017
2 parents 46bc60b + 92d0909 commit a4bf4cb
Show file tree
Hide file tree
Showing 56 changed files with 709 additions and 522 deletions.
Binary file removed .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion .project
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>january-local2</name>
<name>january-forms-root</name>
<comment></comment>
<projects>
</projects>
Expand Down
4 changes: 2 additions & 2 deletions org.eclipse.january.form.feature/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
<artifactId>org.eclipse.january.form.feature</artifactId>
<version>2.1.0-SNAPSHOT</version>
<parent>
<relativePath>../releng/org.eclipse.january.releng/pom.xml</relativePath>
<relativePath>../releng/org.eclipse.january.forms.releng/pom.xml</relativePath>
<groupId>org.eclipse.january</groupId>
<artifactId>org.eclipse.january.releng</artifactId>
<artifactId>org.eclipse.january.forms.releng</artifactId>
<version>2.1.0-SNAPSHOT</version>
</parent>
<packaging>eclipse-feature</packaging>
Expand Down
4 changes: 2 additions & 2 deletions org.eclipse.january.form.test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
<artifactId>org.eclipse.january.form.test</artifactId>
<version>2.1.0-SNAPSHOT</version>
<parent>
<relativePath>../releng/org.eclipse.january.releng/pom.xml</relativePath>
<relativePath>../releng/org.eclipse.january.forms.releng/pom.xml</relativePath>
<groupId>org.eclipse.january</groupId>
<artifactId>org.eclipse.january.releng</artifactId>
<artifactId>org.eclipse.january.forms.releng</artifactId>
<version>2.1.0-SNAPSHOT</version>
</parent>
<packaging>eclipse-test-plugin</packaging>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ public class TestableAbstractEntry extends AbstractEntry {

/*
* (non-Javadoc)
* @see org.eclipse.ice.datastructures.entry.AbstractEntry#clone()
*
* @see org.eclipse.january.form.AbstractEntry#clone()
*/
@Override
public Object clone() {
Expand All @@ -44,7 +45,8 @@ public Object clone() {

/*
* (non-Javadoc)
* @see org.eclipse.ice.datastructures.entry.AbstractEntry#setValue(java.lang.String[])
*
* @see org.eclipse.january.form.AbstractEntry#setValue(java.lang.String[])
*/
@Override
public boolean setValue(String... values) {
Expand All @@ -53,7 +55,8 @@ public boolean setValue(String... values) {

/*
* (non-Javadoc)
* @see org.eclipse.ice.datastructures.entry.AbstractEntry#getAllowedValues()
*
* @see org.eclipse.january.form.AbstractEntry#getAllowedValues()
*/
@Override
public List<String> getAllowedValues() {
Expand All @@ -63,34 +66,50 @@ public List<String> getAllowedValues() {

/*
* (non-Javadoc)
* @see org.eclipse.ice.datastructures.entry.AbstractEntry#setAllowedValues(java.util.List)
*
* @see
* org.eclipse.january.form.AbstractEntry#setAllowedValues(java.util.List)
*/
@Override
public void setAllowedValues(List<String> values) {
// TODO Auto-generated method stub

}

/*
* (non-Javadoc)
* @see org.eclipse.ice.datastructures.entry.AbstractEntry#update(org.eclipse.ice.datastructures.JanuaryObject.IUpdateable)
*
* @see
* org.eclipse.january.form.AbstractEntry#update(org.eclipse.january.form.
* IUpdateable)
*/
@Override
public void update(IUpdateable component) {
// TODO Auto-generated method stub

}

/*
* (non-Javadoc)
*
* @see org.eclipse.january.form.AbstractEntry#getValues()
*/
@Override
public String[] getValues() {
// TODO Auto-generated method stub
return null;
}

/*
* (non-Javadoc)
*
* @see org.eclipse.january.form.IEntry#accept(org.eclipse.january.form.
* IEntryVisitor)
*/
@Override
public void accept(IEntryVisitor visitor) {
// TODO Auto-generated method stub

}

}
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,8 @@ public class FakeJAXBClassProvider implements IJAXBClassProvider {

/*
* (non-Javadoc)
*
* @see org.eclipse.ice.datastructures.jaxbclassprovider.IJAXBClassProvider#
* getClasses()
*
* @see org.eclipse.january.form.IJAXBClassProvider#getClasses()
*/
@Override
public List<Class> getClasses() {
Expand All @@ -40,9 +39,8 @@ public List<Class> getClasses() {

/*
* (non-Javadoc)
*
* @see org.eclipse.ice.datastructures.jaxbclassprovider.IJAXBClassProvider#
* getProviderName()
*
* @see org.eclipse.january.form.IJAXBClassProvider#getProviderName()
*/
@Override
public String getProviderName() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@
public class IJAXBClassProviderTester {

/**
* Test for
* {@link org.eclipse.january.form.IJAXBClassProvider}
* .
* Test for {@link org.eclipse.january.form.IJAXBClassProvider} .
*
* @throws CoreException
* @throws BundleException
Expand All @@ -53,7 +51,7 @@ public void test() throws CoreException, BundleException,
ClassNotFoundException, URISyntaxException, FileNotFoundException {

IJAXBClassProvider[] jaxbProviders = null;
String id = "org.eclipse.ice.datastructures.jaxbClassProvider";
String id = "org.eclipse.january.datastructures.jaxbClassProvider";
IExtensionPoint point = Platform.getExtensionRegistry()
.getExtensionPoint(id);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@

import javax.xml.bind.JAXBException;

import org.eclipse.january.form.IElementSource;
import org.eclipse.january.form.JanuaryJAXBHandler;
import org.eclipse.january.form.JanuaryObject;
import org.eclipse.january.form.JanuaryResource;
import org.eclipse.january.form.IElementSource;
import org.eclipse.january.form.ListComponent;
import org.eclipse.january.form.SelectiveComponentVisitor;
import org.eclipse.january.form.VizResource;
Expand Down Expand Up @@ -544,8 +544,7 @@ public void checkTableFormat() {
/*
* (non-Javadoc)
*
* @see
* org.eclipse.ice.datastructures.JanuaryObject.IElementSource#getElements()
* @see org.eclipse.january.form.IElementSource#getElements()
*/
@Override
public EventList<Integer> getElements() {
Expand All @@ -555,8 +554,7 @@ public EventList<Integer> getElements() {
/*
* (non-Javadoc)
*
* @see
* org.eclipse.ice.datastructures.JanuaryObject.IElementSource#getTableFormat()
* @see org.eclipse.january.form.IElementSource#getTableFormat()
*/
@Override
public TableFormat<Integer> getTableFormat() {
Expand Down
4 changes: 2 additions & 2 deletions org.eclipse.january.form/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
<artifactId>org.eclipse.january.form</artifactId>
<version>2.1.0-SNAPSHOT</version>
<parent>
<relativePath>../releng/org.eclipse.january.releng/pom.xml</relativePath>
<relativePath>../releng/org.eclipse.january.forms.releng/pom.xml</relativePath>
<groupId>org.eclipse.january</groupId>
<artifactId>org.eclipse.january.releng</artifactId>
<artifactId>org.eclipse.january.forms.releng</artifactId>
<version>2.1.0-SNAPSHOT</version>
</parent>
<packaging>eclipse-plugin</packaging>
Expand Down
Loading

0 comments on commit a4bf4cb

Please sign in to comment.