Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

* gh-1: support for scala source files

  • Loading branch information...
commit 8b4aba0348512dd18a19f1bdd1c40c8f14d22962 1 parent d6e8aaf
George Armhold authored
2  src/com/armhold/wicketsource/Listener.java
View
@@ -136,7 +136,7 @@ public void handleMessage(String src)
}
String packageName = pieces[0];
- String fileName = pieces[1].replace(".java", "");
+ String fileName = pieces[1].replace(".java", "").replace(".scala", "");
int lineNumber = Integer.parseInt(pieces[2]);
String className = packageName + "." + fileName;
36 src/com/armhold/wicketsource/MyUIForm.form
View
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="com.armhold.wicketsource.WicketSourceApplicationComponent">
- <grid id="27dc6" binding="myPanel" layout-manager="GridLayoutManager" row-count="5" column-count="2" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
+ <grid id="27dc6" binding="myPanel" layout-manager="GridLayoutManager" row-count="4" column-count="2" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
<margin top="0" left="0" bottom="0" right="0"/>
<constraints>
- <xy x="20" y="20" width="1199" height="400"/>
+ <xy x="20" y="20" width="500" height="400"/>
</constraints>
<properties/>
<border type="none"/>
@@ -17,9 +17,14 @@
<text value="Wicket Source Configuration"/>
</properties>
</component>
+ <vspacer id="e99c">
+ <constraints>
+ <grid row="3" column="1" row-span="1" col-span="1" vsize-policy="6" hsize-policy="1" anchor="0" fill="2" indent="0" use-parent-layout="false"/>
+ </constraints>
+ </vspacer>
<component id="20f5e" class="javax.swing.JLabel">
<constraints>
- <grid row="2" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
+ <grid row="1" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<text value="Port:"/>
@@ -27,15 +32,15 @@
</component>
<component id="defdb" class="javax.swing.JLabel">
<constraints>
- <grid row="3" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
+ <grid row="2" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
- <text value="Password (optional):"/>
+ <text value="Password:"/>
</properties>
</component>
<component id="91f1d" class="javax.swing.JTextField" binding="portNumberField" default-binding="true">
<constraints>
- <grid row="2" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="6" anchor="8" fill="1" indent="0" use-parent-layout="false">
+ <grid row="1" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="6" anchor="8" fill="1" indent="0" use-parent-layout="false">
<preferred-size width="150" height="-1"/>
</grid>
</constraints>
@@ -43,29 +48,12 @@
</component>
<component id="a610e" class="javax.swing.JPasswordField" binding="passwordField" default-binding="true">
<constraints>
- <grid row="3" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="6" anchor="8" fill="1" indent="0" use-parent-layout="false">
+ <grid row="2" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="6" anchor="8" fill="1" indent="0" use-parent-layout="false">
<preferred-size width="150" height="-1"/>
</grid>
</constraints>
<properties/>
</component>
- <grid id="33c46" layout-manager="GridLayoutManager" row-count="1" column-count="1" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
- <margin top="0" left="0" bottom="0" right="0"/>
- <constraints>
- <grid row="4" column="1" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
- </constraints>
- <properties/>
- <border type="none"/>
- <children/>
- </grid>
- <component id="3bb2c" class="javax.swing.JLabel">
- <constraints>
- <grid row="1" column="1" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
- </constraints>
- <properties>
- <text value="&lt;html&gt;The Wicket Source Intellij plugin works in conjunction with a Firefox plugin from 42Lines. &lt;br/&gt;&lt;br/&gt;You'll also need to modify your wicket project slightly. Full instructions available at &lt;br/&gt;https://github.com/42Lines/wicket-source/wiki&lt;/html&gt;"/>
- </properties>
- </component>
</children>
</grid>
</form>
Please sign in to comment.
Something went wrong with that request. Please try again.