This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.miniscout.client.editor; | |
import java.net.URI; | |
import org.eclipse.ui.internal.part.NullEditorInput; | |
public class ContactEditorInput extends NullEditorInput { | |
private URI input; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.miniscout.shared; | |
public class Field { | |
public Field(String type, String name, String value) { | |
super(); | |
this.type = type; | |
this.name = name; | |
this.value = value; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.miniscout.client.editor; | |
import java.net.URI; | |
import com.example.miniscout.shared.Field; | |
import com.example.miniscout.shared.Form; | |
public class DatabaseService { | |
public static Form load(URI uri) { | |
Form form = new Form(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.miniscout.client; | |
import org.eclipse.ui.plugin.AbstractUIPlugin; | |
import org.osgi.framework.BundleContext; | |
import com.example.miniscout.client.services.LocalDatabaseService; | |
import com.example.miniscout.shared.IDatabaseService; | |
public class Activator extends AbstractUIPlugin { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.miniscout.client.fields; | |
import java.util.HashMap; | |
import java.util.Map; | |
import org.eclipse.core.runtime.CoreException; | |
import org.eclipse.core.runtime.IConfigurationElement; | |
import org.eclipse.core.runtime.IExtensionRegistry; | |
import org.eclipse.core.runtime.Platform; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<?pde version="3.8"?><target name="Eclipse Kepler" sequenceNumber="1"> | |
<locations> | |
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit"> | |
<unit id="org.eclipse.recommenders.feature.3rd.orbit.feature.group" version="0.0.0"/> | |
<unit id="org.eclipse.rcp.sdk.id" version="0.0.0"/> | |
<repository location="http://download.eclipse.org/releases/kepler"/> | |
</location> | |
</locations> | |
</target> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.miniscout.client; | |
import java.util.Dictionary; | |
import java.util.Hashtable; | |
import org.eclipse.ui.plugin.AbstractUIPlugin; | |
import org.osgi.framework.BundleContext; | |
import org.osgi.framework.Constants; | |
import com.example.miniscout.client.services.LocalDatabaseService; |