Author: yradtsevich
Date: 2011-12-02 07:04:51 -0500 (Fri, 02 Dec 2011)
New Revision: 36875
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe.browsersim.eclipse/plugin.xml
trunk/vpe/plugins/org.jboss.tools.vpe.browsersim/src/org/jboss/tools/vpe/browsersim/ui/BrowserSim.java
Log:
https://issues.jboss.org/browse/JBIDE-9539 : Browsersim app for testing mobile/desktop web
apps
- changed names of browsersim actions
- set default page as about:blank
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe.browsersim/src/org/jboss/tools/vpe/browsersim/ui/BrowserSim.java
===================================================================
---
trunk/vpe/plugins/org.jboss.tools.vpe.browsersim/src/org/jboss/tools/vpe/browsersim/ui/BrowserSim.java 2011-12-02
12:02:33 UTC (rev 36874)
+++
trunk/vpe/plugins/org.jboss.tools.vpe.browsersim/src/org/jboss/tools/vpe/browsersim/ui/BrowserSim.java 2011-12-02
12:04:51 UTC (rev 36875)
@@ -56,7 +56,7 @@
* @author Yahor Radtsevich (yradtsevich)
*/
public class BrowserSim implements Runnable {
- private static final String DEFAULT_URL =
"http://www.w3schools.com/js/tryit_view.asp?filename=try_nav_useragent";
//$NON-NLS-1$
+ private static final String DEFAULT_URL = "about:blank";
//"http://www.w3schools.com/js/tryit_view.asp?filename=try_nav_useragent";
//$NON-NLS-1$
private AbstractWebKitBrowser browser;
private Display display;
private Shell shell;
Modified: trunk/vpe/plugins/org.jboss.tools.vpe.browsersim.eclipse/plugin.xml
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.browsersim.eclipse/plugin.xml 2011-12-02
12:02:33 UTC (rev 36874)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.browsersim.eclipse/plugin.xml 2011-12-02
12:04:51 UTC (rev 36875)
@@ -8,7 +8,7 @@
id="org.jboss.tools.vpe.browsersim.eclipse.commands.category">
</category>
<command
- name="Run BrowserSim"
+ name="Run Mobile Browser Simulator"
categoryId="org.jboss.tools.vpe.browsersim.eclipse.commands.category"
id="org.jboss.tools.vpe.browsersim.eclipse.commands.runBrowserSim">
</command>
@@ -38,7 +38,7 @@
<command
commandId="org.jboss.tools.vpe.browsersim.eclipse.commands.runBrowserSim"
icon="icons/sample.gif"
- tooltip="Run BrowserSim"
+ tooltip="Run Mobile Browser Simulator"
id="org.jboss.tools.vpe.browsersim.eclipse.toolbars.runBrowserSim">
</command>
</toolbar>
@@ -59,7 +59,7 @@
executable=""
factoryclass="org.jboss.tools.vpe.browsersim.eclipse.BrowserSimFactory"
id="org.jboss.tools.vpe.browsersim.eclipse"
- name="BrowserSim"
+ name="Mobile Browser Simulator"
os="Win32,linux,MacOSX">
<location>
.