Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

* 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
@@ -136,7 +136,7 @@ public void handleMessage(String src)
136 136 }
137 137
138 138 String packageName = pieces[0];
139   - String fileName = pieces[1].replace(".java", "");
  139 + String fileName = pieces[1].replace(".java", "").replace(".scala", "");
140 140 int lineNumber = Integer.parseInt(pieces[2]);
141 141
142 142 String className = packageName + "." + fileName;
36 src/com/armhold/wicketsource/MyUIForm.form
... ... @@ -1,9 +1,9 @@
1 1 <?xml version="1.0" encoding="UTF-8"?>
2 2 <form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="com.armhold.wicketsource.WicketSourceApplicationComponent">
3   - <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">
  3 + <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">
4 4 <margin top="0" left="0" bottom="0" right="0"/>
5 5 <constraints>
6   - <xy x="20" y="20" width="1199" height="400"/>
  6 + <xy x="20" y="20" width="500" height="400"/>
7 7 </constraints>
8 8 <properties/>
9 9 <border type="none"/>
@@ -17,9 +17,14 @@
17 17 <text value="Wicket Source Configuration"/>
18 18 </properties>
19 19 </component>
  20 + <vspacer id="e99c">
  21 + <constraints>
  22 + <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"/>
  23 + </constraints>
  24 + </vspacer>
20 25 <component id="20f5e" class="javax.swing.JLabel">
21 26 <constraints>
22   - <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"/>
  27 + <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"/>
23 28 </constraints>
24 29 <properties>
25 30 <text value="Port:"/>
@@ -27,15 +32,15 @@
27 32 </component>
28 33 <component id="defdb" class="javax.swing.JLabel">
29 34 <constraints>
30   - <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"/>
  35 + <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"/>
31 36 </constraints>
32 37 <properties>
33   - <text value="Password (optional):"/>
  38 + <text value="Password:"/>
34 39 </properties>
35 40 </component>
36 41 <component id="91f1d" class="javax.swing.JTextField" binding="portNumberField" default-binding="true">
37 42 <constraints>
38   - <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">
  43 + <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">
39 44 <preferred-size width="150" height="-1"/>
40 45 </grid>
41 46 </constraints>
@@ -43,29 +48,12 @@
43 48 </component>
44 49 <component id="a610e" class="javax.swing.JPasswordField" binding="passwordField" default-binding="true">
45 50 <constraints>
46   - <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">
  51 + <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">
47 52 <preferred-size width="150" height="-1"/>
48 53 </grid>
49 54 </constraints>
50 55 <properties/>
51 56 </component>
52   - <grid id="33c46" layout-manager="GridLayoutManager" row-count="1" column-count="1" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
53   - <margin top="0" left="0" bottom="0" right="0"/>
54   - <constraints>
55   - <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"/>
56   - </constraints>
57   - <properties/>
58   - <border type="none"/>
59   - <children/>
60   - </grid>
61   - <component id="3bb2c" class="javax.swing.JLabel">
62   - <constraints>
63   - <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"/>
64   - </constraints>
65   - <properties>
66   - <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;"/>
67   - </properties>
68   - </component>
69 57 </children>
70 58 </grid>
71 59 </form>

0 comments on commit 8b4aba0

Please sign in to comment.
Something went wrong with that request. Please try again.