Fixed bug 1998
authortasneems@symbian.org
Wed, 24 Feb 2010 14:45:25 -0800
changeset 196 dac81ca327ce
parent 193 66f26ca4b0dd
child 197 79af744d63ed
Fixed bug 1998
org.symbian.tools.wrttools.previewer/preview/css/style.css
org.symbian.tools.wrttools.previewer/preview/images/test-Memory_icon.gif
org.symbian.tools.wrttools.previewer/preview/images/test-Memory_icon.png
org.symbian.tools.wrttools.previewer/preview/images/test-Messaging.gif
org.symbian.tools.wrttools.previewer/preview/images/test-Messaging.png
org.symbian.tools.wrttools.previewer/preview/images/test-settings.gif
org.symbian.tools.wrttools.previewer/preview/images/test-settings.png
org.symbian.tools.wrttools.previewer/preview/wrt_preview.html
org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/core/deployer/IWidgetDeployer.java
org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/core/deployer/WidgetDeployer.java
org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/core/marker/WRTMarker.java
org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/core/packager/ExcludeFileAction.java
org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/core/packager/IncludeFileAction.java
org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/core/packager/PackagerZipFolder.java
org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/core/packager/WRTPackagerConstants.java
org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/core/report/IMessageListener.java
org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/core/report/messages.properties
org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/core/status/IWRTConstants.java
org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/core/validator/WidgetValidator.java
org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/core/widgetmodel/WidgetModel.java
org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/sdt/utils/DefaultMessageListener.java
org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/sdt/utils/Logging.java
org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/sdt/utils/Message.java
org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/sdt/utils/noexport/Messages.java
--- a/org.symbian.tools.wrttools.previewer/preview/css/style.css	Wed Feb 24 14:04:54 2010 -0800
+++ b/org.symbian.tools.wrttools.previewer/preview/css/style.css	Wed Feb 24 14:45:25 2010 -0800
@@ -283,7 +283,8 @@
 div#PreferencesBtn{
 	width: 75px;
 	height: 85px;
-	background-image: url(../images/settings-icon.png);
+/*  background-image: url(../images/settings-icon.png); */
+    background-image: url(../images/test-settings.gif);
 	position: absolute;
 	top: 10px;
 	left: 10px;
@@ -455,11 +456,14 @@
 }
 
 div#event-messaging{
-	background-image: url(../images/messaging-icon.gif);
+	/* background-image: url(../images/messaging-icon.gif); */
+	background-image: url(../images/test-Messaging.png);
+	
 }
 
 div#event-memory{
-	background-image: url(../images/memory-icon.png);
+	/* background-image: url(../images/memory-icon.png); */
+	background-image: url(../images/test-Memory_icon.png);
 }
 
 div.ui-panel{
Binary file org.symbian.tools.wrttools.previewer/preview/images/test-Memory_icon.gif has changed
Binary file org.symbian.tools.wrttools.previewer/preview/images/test-Memory_icon.png has changed
Binary file org.symbian.tools.wrttools.previewer/preview/images/test-Messaging.gif has changed
Binary file org.symbian.tools.wrttools.previewer/preview/images/test-Messaging.png has changed
Binary file org.symbian.tools.wrttools.previewer/preview/images/test-settings.gif has changed
Binary file org.symbian.tools.wrttools.previewer/preview/images/test-settings.png has changed
--- a/org.symbian.tools.wrttools.previewer/preview/wrt_preview.html	Wed Feb 24 14:04:54 2010 -0800
+++ b/org.symbian.tools.wrttools.previewer/preview/wrt_preview.html	Wed Feb 24 14:45:25 2010 -0800
@@ -209,10 +209,10 @@
 	<div id="orientationIcon"></div>
 	<div id="loaderDiv"></div>
 	<div id="NotificationDiv" class="hide">
-		<p>NOKIA WRT Simulation may not work properly on this browser, <br/>Firefox is recommended for widget preview and debugging.  <br/><br/><strong>Continue?</strong></p>
+		<p>WRT Simulation may not work properly on this browser, <br/>Chrome is recommended for widget preview and debugging.  <br/><br/><strong>Continue?</strong></p>
 	</div>
 	<div id="BrowserNotificationBar" class="hide">
-		<p><a></a>NOKIA WRT Simulation may not work properly on this browser, Firefox is recommended for widget preview and debugging</p>
+		<p><a></a>WRT Simulation may not work properly on this browser, Chrome is recommended for widget preview and debugging</p>
 	</div>
 </body>
 </html>
--- a/org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/core/deployer/IWidgetDeployer.java	Wed Feb 24 14:04:54 2010 -0800
+++ b/org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/core/deployer/IWidgetDeployer.java	Wed Feb 24 14:45:25 2010 -0800
@@ -1,13 +1,21 @@
-/* ============================================================================
- * Copyright © 2008 Nokia. All rights reserved.
- * This material, including documentation and any related computer
- * programs, is protected by copyright controlled by Nokia. All
- * rights are reserved. Copying, including reproducing, storing,
- * adapting or translating, any or all of this material requires the
- * prior written consent of Nokia. This material also contains
- * confidential information which may not be disclosed to others
- * without the prior written consent of Nokia.
- * ============================================================================*/
+/**
+ * Copyright (c) 2009 Symbian Foundation and/or its subsidiary(-ies).
+ * All rights reserved.
+ * This component and the accompanying materials are made available
+ * under the terms of the License "Eclipse Public License v1.0"
+ * which accompanies this distribution, and is available
+ * at the URL "http://www.eclipse.org/legal/epl-v10.html".
+ *
+ * Initial Contributors:
+ * Symbian Foundation - initial contribution.
+ * Contributors:
+ * Description:
+ * Overview:
+ * Details:
+ * Platforms/Drives/Compatibility:
+ * Assumptions/Requirement/Pre-requisites:
+ * Failures and causes:
+ */
 
 package org.symbian.tools.wrttools.core.deployer;
 
--- a/org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/core/deployer/WidgetDeployer.java	Wed Feb 24 14:04:54 2010 -0800
+++ b/org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/core/deployer/WidgetDeployer.java	Wed Feb 24 14:45:25 2010 -0800
@@ -1,13 +1,21 @@
-/* ============================================================================
- * Copyright © 2008 Nokia. All rights reserved.
- * This material, including documentation and any related computer
- * programs, is protected by copyright controlled by Nokia. All
- * rights are reserved. Copying, including reproducing, storing,
- * adapting or translating, any or all of this material requires the
- * prior written consent of Nokia. This material also contains
- * confidential information which may not be disclosed to others
- * without the prior written consent of Nokia.
- * ============================================================================*/
+/**
+ * Copyright (c) 2009 Symbian Foundation and/or its subsidiary(-ies).
+ * All rights reserved.
+ * This component and the accompanying materials are made available
+ * under the terms of the License "Eclipse Public License v1.0"
+ * which accompanies this distribution, and is available
+ * at the URL "http://www.eclipse.org/legal/epl-v10.html".
+ *
+ * Initial Contributors:
+ * Symbian Foundation - initial contribution.
+ * Contributors:
+ * Description:
+ * Overview:
+ * Details:
+ * Platforms/Drives/Compatibility:
+ * Assumptions/Requirement/Pre-requisites:
+ * Failures and causes:
+ */
 
 package org.symbian.tools.wrttools.core.deployer;
 
--- a/org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/core/marker/WRTMarker.java	Wed Feb 24 14:04:54 2010 -0800
+++ b/org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/core/marker/WRTMarker.java	Wed Feb 24 14:45:25 2010 -0800
@@ -38,7 +38,7 @@
 	 * WRTValidator problem marker type. This can be used to recognize those markers
 	 * in the workspace that flag problems detected by the CodeScanner plugin.
 	 */
-	public static final String WRT_PROBLEM_MARKER = Activator.PLUGIN_ID + ".com.nokia.wrt.core.validator.marker"; //$NON-NLS-1$
+	public static final String WRT_PROBLEM_MARKER = Activator.PLUGIN_ID + ".org.symbian.tools.wrttools.core.validator.marker"; //$NON-NLS-1$
 	
 //	public static final String WRT_PROBLEM_MARKER = Activator.PLUGIN_ID + ".WRTMarker"; //$NON-NLS-1$
 	
--- a/org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/core/packager/ExcludeFileAction.java	Wed Feb 24 14:04:54 2010 -0800
+++ b/org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/core/packager/ExcludeFileAction.java	Wed Feb 24 14:45:25 2010 -0800
@@ -68,7 +68,7 @@
 			}
 		}
 		/*Refresh project tree when property is changed */ 
-		PlatformUI.getWorkbench().getDecoratorManager().update("com.nokia.wrt.decorator"); 
+		PlatformUI.getWorkbench().getDecoratorManager().update("org.symbian.tools.wrttools.decorator"); 
 	}
 	
 	public void selectionChanged(IAction action, ISelection selection) {
--- a/org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/core/packager/IncludeFileAction.java	Wed Feb 24 14:04:54 2010 -0800
+++ b/org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/core/packager/IncludeFileAction.java	Wed Feb 24 14:45:25 2010 -0800
@@ -71,7 +71,7 @@
 			}
 		}
 		/*Refresh project tree when property is changed */ 
-		PlatformUI.getWorkbench().getDecoratorManager().update("com.nokia.wrt.decorator"); 
+		PlatformUI.getWorkbench().getDecoratorManager().update("org.symbian.tools.wrttools.decorator"); 
 	}
 	
 	/**
--- a/org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/core/packager/PackagerZipFolder.java	Wed Feb 24 14:04:54 2010 -0800
+++ b/org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/core/packager/PackagerZipFolder.java	Wed Feb 24 14:45:25 2010 -0800
@@ -40,8 +40,6 @@
 
 //import org.apache.commons.io.IOUtils;
 
-//import com.nokia.wrt.core.report.IMessageListener;
-//import com.nokia.wrt.core.report.Message;
 import org.symbian.tools.wrttools.core.status.IWRTConstants;
 import org.symbian.tools.wrttools.core.status.IWRTStatusListener;
 import org.symbian.tools.wrttools.core.status.WRTStatus;
--- a/org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/core/packager/WRTPackagerConstants.java	Wed Feb 24 14:04:54 2010 -0800
+++ b/org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/core/packager/WRTPackagerConstants.java	Wed Feb 24 14:45:25 2010 -0800
@@ -23,7 +23,7 @@
 
 public class WRTPackagerConstants {
 	
-	public static QualifiedName EXCLUDE_PROPERTY = new QualifiedName("com.nokia.wrt.packager", "exclude");
+	public static QualifiedName EXCLUDE_PROPERTY = new QualifiedName("org.symbian.tools.wrttools.core.packager", "exclude");
 	
 
 	public static String STA_PKG_PASSED = PackagerMessages.getString("WRTPackagerConstants.success"); //$NON-NLS-1$
--- a/org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/core/report/IMessageListener.java	Wed Feb 24 14:04:54 2010 -0800
+++ b/org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/core/report/IMessageListener.java	Wed Feb 24 14:45:25 2010 -0800
@@ -1,13 +1,21 @@
-/* ============================================================================
- * Copyright © 2008 Nokia. All rights reserved.
- * This material, including documentation and any related computer
- * programs, is protected by copyright controlled by Nokia. All
- * rights are reserved. Copying, including reproducing, storing,
- * adapting or translating, any or all of this material requires the
- * prior written consent of Nokia. This material also contains
- * confidential information which may not be disclosed to others
- * without the prior written consent of Nokia.
- * ============================================================================*/
+/**
+ * Copyright (c) 2009 Symbian Foundation and/or its subsidiary(-ies).
+ * All rights reserved.
+ * This component and the accompanying materials are made available
+ * under the terms of the License "Eclipse Public License v1.0"
+ * which accompanies this distribution, and is available
+ * at the URL "http://www.eclipse.org/legal/epl-v10.html".
+ *
+ * Initial Contributors:
+ * Symbian Foundation - initial contribution.
+ * Contributors:
+ * Description:
+ * Overview:
+ * Details:
+ * Platforms/Drives/Compatibility:
+ * Assumptions/Requirement/Pre-requisites:
+ * Failures and causes:
+ */
 
 package org.symbian.tools.wrttools.core.report;
 
--- a/org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/core/report/messages.properties	Wed Feb 24 14:04:54 2010 -0800
+++ b/org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/core/report/messages.properties	Wed Feb 24 14:45:25 2010 -0800
@@ -1,7 +1,7 @@
 HtmlReportHandler.convert.title=Dashboard widget conversion report
-HtmlReportHandler.convert.description=Automatic conversions performed by the converter to match Nokia Web Runtime.
+HtmlReportHandler.convert.description=Automatic conversions performed by the converter to match Web Runtime.
 HtmlReportHandler.analysis.report.title=Dashboard widget analysis report
-HtmlReportHandler.analysis.report.description=This analysis report lists the mandatory or optional conversions needed to port the widget to Nokia Web Runtime.
+HtmlReportHandler.analysis.report.description=This analysis report lists the mandatory or optional conversions needed to port the widget to Web Runtime.
 HtmlReportHandler.file.name=File name
 HtmlReportHandler.line.number=Line number
 HtmlReportHandler.convert.action.needed=Action needed
--- a/org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/core/status/IWRTConstants.java	Wed Feb 24 14:04:54 2010 -0800
+++ b/org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/core/status/IWRTConstants.java	Wed Feb 24 14:45:25 2010 -0800
@@ -74,11 +74,11 @@
 	/**
 	 * Locally stored Nokia DTD
 	 */
-	public static String NOKIA_PLIST_DTD = "/com/nokia/wrt/core/widgetmodel/plist-1.0.dtd";
+	public static String NOKIA_PLIST_DTD = "/org/symbian/tools/wrttools/core/widgetmodel/plist-1.0.dtd";
 	/**
 	 * Locally stored Apple DTD
 	 */
-	public static String APPLE_PLIST_DTD = "/com/nokia/wrt/core/converter/PropertyList-1.0.dtd";
+//	public static String APPLE_PLIST_DTD = "/com/nokia/wrt/core/converter/PropertyList-1.0.dtd";
 	/**
 	 * Nokia DTD in nfo.plist file 
 	 */
--- a/org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/core/validator/WidgetValidator.java	Wed Feb 24 14:04:54 2010 -0800
+++ b/org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/core/validator/WidgetValidator.java	Wed Feb 24 14:45:25 2010 -0800
@@ -54,7 +54,7 @@
  * .plist -  This file will be parsed to verify for the Nokia specific DTD 
  *        
  *            1. <key >DisplayName</key> - display name should exist
- *            2. <key>Identifier</key>  - value should be of com.nokia. **
+ *            2. <key>Identifier</key>  - value should be of org.symbian.tools.wrttools. **
  *            3. <key>MainHTML</key>    - value should be same as the .html file name
  * 
  *  
--- a/org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/core/widgetmodel/WidgetModel.java	Wed Feb 24 14:04:54 2010 -0800
+++ b/org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/core/widgetmodel/WidgetModel.java	Wed Feb 24 14:45:25 2010 -0800
@@ -1272,20 +1272,7 @@
 		  try {
 				showData(" ############################################################################################################################# ");
 				model.getWidgetModel( "C:/ModelTest/Flickr");	
-//			model.getWidgetModel( "C:/ModelTest/HelloWorld");
-//			  model.getWidgetModel( "C:/ModelTest/mFootyAmazonPedia.wdgt");
-			  
-//			  model.getWidgetModel( "C:/ModelTest/mFooty");
-//			  model.getWidgetModel( "C:/ModelTest/NokiaRSS");
-//			  model.getWidgetModel( "C:/ModelTest/Widgets/bmi");
-//			  model.getWidgetModel( "C:/ModelTest/blink");
-//			  model.getWidgetModel( "C:/ModelTest/Gmail");			  
-//			  model.getWidgetModel( "C:/ModelTest/MOSH");
-//			  model.getWidgetModel( "C:/ModelTest/AmazonPedia.wdgt");
-//			  model.getWidgetModel( "C:/ModelTest/UniversalDecider");
-//			  model.getWidgetModel( "d:/ModelTest/Beep");
-//				  model.getWidgetModel( "C:/ModelTest/blankPlist");
-//				 model.getWidgetModel( "C:/ModelTest/AmazonPedia.wdgt");
+
 			  /**
 				List<String> fileNames=null;	
 				FileUtil filehelper = new FileUtil();
--- a/org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/sdt/utils/DefaultMessageListener.java	Wed Feb 24 14:04:54 2010 -0800
+++ b/org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/sdt/utils/DefaultMessageListener.java	Wed Feb 24 14:45:25 2010 -0800
@@ -32,7 +32,7 @@
 	
 	
 	/* (non-Javadoc)
-	 * @see com.nokia.sdt.utils.IMessageListener#isHandlingMessage(com.nokia.sdt.utils.IMessage)
+	 * @see org.symbian.tools.wrttools.sdt.utils.IMessageListener#isHandlingMessage(org.symbian.tools.wrttools.sdt.utils.IMessage)
 	 */
 	public boolean isHandlingMessage(IMessage msg) {
 		// in case this gets added as a MessageReporting listener
--- a/org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/sdt/utils/Logging.java	Wed Feb 24 14:04:54 2010 -0800
+++ b/org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/sdt/utils/Logging.java	Wed Feb 24 14:45:25 2010 -0800
@@ -269,7 +269,7 @@
      * @param option
      *            The debug option to test. The plugin's symbolic name is
      *            prepended to the option name, e.g.
-     *            "com.nokia.myplugin"+"/"+option
+     *            "org.symbian.tools.wrttools.myplugin"+"/"+option
      * @return true if debugging enabled and option enabled (e.g. defined and
      *         set to "true")
      */
@@ -325,7 +325,7 @@
      *            the calling plugin, or null
      * @param option
      *            the debug option to test. The plugin name is prepended to the
-     *            option name, e.g. "com.nokia.myplugin"+"/"+option
+     *            option name, e.g. "org.symbian.tools.wrttools.myplugin"+"/"+option
      * @param status
      *            the status object
      * @see Logging#isDebugOptionEnabled(Plugin, String)
--- a/org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/sdt/utils/Message.java	Wed Feb 24 14:04:54 2010 -0800
+++ b/org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/sdt/utils/Message.java	Wed Feb 24 14:45:25 2010 -0800
@@ -146,56 +146,56 @@
     }
 
     /* (non-Javadoc)
-     * @see com.nokia.sdt.component.sourcegen.ISourceGenProblem#getSeverity()
+     * @see org.symbian.tools.wrttools.sdt.component.sourcegen.ISourceGenProblem#getSeverity()
      */
     public int getSeverity() {
         return severity;
     }
 
     /* (non-Javadoc)
-     * @see com.nokia.sdt.utils.IMessage#getMessageLocation()
+     * @see org.symbian.tools.wrttools.sdt.utils.IMessage#getMessageLocation()
      */
     public MessageLocation getMessageLocation() {
         return ref;
     }
     
     /* (non-Javadoc)
-     * @see com.nokia.sdt.utils.IMessage#getLocation()
+     * @see org.symbian.tools.wrttools.sdt.utils.IMessage#getLocation()
      */
     public IPath getLocation() {
         return ref != null ? ref.getLocation() : null;
     }
     
     /* (non-Javadoc)
-     * @see com.nokia.sdt.utils.IMessage#getPath()
+     * @see org.symbian.tools.wrttools.sdt.utils.IMessage#getPath()
      */
     public IPath getPath() {
         return ref != null ? ref.getPath() : null;
     }
     
     /* (non-Javadoc)
-     * @see com.nokia.sdt.component.sourcegen.ISourceGenProblem#getLineNumber()
+     * @see org.symbian.tools.wrttools.sdt.component.sourcegen.ISourceGenProblem#getLineNumber()
      */
     public int getLineNumber() {
         return ref != null ? ref.lineNumber : -1;
     }
 
     /* (non-Javadoc)
-     * @see com.nokia.sdt.sourcegen.ISourceGenMessage#getColumnNumber()
+     * @see org.symbian.tools.wrttools.sdt.sourcegen.ISourceGenMessage#getColumnNumber()
      */
     public int getColumnNumber() {
         return ref != null ? ref.columnNumber : -1;
     }
     
     /* (non-Javadoc)
-     * @see com.nokia.sdt.component.sourcegen.ISourceGenProblem#getMessage()
+     * @see org.symbian.tools.wrttools.sdt.component.sourcegen.ISourceGenProblem#getMessage()
      */
     public String getMessage() {
         return text;
     }
 
     /* (non-Javadoc)
-     * @see com.nokia.sdt.component.sourcegen.ISourceGenProblem#getMessageKey()
+     * @see org.symbian.tools.wrttools.sdt.component.sourcegen.ISourceGenProblem#getMessageKey()
      */
     public String getMessageKey() {
         return key;
--- a/org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/sdt/utils/noexport/Messages.java	Wed Feb 24 14:04:54 2010 -0800
+++ b/org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/sdt/utils/noexport/Messages.java	Wed Feb 24 14:45:25 2010 -0800
@@ -27,7 +27,7 @@
  *
  */
 public class Messages {
-    private static final String BUNDLE_NAME = "com.nokia.sdt.utils.noexport.messages";//$NON-NLS-1$
+    private static final String BUNDLE_NAME = "org.symbian.tools.wrttools.sdt.utils.noexport.messages";//$NON-NLS-1$
 
     private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle
             .getBundle(BUNDLE_NAME);