summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorCamilo Bernal2013-03-07 15:27:16 (EST)
committer Roland Grunberg2013-03-07 16:05:37 (EST)
commitd69ce50b5e5aa7888d95cfc7fb3b53986353d8ef (patch)
tree1e43d67a72a8d4f2428c6689d1884fa5e4a38ec8
parent3e564354f1b90c59959979e20aa8134a161d7d73 (diff)
downloadorg.eclipse.linuxtools-d69ce50b5e5aa7888d95cfc7fb3b53986353d8ef.zip
org.eclipse.linuxtools-d69ce50b5e5aa7888d95cfc7fb3b53986353d8ef.tar.gz
org.eclipse.linuxtools-d69ce50b5e5aa7888d95cfc7fb3b53986353d8ef.tar.bz2
Move handlers from o.e.l.internal.perf.ui to their own package.refs/changes/48/10948/2
Change-Id: I9681b1f8ed661bbe12dc2f33a69890710c44d7e2 Reviewed-on: https://git.eclipse.org/r/10948 Tested-by: Hudson CI Reviewed-by: Roland Grunberg <rgrunber@redhat.com> IP-Clean: Roland Grunberg <rgrunber@redhat.com> Tested-by: Roland Grunberg <rgrunber@redhat.com>
-rw-r--r--perf/org.eclipse.linuxtools.perf.tests/src/org/eclipse/linuxtools/internal/perf/tests/SaveSessionTest.java6
-rw-r--r--perf/org.eclipse.linuxtools.perf/plugin.xml4
-rw-r--r--perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/internal/perf/handlers/AbstractSaveDataHandler.java (renamed from perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/internal/perf/ui/AbstractSaveDataHandler.java)2
-rw-r--r--perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/internal/perf/handlers/Messages.java (renamed from perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/internal/perf/ui/Messages.java)4
-rw-r--r--perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/internal/perf/handlers/PerfSaveSessionHandler.java (renamed from perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/internal/perf/ui/PerfSaveSessionHandler.java)2
-rw-r--r--perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/internal/perf/handlers/PerfSaveStatsHandler.java (renamed from perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/internal/perf/ui/PerfSaveStatsHandler.java)2
-rw-r--r--perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/internal/perf/handlers/messages.properties (renamed from perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/internal/perf/ui/messages.properties)0
7 files changed, 10 insertions, 10 deletions
diff --git a/perf/org.eclipse.linuxtools.perf.tests/src/org/eclipse/linuxtools/internal/perf/tests/SaveSessionTest.java b/perf/org.eclipse.linuxtools.perf.tests/src/org/eclipse/linuxtools/internal/perf/tests/SaveSessionTest.java
index f00c4bf..823e6f3 100644
--- a/perf/org.eclipse.linuxtools.perf.tests/src/org/eclipse/linuxtools/internal/perf/tests/SaveSessionTest.java
+++ b/perf/org.eclipse.linuxtools.perf.tests/src/org/eclipse/linuxtools/internal/perf/tests/SaveSessionTest.java
@@ -18,9 +18,9 @@ import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.Path;
import org.eclipse.linuxtools.internal.perf.PerfPlugin;
import org.eclipse.linuxtools.internal.perf.StatData;
-import org.eclipse.linuxtools.internal.perf.ui.AbstractSaveDataHandler;
-import org.eclipse.linuxtools.internal.perf.ui.PerfSaveSessionHandler;
-import org.eclipse.linuxtools.internal.perf.ui.PerfSaveStatsHandler;
+import org.eclipse.linuxtools.internal.perf.handlers.AbstractSaveDataHandler;
+import org.eclipse.linuxtools.internal.perf.handlers.PerfSaveSessionHandler;
+import org.eclipse.linuxtools.internal.perf.handlers.PerfSaveStatsHandler;
import junit.framework.TestCase;
diff --git a/perf/org.eclipse.linuxtools.perf/plugin.xml b/perf/org.eclipse.linuxtools.perf/plugin.xml
index d362e67..9fc4c1a 100644
--- a/perf/org.eclipse.linuxtools.perf/plugin.xml
+++ b/perf/org.eclipse.linuxtools.perf/plugin.xml
@@ -188,12 +188,12 @@
<extension
point="org.eclipse.ui.commands">
<command
- defaultHandler="org.eclipse.linuxtools.internal.perf.ui.PerfSaveSessionHandler"
+ defaultHandler="org.eclipse.linuxtools.internal.perf.handlers.PerfSaveSessionHandler"
id="org.eclipse.linuxtools.perf.SaveData"
name="Save Current Session">
</command>
<command
- defaultHandler="org.eclipse.linuxtools.internal.perf.ui.PerfSaveStatsHandler"
+ defaultHandler="org.eclipse.linuxtools.internal.perf.handlers.PerfSaveStatsHandler"
id="org.eclipse.linuxtools.perf.SaveStatData"
name="Save Statistics">
</command>
diff --git a/perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/internal/perf/ui/AbstractSaveDataHandler.java b/perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/internal/perf/handlers/AbstractSaveDataHandler.java
index 1526ea5..e862c07 100644
--- a/perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/internal/perf/ui/AbstractSaveDataHandler.java
+++ b/perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/internal/perf/handlers/AbstractSaveDataHandler.java
@@ -8,7 +8,7 @@
* Contributors:
* Camilo Bernal <cabernal@redhat.com> - Initial Implementation.
*******************************************************************************/
-package org.eclipse.linuxtools.internal.perf.ui;
+package org.eclipse.linuxtools.internal.perf.handlers;
import java.io.Closeable;
import java.io.File;
diff --git a/perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/internal/perf/ui/Messages.java b/perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/internal/perf/handlers/Messages.java
index 986caa3..d60ead2 100644
--- a/perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/internal/perf/ui/Messages.java
+++ b/perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/internal/perf/handlers/Messages.java
@@ -8,12 +8,12 @@
* Contributors:
* Red Hat initial API and implementation
*******************************************************************************/
-package org.eclipse.linuxtools.internal.perf.ui;
+package org.eclipse.linuxtools.internal.perf.handlers;
import org.eclipse.osgi.util.NLS;
public class Messages extends NLS {
- private static final String BUNDLE_NAME = "org.eclipse.linuxtools.internal.perf.ui.messages"; //$NON-NLS-1$
+ private static final String BUNDLE_NAME = "org.eclipse.linuxtools.internal.perf.handlers.messages"; //$NON-NLS-1$
public static String PerfSaveSession_title;
public static String PerfSaveSession_msg;
public static String PerfSaveSession_invalid_filename_title;
diff --git a/perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/internal/perf/ui/PerfSaveSessionHandler.java b/perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/internal/perf/handlers/PerfSaveSessionHandler.java
index 6b93f10..29a43e6 100644
--- a/perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/internal/perf/ui/PerfSaveSessionHandler.java
+++ b/perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/internal/perf/handlers/PerfSaveSessionHandler.java
@@ -8,7 +8,7 @@
* Contributors:
* Camilo Bernal <cabernal@redhat.com> - Initial Implementation.
*******************************************************************************/
-package org.eclipse.linuxtools.internal.perf.ui;
+package org.eclipse.linuxtools.internal.perf.handlers;
import java.io.File;
import java.io.FileInputStream;
diff --git a/perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/internal/perf/ui/PerfSaveStatsHandler.java b/perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/internal/perf/handlers/PerfSaveStatsHandler.java
index a38984b..599d2f1 100644
--- a/perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/internal/perf/ui/PerfSaveStatsHandler.java
+++ b/perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/internal/perf/handlers/PerfSaveStatsHandler.java
@@ -8,7 +8,7 @@
* Contributors:
* Camilo Bernal <cabernal@redhat.com> - Initial Implementation.
*******************************************************************************/
-package org.eclipse.linuxtools.internal.perf.ui;
+package org.eclipse.linuxtools.internal.perf.handlers;
import java.io.BufferedWriter;
import java.io.File;
diff --git a/perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/internal/perf/ui/messages.properties b/perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/internal/perf/handlers/messages.properties
index 5e18869..5e18869 100644
--- a/perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/internal/perf/ui/messages.properties
+++ b/perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/internal/perf/handlers/messages.properties