deleted motion temporarily
authorsungmin82.ha <sungmin82.ha@samsung.com>
Thu, 28 Jul 2011 05:17:12 +0000 (14:17 +0900)
committersungmin82.ha <sungmin82.ha@samsung.com>
Thu, 28 Jul 2011 05:17:12 +0000 (14:17 +0900)
com.samsung.linuxplatform.sensor.motion/.classpath [deleted file]
com.samsung.linuxplatform.sensor.motion/.project [deleted file]
com.samsung.linuxplatform.sensor.motion/.settings/org.eclipse.jdt.core.prefs [deleted file]
com.samsung.linuxplatform.sensor.motion/META-INF/MANIFEST.MF [deleted file]
com.samsung.linuxplatform.sensor.motion/build.properties [deleted file]
com.samsung.linuxplatform.sensor.motion/plugin.xml [deleted file]
com.samsung.linuxplatform.sensor.motion/src/com/samsung/linuxplatform/sensor/motion/Motion.java [deleted file]
com.samsung.linuxplatform.sensor.motion/src/com/samsung/linuxplatform/sensor/motion/page/MotionPage.java [deleted file]

diff --git a/com.samsung.linuxplatform.sensor.motion/.classpath b/com.samsung.linuxplatform.sensor.motion/.classpath
deleted file mode 100644 (file)
index ad32c83..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<?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.6"/>
-       <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
-       <classpathentry kind="src" path="src"/>
-       <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/com.samsung.linuxplatform.sensor.motion/.project b/com.samsung.linuxplatform.sensor.motion/.project
deleted file mode 100644 (file)
index eed3f49..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
-       <name>com.samsung.linuxplatform.sensor.motion</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/com.samsung.linuxplatform.sensor.motion/.settings/org.eclipse.jdt.core.prefs b/com.samsung.linuxplatform.sensor.motion/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644 (file)
index 5f79cf8..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-#Wed Jun 29 14:18:42 KST 2011
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
-org.eclipse.jdt.core.compiler.compliance=1.6
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.6
diff --git a/com.samsung.linuxplatform.sensor.motion/META-INF/MANIFEST.MF b/com.samsung.linuxplatform.sensor.motion/META-INF/MANIFEST.MF
deleted file mode 100644 (file)
index 26396bd..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: Motion
-Bundle-SymbolicName: com.samsung.linuxplatform.sensor.motion;singleton:=true
-Bundle-Version: 1.0.0.qualifier
-Bundle-Vendor: SAMSUNG
-Require-Bundle: org.eclipse.core.runtime,
- org.eclipse.swt,
- com.samsung.linuxplatform.injector
-Bundle-RequiredExecutionEnvironment: JavaSE-1.6
-Bundle-ActivationPolicy: lazy
-Import-Package: com.samsung.ide.connection.device,
- com.samsung.linuxplatform.injector.provider,
- org.eclipse.swt
diff --git a/com.samsung.linuxplatform.sensor.motion/build.properties b/com.samsung.linuxplatform.sensor.motion/build.properties
deleted file mode 100644 (file)
index e9863e2..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-source.. = src/
-output.. = bin/
-bin.includes = META-INF/,\
-               .,\
-               plugin.xml
diff --git a/com.samsung.linuxplatform.sensor.motion/plugin.xml b/com.samsung.linuxplatform.sensor.motion/plugin.xml
deleted file mode 100644 (file)
index f2be59d..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.4"?>
-<plugin>
-   <extension
-         point="com.samsung.linuxplatform.injector.injectorItemProvider">
-      <itemType
-            category="Sensor"
-            class="com.samsung.linuxplatform.sensor.motion.Motion"
-            id="com.samsung.linuxplatform.sensor.motion"
-            name="Motion">
-      </itemType>
-   </extension>
-
-</plugin>
diff --git a/com.samsung.linuxplatform.sensor.motion/src/com/samsung/linuxplatform/sensor/motion/Motion.java b/com.samsung.linuxplatform.sensor.motion/src/com/samsung/linuxplatform/sensor/motion/Motion.java
deleted file mode 100644 (file)
index 6658c8d..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-/*******************************************************************************
-  * Copyright (c) 2011 Samsung Electronics Co.   
-  * For conditions of distribution and use, see http://www.eclipse.org/legal/epl-v10.html
-  *******************************************************************************/
-
-package com.samsung.linuxplatform.sensor.motion;
-
-import com.samsung.linuxplatform.injector.provider.AbstractInjectorItem;
-import com.samsung.linuxplatform.sensor.motion.page.MotionPage;
-
-public class Motion extends AbstractInjectorItem{
-
-       @Override
-       protected void addPages() {
-               addPage(new MotionPage(this, "Motion"));
-       }
-
-}
diff --git a/com.samsung.linuxplatform.sensor.motion/src/com/samsung/linuxplatform/sensor/motion/page/MotionPage.java b/com.samsung.linuxplatform.sensor.motion/src/com/samsung/linuxplatform/sensor/motion/page/MotionPage.java
deleted file mode 100644 (file)
index 985a36b..0000000
+++ /dev/null
@@ -1,176 +0,0 @@
-/*******************************************************************************
-  * Copyright (c) 2011 Samsung Electronics Co.   
-  * For conditions of distribution and use, see http://www.eclipse.org/legal/epl-v10.html
-  *******************************************************************************/
-
-package com.samsung.linuxplatform.sensor.motion.page;
-
-
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.events.SelectionListener;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.widgets.Button;
-import org.eclipse.swt.widgets.Composite;
-
-import com.samsung.ide.connection.device.DeviceChecker;
-import com.samsung.ide.connection.device.IDeviceListener;
-import com.samsung.linuxplatform.injector.protocol.sensor.TestSensorMessage;
-import com.samsung.linuxplatform.injector.provider.AbstractInjectorItem;
-import com.samsung.linuxplatform.injector.provider.AbstractInjectorPage;
-
-public class MotionPage extends AbstractInjectorPage implements IDeviceListener {
-       private final String sensorNumber = "6\n";
-
-       public MotionPage(AbstractInjectorItem item, String name) {
-               super(item, name);
-       }
-
-       @Override
-       protected void createContents() {
-               Composite mainComposite = formUtil.createComposite(parent, 3);
-               
-               Button button_doubleTap = formUtil.createButton(mainComposite, "Double Tap", SWT.PUSH);
-               Button button_shakeStart = formUtil.createButton(mainComposite, "Shake Start", SWT.PUSH);
-               Button button_shakeEnd = formUtil.createButton(mainComposite, "Shake End", SWT.PUSH);
-               Button button_snapXp = formUtil.createButton(mainComposite, "Snap X+", SWT.PUSH);
-               Button button_snapYp = formUtil.createButton(mainComposite, "Snap Y+", SWT.PUSH);
-               Button button_snapZp = formUtil.createButton(mainComposite, "Snap Z+", SWT.PUSH);
-               Button button_snapXm = formUtil.createButton(mainComposite, "Snap X-", SWT.PUSH);
-               Button button_snapYm = formUtil.createButton(mainComposite, "Snap Y-", SWT.PUSH);
-               Button button_snapZm = formUtil.createButton(mainComposite, "Snap Z-", SWT.PUSH);
-
-               GridData gd = new GridData(GridData.FILL, GridData.FILL, true, false);
-
-               button_doubleTap.setLayoutData(gd);
-               button_shakeStart.setLayoutData(gd);
-               button_shakeEnd.setLayoutData(gd);
-               button_snapXp.setLayoutData(gd);
-               button_snapXm.setLayoutData(gd);
-               button_snapYp.setLayoutData(gd);
-               button_snapYm.setLayoutData(gd);
-               button_snapZp.setLayoutData(gd);
-               button_snapZm.setLayoutData(gd);
-               
-               button_doubleTap.addSelectionListener(new SelectionListener(){
-                       @Override
-                       public void widgetDefaultSelected(SelectionEvent e) {
-                       }
-                       @Override
-                       public void widgetSelected(SelectionEvent e) {
-                               sendMessage(1);
-                       }
-           });
-               button_shakeStart.addSelectionListener(new SelectionListener(){
-                       @Override
-                       public void widgetDefaultSelected(SelectionEvent e) {
-                       }
-                       @Override
-                       public void widgetSelected(SelectionEvent e) {
-                               sendMessage(2);
-                       }
-           });
-               button_shakeEnd.addSelectionListener(new SelectionListener(){
-                       @Override
-                       public void widgetDefaultSelected(SelectionEvent e) {
-                       }
-                       @Override
-                       public void widgetSelected(SelectionEvent e) {
-                               sendMessage(3);
-                       }
-           });
-               button_snapXp.addSelectionListener(new SelectionListener(){
-                       @Override
-                       public void widgetDefaultSelected(SelectionEvent e) {
-                       }
-                       @Override
-                       public void widgetSelected(SelectionEvent e) {
-                               sendMessage(4);
-                       }
-           });
-               button_snapXm.addSelectionListener(new SelectionListener(){
-                       @Override
-                       public void widgetDefaultSelected(SelectionEvent e) {
-                       }
-                       @Override
-                       public void widgetSelected(SelectionEvent e) {
-                               sendMessage(5);
-                       }
-           });
-               button_snapYp.addSelectionListener(new SelectionListener(){
-                       @Override
-                       public void widgetDefaultSelected(SelectionEvent e) {
-                       }
-                       @Override
-                       public void widgetSelected(SelectionEvent e) {
-                               sendMessage(6);
-                       }
-           });
-               button_snapYm.addSelectionListener(new SelectionListener(){
-                       @Override
-                       public void widgetDefaultSelected(SelectionEvent e) {
-                       }
-                       @Override
-                       public void widgetSelected(SelectionEvent e) {
-                               sendMessage(7);
-                       }
-           });
-               button_snapZp.addSelectionListener(new SelectionListener(){
-                       @Override
-                       public void widgetDefaultSelected(SelectionEvent e) {
-                       }
-                       @Override
-                       public void widgetSelected(SelectionEvent e) {
-                               sendMessage(8);
-                       }
-           });
-               button_snapZm.addSelectionListener(new SelectionListener(){
-                       @Override
-                       public void widgetDefaultSelected(SelectionEvent e) {
-                       }
-                       @Override
-                       public void widgetSelected(SelectionEvent e) {
-                               sendMessage(9);
-                       }
-           });
-       }
-
-       @Override
-       protected void registerReceivers() {
-               // TODO Auto-generated method stub
-               
-       }
-       public void sendMessage(int level) {
-               TestSensorMessage msg = new TestSensorMessage(level);
-               try {
-                       sensorSocket.send(sensorNumber + msg.getMessage());
-               } catch (Exception e1) {
-                       // TODO Auto-generated catch block
-                       e1.printStackTrace();
-               }
-       }
-       
-    @Override
-    protected void finalize() throws Throwable {
-//     DeviceLauncherManager.removeDeviceListener(this);
-//     TargetConnectionControl.removeTargetConnectionListener(this);
-       super.finalize();
-    }
-
-       @Override
-       public void ConnectionChanged() {
-               if (DeviceChecker.hasActiveVirtualDevice( null)) {
-//                     connect();
-               }
-               else {
-//                     disconnect();
-               }
-       }
-
-       @Override
-       public void SelectionChanged() {
-               // TODO Auto-generated method stub
-               
-       }
-
-}