You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by tv...@apache.org on 2009/06/16 00:38:05 UTC
svn commit: r785013 - in /incubator/pivot/trunk:
core/test/org/apache/pivot/util/test/ demos/src/org/apache/pivot/demos/clock/
tools/src/org/apache/pivot/tools/net/
tutorials/src/org/apache/pivot/tutorials/drawing/
tutorials/src/org/apache/pivot/tutori...
Author: tvolkert
Date: Mon Jun 15 22:38:04 2009
New Revision: 785013
URL: http://svn.apache.org/viewvc?rev=785013&view=rev
Log:
Fixed things missed by Eclipse's refactoring during recent refactor
Modified:
incubator/pivot/trunk/core/test/org/apache/pivot/util/test/ResourcesTest.java
incubator/pivot/trunk/demos/src/org/apache/pivot/demos/clock/clock.wtkd
incubator/pivot/trunk/tools/src/org/apache/pivot/tools/net/HTTPClient.java
incubator/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/drawing/rotate_line.wtkd
incubator/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/lists/ListButtons.java
incubator/pivot/trunk/web/www/index.html
incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/ApplicationContext.java
incubator/pivot/trunk/wtk/test/org/apache/pivot/wtk/test/color_list_button_test.wtkx
incubator/pivot/trunk/wtk/test/org/apache/pivot/wtkx/test/JavaTranslatorTest.java
Modified: incubator/pivot/trunk/core/test/org/apache/pivot/util/test/ResourcesTest.java
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/core/test/org/apache/pivot/util/test/ResourcesTest.java?rev=785013&r1=785012&r2=785013&view=diff
==============================================================================
--- incubator/pivot/trunk/core/test/org/apache/pivot/util/test/ResourcesTest.java (original)
+++ incubator/pivot/trunk/core/test/org/apache/pivot/util/test/ResourcesTest.java Mon Jun 15 22:38:04 2009
@@ -48,7 +48,7 @@
@Test
public void testReadDefaultLocale() throws Exception {
- Resources res = new Resources("pivot.util.test.test1");
+ Resources res = new Resources("org.apache.pivot.util.test.test1");
assertResources(res, "SGML", "Standard Generalized Markup Language");
}
@@ -59,7 +59,7 @@
*/
@Test
public void testRead_GB_Locale() throws Exception {
- Resources res = new Resources("pivot.util.test.test2");
+ Resources res = new Resources("org.apache.pivot.util.test.test2");
assertResources(res, "SGML",
"How Do, Youth, Standard Generalized Markup Language");
}
@@ -74,7 +74,7 @@
public void testRead_GB_en_Locale() throws Exception {
assertEquals("Default locale should be en_GB", "en_GB", Locale
.getDefault().toString());
- Resources res = new Resources("pivot.util.test.test3");
+ Resources res = new Resources("org.apache.pivot.util.test.test3");
assertResources(res, "XSGML",
"How Do, Youth, Standard Generalized Markup Language");
}
@@ -88,26 +88,26 @@
public void testRead_GB_en_LocaleExtraOverride() throws Exception {
assertEquals("Default locale should be en_GB", "en_GB", Locale
.getDefault().toString());
- Resources res = new Resources("pivot.util.test.test6");
+ Resources res = new Resources("org.apache.pivot.util.test.test6");
assertResources(res, "XSGML",
"eXtra Standard Generalized Markup Language");
}
@Test(expected=SerializationException.class)
public void testSerialisationException() throws Exception {
- new Resources("pivot.util.test.test4");
+ new Resources("org.apache.pivot.util.test.test4");
}
@Test(expected=MissingResourceException.class)
public void testMissingResource() throws Exception {
// resource doesn't exist...
- new Resources("pivot.util.test.test5");
+ new Resources("org.apache.pivot.util.test.test5");
}
@Test(expected=IllegalArgumentException.class)
public void testNullLocale() throws Exception {
// resource exists, but locale is null
- new Resources("pivot.util.test.test1", (Locale) null);
+ new Resources("org.apache.pivot.util.test.test1", (Locale) null);
}
@Test(expected=NullPointerException.class)
Modified: incubator/pivot/trunk/demos/src/org/apache/pivot/demos/clock/clock.wtkd
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/demos/src/org/apache/pivot/demos/clock/clock.wtkd?rev=785013&r1=785012&r2=785013&view=diff
==============================================================================
--- incubator/pivot/trunk/demos/src/org/apache/pivot/demos/clock/clock.wtkd (original)
+++ incubator/pivot/trunk/demos/src/org/apache/pivot/demos/clock/clock.wtkd Mon Jun 15 22:38:04 2009
@@ -20,7 +20,7 @@
xmlns:wtkx="http://pivot.apache.org/wtkx"
xmlns="org.apache.pivot.wtk.media">
<canvas>
- <Canvas xmlns="pivot.wtk.media.drawing">
+ <Canvas xmlns="org.apache.pivot.wtk.media.drawing">
<Ellipse x="41" y="1" width="238" height="238" stroke="#777777" strokeThickness="1" fill="#eeeeee"/>
<Path x="160" y="120" stroke="#000000" fill="#000000">
<Path.MoveTo x="-5" y="0"/>
Modified: incubator/pivot/trunk/tools/src/org/apache/pivot/tools/net/HTTPClient.java
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/tools/src/org/apache/pivot/tools/net/HTTPClient.java?rev=785013&r1=785012&r2=785013&view=diff
==============================================================================
--- incubator/pivot/trunk/tools/src/org/apache/pivot/tools/net/HTTPClient.java (original)
+++ incubator/pivot/trunk/tools/src/org/apache/pivot/tools/net/HTTPClient.java Mon Jun 15 22:38:04 2009
@@ -173,7 +173,7 @@
final Sheet sheet;
try {
- sheet = (Sheet)sheetSerializer.readObject("pivot/tools/net/setAuthentication.wtkx");
+ sheet = (Sheet)sheetSerializer.readObject(this, "setAuthentication.wtkx");
} catch (Exception ex) {
throw new RuntimeException(ex);
}
@@ -254,7 +254,7 @@
final Sheet sheet;
try {
- sheet = (Sheet)sheetSerializer.readObject("pivot/tools/net/setKeystore.wtkx");
+ sheet = (Sheet)sheetSerializer.readObject(this, "setKeystore.wtkx");
} catch (Exception ex) {
throw new RuntimeException(ex);
}
@@ -324,7 +324,7 @@
// Load the main app window
serializer = new WTKXSerializer();
- window = (Window)serializer.readObject("pivot/tools/net/application.wtkx");
+ window = (Window)serializer.readObject(this, "application.wtkx");
window.open(display);
TableView tableView = (TableView)serializer.get("log.tableView");
@@ -340,7 +340,7 @@
try {
detailsFrame = (Frame)frameSerializer.readObject
- ("pivot/tools/net/detailsFrame.wtkx");
+ (this, "detailsFrame.wtkx");
} catch (Exception ex) {
throw new RuntimeException(ex);
}
Modified: incubator/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/drawing/rotate_line.wtkd
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/drawing/rotate_line.wtkd?rev=785013&r1=785012&r2=785013&view=diff
==============================================================================
--- incubator/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/drawing/rotate_line.wtkd (original)
+++ incubator/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/drawing/rotate_line.wtkd Mon Jun 15 22:38:04 2009
@@ -20,7 +20,7 @@
xmlns:wtkx="http://pivot.apache.org/wtkx"
xmlns="org.apache.pivot.wtk.media">
<canvas>
- <Canvas xmlns="pivot.wtk.media.drawing">
+ <Canvas xmlns="org.apache.pivot.wtk.media.drawing">
<Line x1="0" y1="0" x2="0" y2="-160" strokeThickness="4">
<transforms>
<Shape.Translate x="160" y="160"/>
Modified: incubator/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/lists/ListButtons.java
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/lists/ListButtons.java?rev=785013&r1=785012&r2=785013&view=diff
==============================================================================
--- incubator/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/lists/ListButtons.java (original)
+++ incubator/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/lists/ListButtons.java Mon Jun 15 22:38:04 2009
@@ -47,7 +47,7 @@
// Get the image URL for the selected item
ClassLoader classLoader = ThreadUtilities.getClassLoader();
- URL imageURL = classLoader.getResource("pivot/tutorials/" + item);
+ URL imageURL = classLoader.getResource("org/apache/pivot/tutorials/" + item);
// If the image has not been added to the resource cache yet,
// add it
Modified: incubator/pivot/trunk/web/www/index.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/web/www/index.html?rev=785013&r1=785012&r2=785013&view=diff
==============================================================================
--- incubator/pivot/trunk/web/www/index.html (original)
+++ incubator/pivot/trunk/web/www/index.html Mon Jun 15 22:38:04 2009
@@ -20,10 +20,10 @@
<title>Web Query Test Client</title>
</head>
<body style="margin:0px; padding:0px">
-<applet code="pivot.wtk.BrowserApplicationContext$HostApplet"
+<applet code="org.apache.pivot.wtk.BrowserApplicationContext$HostApplet"
archive="lib/pivot-core.jar,lib/pivot-wtk.jar,lib/pivot-wtk.terra.jar,lib/pivot-web.jar,lib/stax-api-1.0.jar,lib/stax-1.2.0.jar,lib/pivot-web.test.jar"
width="100%" height="100%">
- <param name="applicationClassName" value="pivot.web.test.WebQueryTestClient">
+ <param name="applicationClassName" value="org.apache.pivot.web.test.WebQueryTestClient">
</applet>
</body>
</html>
Modified: incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/ApplicationContext.java
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/ApplicationContext.java?rev=785013&r1=785012&r2=785013&view=diff
==============================================================================
--- incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/ApplicationContext.java (original)
+++ incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/ApplicationContext.java Mon Jun 15 22:38:04 2009
@@ -268,7 +268,7 @@
}
try {
- debugRepaint = Boolean.parseBoolean(System.getProperty("pivot.wtk.debugRepaint"));
+ debugRepaint = Boolean.parseBoolean(System.getProperty("org.apache.pivot.wtk.debugRepaint"));
} catch (Exception ex) {
}
Modified: incubator/pivot/trunk/wtk/test/org/apache/pivot/wtk/test/color_list_button_test.wtkx
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/wtk/test/org/apache/pivot/wtk/test/color_list_button_test.wtkx?rev=785013&r1=785012&r2=785013&view=diff
==============================================================================
--- incubator/pivot/trunk/wtk/test/org/apache/pivot/wtk/test/color_list_button_test.wtkx (original)
+++ incubator/pivot/trunk/wtk/test/org/apache/pivot/wtk/test/color_list_button_test.wtkx Mon Jun 15 22:38:04 2009
@@ -18,7 +18,7 @@
<FlowPane xmlns:wtkx="http://pivot.apache.org/wtkx"
xmlns:collections="org.apache.pivot.collections"
- xmlns:content="org.apache.pivot.wtk.content" xmlns="pivot.wtk">
+ xmlns:content="org.apache.pivot.wtk.content" xmlns="org.apache.pivot.wtk">
<ListButton selectedIndex="0">
<listData>
<collections:ArrayList>
Modified: incubator/pivot/trunk/wtk/test/org/apache/pivot/wtkx/test/JavaTranslatorTest.java
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/wtk/test/org/apache/pivot/wtkx/test/JavaTranslatorTest.java?rev=785013&r1=785012&r2=785013&view=diff
==============================================================================
--- incubator/pivot/trunk/wtk/test/org/apache/pivot/wtkx/test/JavaTranslatorTest.java (original)
+++ incubator/pivot/trunk/wtk/test/org/apache/pivot/wtkx/test/JavaTranslatorTest.java Mon Jun 15 22:38:04 2009
@@ -37,7 +37,7 @@
("java_translator_test.wtkx");
JavaFileObject javaFileObject = translator.translate(inputStream,
- "pivot.wtkx.test.java_translator_test_WTKX");
+ "org.apache.pivot.wtkx.test.java_translator_test_WTKX");
System.out.println(javaFileObject.getCharContent(true));