bobbyno-tbox 0.5.2 → 0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +6 -0
- data/Manifest.txt +23 -12
- data/README.rdoc +20 -9
- data/Rakefile +13 -1
- data/app_generators/java/USAGE +14 -0
- data/app_generators/java/java_generator.rb +39 -0
- data/app_generators/java/templates/Greeting.java +24 -0
- data/app_generators/java/templates/GreetingTest.java +18 -0
- data/app_generators/java/templates/build.xml +55 -0
- data/app_generators/java/templates/lib/hamcrest-core.jar +0 -0
- data/app_generators/java/templates/lib/junit.jar +0 -0
- data/app_generators/java/templates/project.iml +22 -0
- data/app_generators/java/templates/project.ipr +259 -0
- data/app_generators/{tbox → ruby}/USAGE +1 -2
- data/app_generators/ruby/ruby_generator.rb +34 -0
- data/app_generators/{tbox → ruby}/templates/file.txt +0 -0
- data/app_generators/{tbox → ruby}/templates/rakefile.rb +0 -0
- data/app_generators/{tbox → ruby}/templates/right_triangle.rb +0 -6
- data/app_generators/{tbox → ruby}/templates/tbox.rb +0 -0
- data/app_generators/ruby/templates/test_helper.rb +9 -0
- data/app_generators/{tbox → ruby}/templates/test_io.rb +0 -0
- data/app_generators/{tbox → ruby}/templates/test_right_triangle.rb +0 -0
- data/bin/tbox +6 -3
- data/lib/languages.rb +22 -0
- data/lib/tbox.rb +1 -1
- data/lib/tbox_app_generator.rb +41 -0
- data/test/test_generator_helper.rb +37 -0
- data/test/test_java_generator.rb +37 -0
- data/test/test_languages.rb +32 -0
- data/test/test_ruby_generator.rb +32 -0
- metadata +31 -18
- data/app_generators/tbox/tbox_generator.rb +0 -84
- data/app_generators/tbox/templates/README +0 -45
- data/app_generators/tbox/templates/test_helper.rb +0 -9
- data/tbox.gemspec +0 -40
- data/test/test_tbox_generator.rb +0 -63
data/History.txt
CHANGED
data/Manifest.txt
CHANGED
@@ -4,22 +4,33 @@ Manifest.txt
|
|
4
4
|
PostInstall.txt
|
5
5
|
README.rdoc
|
6
6
|
Rakefile
|
7
|
-
app_generators/
|
8
|
-
app_generators/
|
9
|
-
app_generators/
|
10
|
-
app_generators/
|
11
|
-
app_generators/
|
12
|
-
app_generators/
|
13
|
-
app_generators/
|
14
|
-
app_generators/
|
15
|
-
app_generators/
|
16
|
-
app_generators/
|
7
|
+
app_generators/java/USAGE
|
8
|
+
app_generators/java/java_generator.rb
|
9
|
+
app_generators/java/templates/Greeting.java
|
10
|
+
app_generators/java/templates/GreetingTest.java
|
11
|
+
app_generators/java/templates/build.xml
|
12
|
+
app_generators/java/templates/lib/hamcrest-core.jar
|
13
|
+
app_generators/java/templates/lib/junit.jar
|
14
|
+
app_generators/java/templates/project.iml
|
15
|
+
app_generators/java/templates/project.ipr
|
16
|
+
app_generators/ruby/USAGE
|
17
|
+
app_generators/ruby/ruby_generator.rb
|
18
|
+
app_generators/ruby/templates/file.txt
|
19
|
+
app_generators/ruby/templates/rakefile.rb
|
20
|
+
app_generators/ruby/templates/right_triangle.rb
|
21
|
+
app_generators/ruby/templates/tbox.rb
|
22
|
+
app_generators/ruby/templates/test_helper.rb
|
23
|
+
app_generators/ruby/templates/test_io.rb
|
24
|
+
app_generators/ruby/templates/test_right_triangle.rb
|
17
25
|
bin/tbox
|
26
|
+
lib/languages.rb
|
18
27
|
lib/tbox.rb
|
28
|
+
lib/tbox_app_generator.rb
|
19
29
|
script/console
|
20
30
|
script/destroy
|
21
31
|
script/generate
|
22
|
-
tbox.gemspec
|
23
32
|
test/test_generator_helper.rb
|
24
33
|
test/test_helper.rb
|
25
|
-
test/
|
34
|
+
test/test_java_generator.rb
|
35
|
+
test/test_languages.rb
|
36
|
+
test/test_ruby_generator.rb
|
data/README.rdoc
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
= tbox - A test-driven learning
|
1
|
+
= tbox - A framework to create sandboxes for test-driven learning
|
2
2
|
|
3
3
|
http://github.com/bobbyno/tbox/tree/master
|
4
4
|
|
@@ -6,17 +6,15 @@ More on Test-Driven Learning: http://www.bobbynorton.com/?p=36
|
|
6
6
|
|
7
7
|
== DESCRIPTION:
|
8
8
|
|
9
|
-
Test-driven learning is a way to master a programming language by writing unit tests around its API's
|
9
|
+
Test-driven learning is a way to master a programming language by writing unit tests around its API's.
|
10
10
|
tbox lowers the barrier to entry for test-driven learning by providing a basic infrastructure in which
|
11
|
-
to start coding: A directory structure, some classes and unit tests to get started, and a
|
12
|
-
all tests. For now, tbox is geared toward Ruby, though the technique is applicable to any language that
|
13
|
-
lends itself to TDD.
|
11
|
+
to start coding: A directory structure, some classes and unit tests to get started, and a build script.
|
14
12
|
|
15
13
|
== INSTALL:
|
16
14
|
|
17
15
|
The <code>tbox</code> application is distributed as a RubyGem and is available immediately after installation.
|
18
16
|
|
19
|
-
<code>$ gem sources -a http
|
17
|
+
<code>$ gem sources -a http:http://gems.github.com</code>
|
20
18
|
|
21
19
|
<code>$ sudo gem install bobbyno-tbox</code>
|
22
20
|
|
@@ -27,17 +25,30 @@ Alternately, download the gem and install manually from github.
|
|
27
25
|
Go to the folder where you want to create your new test sandbox, and run the <code>tbox</code> command
|
28
26
|
to generate your test scaffolding.
|
29
27
|
|
28
|
+
The default is Ruby:
|
29
|
+
|
30
30
|
<code>$ cd ~/ruby_projects</code>
|
31
31
|
|
32
32
|
<code>$ tbox learning_ruby</code>
|
33
33
|
|
34
34
|
<code>$ rake</code>
|
35
35
|
|
36
|
+
tbox also supports Java:
|
37
|
+
|
38
|
+
<code>$ cd ~/java_projects</code>
|
39
|
+
|
40
|
+
<code>$ tbox -j LearnJava</code>
|
41
|
+
|
42
|
+
<code>$ ant -f build/build.xml</code>
|
43
|
+
|
44
|
+
The Java command will also generate a <project name>.ipr file to allow the project to easily be
|
45
|
+
opened in IntelliJ 8.
|
46
|
+
|
36
47
|
== SYNOPSIS:
|
37
48
|
|
38
|
-
tbox
|
39
|
-
|
40
|
-
|
49
|
+
tbox currently creates environments for Ruby and Java, but can easily be extended to any language that
|
50
|
+
lends itself to unit testing. tbox is built on newgem, so extending the framework is as simple as creating
|
51
|
+
new generator scripts.
|
41
52
|
|
42
53
|
== REQUIREMENTS:
|
43
54
|
|
data/Rakefile
CHANGED
@@ -25,4 +25,16 @@ Dir['tasks/**/*.rake'].each { |t| load t }
|
|
25
25
|
# TODO - want other tests/tasks run by default? Add them to the list
|
26
26
|
# task :default => [:spec, :features]
|
27
27
|
|
28
|
-
|
28
|
+
desc "Create the gem and install it"
|
29
|
+
task :dev => [:clean, :manifest, :clean_manifest, :gemspec, :package, :install_gem]
|
30
|
+
|
31
|
+
desc "Strip out the entries in the .git folder"
|
32
|
+
task :clean_manifest do
|
33
|
+
manifest = IO.readlines("Manifest.txt")
|
34
|
+
clean = manifest.reject {|item| item =~ /.git/ }
|
35
|
+
File.open("Manifest.txt", mode_string="w" ) {|file| file.puts(clean)}
|
36
|
+
end
|
37
|
+
|
38
|
+
task :clean do
|
39
|
+
rm_f("tbox.gemspec")
|
40
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
Description:
|
2
|
+
|
3
|
+
tbox lowers the barrier to entry for test-driven learning by providing a basic infrastructure in which
|
4
|
+
to start coding: A directory structure, some classes and unit tests to get started, and a build script
|
5
|
+
to run all tests.
|
6
|
+
|
7
|
+
Usage:
|
8
|
+
|
9
|
+
$ cd ~/your_projects
|
10
|
+
$ tbox --java LearnJava
|
11
|
+
$ ant -f build/build.xml
|
12
|
+
|
13
|
+
If you have IntelliJ, open the IPR file to get started with adding your learning tests. If you have
|
14
|
+
a different IDE, follow the instructions to import your application as existing source.
|
@@ -0,0 +1,39 @@
|
|
1
|
+
require 'tbox_app_generator'
|
2
|
+
|
3
|
+
class JavaGenerator < TboxAppGenerator
|
4
|
+
|
5
|
+
def manifest
|
6
|
+
record do |m|
|
7
|
+
# Ensure appropriate folder(s) exists
|
8
|
+
m.directory ''
|
9
|
+
BASEDIRS.each { |path| m.directory path }
|
10
|
+
|
11
|
+
# root
|
12
|
+
m.template("project.ipr", "#{@name}.ipr")
|
13
|
+
m.file("project.iml", "#{@name}.iml")
|
14
|
+
|
15
|
+
# build
|
16
|
+
m.template("build.xml", "build/build.xml")
|
17
|
+
|
18
|
+
# lib
|
19
|
+
m.file_copy_each %w(hamcrest-core.jar junit.jar), "lib"
|
20
|
+
|
21
|
+
# src
|
22
|
+
m.directory "src/com/samples"
|
23
|
+
m.file("Greeting.java", "src/com/samples/Greeting.java")
|
24
|
+
|
25
|
+
# test
|
26
|
+
m.directory "test/com/samples"
|
27
|
+
m.file("GreetingTest.java", "test/com/samples/GreetingTest.java")
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
protected
|
32
|
+
# Installation skeleton.
|
33
|
+
BASEDIRS = %w(
|
34
|
+
build
|
35
|
+
lib
|
36
|
+
src
|
37
|
+
test
|
38
|
+
)
|
39
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
package com.samples;
|
2
|
+
|
3
|
+
/**
|
4
|
+
* Understands how to greet in several languages
|
5
|
+
*/
|
6
|
+
public class Greeting {
|
7
|
+
private final String subject;
|
8
|
+
|
9
|
+
public Greeting(String subject) {
|
10
|
+
this.subject = ", " + subject + "!";
|
11
|
+
}
|
12
|
+
|
13
|
+
public String english() {
|
14
|
+
return "Hello" + subject;
|
15
|
+
}
|
16
|
+
|
17
|
+
public String espanol() {
|
18
|
+
return "Hola" + subject;
|
19
|
+
}
|
20
|
+
|
21
|
+
public String farsi() {
|
22
|
+
return "Salam" + subject;
|
23
|
+
}
|
24
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
package com.samples;
|
2
|
+
|
3
|
+
import org.junit.Test;
|
4
|
+
import static org.junit.Assert.assertThat;
|
5
|
+
import static org.hamcrest.CoreMatchers.is;
|
6
|
+
|
7
|
+
/**
|
8
|
+
* Tests our toy class; ensures we have everything wired together.
|
9
|
+
*/
|
10
|
+
public class GreetingTest {
|
11
|
+
|
12
|
+
@Test
|
13
|
+
public void shouldSayHi() {
|
14
|
+
assertThat(new Greeting("World").english(), is("Hello, World!"));
|
15
|
+
assertThat(new Greeting("Donia").farsi(), is("Salam, Donia!"));
|
16
|
+
assertThat(new Greeting("Miami").espanol(), is("Hola, Miami!"));
|
17
|
+
}
|
18
|
+
}
|
@@ -0,0 +1,55 @@
|
|
1
|
+
<?xml version="1.0" ?>
|
2
|
+
<project default="all" basedir=".." name="<%= name %>">
|
3
|
+
|
4
|
+
<property name="message" value="Building the project...."/>
|
5
|
+
<property name="src" location="src"/>
|
6
|
+
<property name="test" location="test"/>
|
7
|
+
<property name="out" location="out"/>
|
8
|
+
<property name="dist" location="dist"/>
|
9
|
+
<property name="lib" location="lib"/>
|
10
|
+
<property name="results" location="dist/results"/>
|
11
|
+
|
12
|
+
<path id="test.lib">
|
13
|
+
<pathelement location="${lib}/junit.jar"/>
|
14
|
+
<pathelement location="${lib}/hamcrest-core.jar"/>
|
15
|
+
<pathelement location="${out}" />
|
16
|
+
</path>
|
17
|
+
|
18
|
+
<target name="all" depends="clean, init, compile, test, compress" description="Run all targets" />
|
19
|
+
|
20
|
+
<target name="clean" description="Remove working directories">
|
21
|
+
<delete dir="${dist}"/>
|
22
|
+
<delete dir="${out}"/>
|
23
|
+
</target>
|
24
|
+
|
25
|
+
<target name="init">
|
26
|
+
<mkdir dir="${out}"/>
|
27
|
+
<mkdir dir="${dist}"/>
|
28
|
+
<mkdir dir="${results}"/>
|
29
|
+
</target>
|
30
|
+
|
31
|
+
<target name="compile">
|
32
|
+
<javac srcdir="${src}" destdir="${out}"/>
|
33
|
+
<javac srcdir="${test}" destdir="${out}">
|
34
|
+
<classpath refid="test.lib" />
|
35
|
+
</javac>
|
36
|
+
</target>
|
37
|
+
|
38
|
+
<target name="test" depends="compile">
|
39
|
+
<junit printsummary="yes" haltonfailure="yes">
|
40
|
+
<formatter type="brief" usefile="false"/>
|
41
|
+
<classpath refid="test.lib"/>
|
42
|
+
<batchtest>
|
43
|
+
<fileset dir="${out}" includes="**/*Test.class"/>
|
44
|
+
</batchtest>
|
45
|
+
</junit>
|
46
|
+
</target>
|
47
|
+
|
48
|
+
<target name="compress">
|
49
|
+
<jar destfile="${dist}/${ant.project.name}.jar" basedir="${out}">
|
50
|
+
<include name="**/*.class"/>
|
51
|
+
<exclude name="**/*Test.class"/>
|
52
|
+
</jar>
|
53
|
+
</target>
|
54
|
+
|
55
|
+
</project>
|
Binary file
|
Binary file
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<module relativePaths="true" type="JAVA_MODULE" version="4">
|
3
|
+
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
4
|
+
<exclude-output />
|
5
|
+
<content url="file://$MODULE_DIR$">
|
6
|
+
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
7
|
+
<sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" />
|
8
|
+
</content>
|
9
|
+
<orderEntry type="inheritedJdk" />
|
10
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
11
|
+
<orderEntry type="module-library">
|
12
|
+
<library>
|
13
|
+
<CLASSES>
|
14
|
+
<root url="jar://$APPLICATION_HOME_DIR$/lib/junit-4.5.jar!/" />
|
15
|
+
</CLASSES>
|
16
|
+
<JAVADOC />
|
17
|
+
<SOURCES />
|
18
|
+
</library>
|
19
|
+
</orderEntry>
|
20
|
+
</component>
|
21
|
+
</module>
|
22
|
+
|
@@ -0,0 +1,259 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project relativePaths="false" version="4">
|
3
|
+
<component name="AntConfiguration">
|
4
|
+
<defaultAnt bundledAnt="true" />
|
5
|
+
<buildFile url="file://$PROJECT_DIR$/build/build.xml">
|
6
|
+
<additionalClassPath />
|
7
|
+
<antReference projectDefault="true" />
|
8
|
+
<customJdkName value="" />
|
9
|
+
<maximumHeapSize value="128" />
|
10
|
+
<maximumStackSize value="32" />
|
11
|
+
<properties />
|
12
|
+
</buildFile>
|
13
|
+
</component>
|
14
|
+
<component name="BuildJarProjectSettings">
|
15
|
+
<option name="BUILD_JARS_ON_MAKE" value="false" />
|
16
|
+
</component>
|
17
|
+
<component name="CodeStyleSettingsManager">
|
18
|
+
<option name="PER_PROJECT_SETTINGS" />
|
19
|
+
<option name="USE_PER_PROJECT_SETTINGS" value="false" />
|
20
|
+
</component>
|
21
|
+
<component name="CompilerConfiguration">
|
22
|
+
<option name="DEFAULT_COMPILER" value="Javac" />
|
23
|
+
<option name="DEPLOY_AFTER_MAKE" value="0" />
|
24
|
+
<resourceExtensions>
|
25
|
+
<entry name=".+\.(properties|xml|html|dtd|tld)" />
|
26
|
+
<entry name=".+\.(gif|png|jpeg|jpg)" />
|
27
|
+
</resourceExtensions>
|
28
|
+
<wildcardResourcePatterns>
|
29
|
+
<entry name="?*.properties" />
|
30
|
+
<entry name="?*.xml" />
|
31
|
+
<entry name="?*.gif" />
|
32
|
+
<entry name="?*.png" />
|
33
|
+
<entry name="?*.jpeg" />
|
34
|
+
<entry name="?*.jpg" />
|
35
|
+
<entry name="?*.html" />
|
36
|
+
<entry name="?*.dtd" />
|
37
|
+
<entry name="?*.tld" />
|
38
|
+
<entry name="?*.ftl" />
|
39
|
+
</wildcardResourcePatterns>
|
40
|
+
</component>
|
41
|
+
<component name="CopyrightManager" default="">
|
42
|
+
<module2copyright />
|
43
|
+
</component>
|
44
|
+
<component name="DependencyValidationManager">
|
45
|
+
<option name="SKIP_IMPORT_STATEMENTS" value="false" />
|
46
|
+
</component>
|
47
|
+
<component name="EclipseCompilerSettings">
|
48
|
+
<option name="DEBUGGING_INFO" value="true" />
|
49
|
+
<option name="GENERATE_NO_WARNINGS" value="true" />
|
50
|
+
<option name="DEPRECATION" value="false" />
|
51
|
+
<option name="ADDITIONAL_OPTIONS_STRING" value="" />
|
52
|
+
<option name="MAXIMUM_HEAP_SIZE" value="128" />
|
53
|
+
</component>
|
54
|
+
<component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false" />
|
55
|
+
<component name="IdProvider" IDEtalkID="CD12B10C71E44033B2F52F90C08DEF9E" />
|
56
|
+
<component name="InspectionProjectProfileManager">
|
57
|
+
<option name="PROJECT_PROFILE" value="Project Default" />
|
58
|
+
<option name="USE_PROJECT_LEVEL_SETTINGS" value="false" />
|
59
|
+
<scopes />
|
60
|
+
<profiles>
|
61
|
+
<profile version="1.0" is_locked="false">
|
62
|
+
<option name="myName" value="Project Default" />
|
63
|
+
<option name="myLocal" value="false" />
|
64
|
+
</profile>
|
65
|
+
</profiles>
|
66
|
+
<list size="0" />
|
67
|
+
</component>
|
68
|
+
<component name="JavacSettings">
|
69
|
+
<option name="DEBUGGING_INFO" value="true" />
|
70
|
+
<option name="GENERATE_NO_WARNINGS" value="false" />
|
71
|
+
<option name="DEPRECATION" value="true" />
|
72
|
+
<option name="ADDITIONAL_OPTIONS_STRING" value="" />
|
73
|
+
<option name="MAXIMUM_HEAP_SIZE" value="128" />
|
74
|
+
</component>
|
75
|
+
<component name="JavadocGenerationManager">
|
76
|
+
<option name="OUTPUT_DIRECTORY" />
|
77
|
+
<option name="OPTION_SCOPE" value="protected" />
|
78
|
+
<option name="OPTION_HIERARCHY" value="true" />
|
79
|
+
<option name="OPTION_NAVIGATOR" value="true" />
|
80
|
+
<option name="OPTION_INDEX" value="true" />
|
81
|
+
<option name="OPTION_SEPARATE_INDEX" value="true" />
|
82
|
+
<option name="OPTION_DOCUMENT_TAG_USE" value="false" />
|
83
|
+
<option name="OPTION_DOCUMENT_TAG_AUTHOR" value="false" />
|
84
|
+
<option name="OPTION_DOCUMENT_TAG_VERSION" value="false" />
|
85
|
+
<option name="OPTION_DOCUMENT_TAG_DEPRECATED" value="true" />
|
86
|
+
<option name="OPTION_DEPRECATED_LIST" value="true" />
|
87
|
+
<option name="OTHER_OPTIONS" value="" />
|
88
|
+
<option name="HEAP_SIZE" />
|
89
|
+
<option name="LOCALE" />
|
90
|
+
<option name="OPEN_IN_BROWSER" value="true" />
|
91
|
+
</component>
|
92
|
+
<component name="JikesSettings">
|
93
|
+
<option name="JIKES_PATH" value="" />
|
94
|
+
<option name="DEBUGGING_INFO" value="true" />
|
95
|
+
<option name="DEPRECATION" value="true" />
|
96
|
+
<option name="GENERATE_NO_WARNINGS" value="false" />
|
97
|
+
<option name="IS_EMACS_ERRORS_MODE" value="true" />
|
98
|
+
<option name="ADDITIONAL_OPTIONS_STRING" value="" />
|
99
|
+
</component>
|
100
|
+
<component name="Palette2">
|
101
|
+
<group name="Swing">
|
102
|
+
<item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
103
|
+
<default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" />
|
104
|
+
</item>
|
105
|
+
<item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
106
|
+
<default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" />
|
107
|
+
</item>
|
108
|
+
<item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
109
|
+
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" />
|
110
|
+
</item>
|
111
|
+
<item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false" auto-create-binding="false" can-attach-label="true">
|
112
|
+
<default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" />
|
113
|
+
</item>
|
114
|
+
<item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
115
|
+
<default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" />
|
116
|
+
<initial-values>
|
117
|
+
<property name="text" value="Button" />
|
118
|
+
</initial-values>
|
119
|
+
</item>
|
120
|
+
<item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
121
|
+
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
|
122
|
+
<initial-values>
|
123
|
+
<property name="text" value="RadioButton" />
|
124
|
+
</initial-values>
|
125
|
+
</item>
|
126
|
+
<item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
127
|
+
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
|
128
|
+
<initial-values>
|
129
|
+
<property name="text" value="CheckBox" />
|
130
|
+
</initial-values>
|
131
|
+
</item>
|
132
|
+
<item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
133
|
+
<default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" />
|
134
|
+
<initial-values>
|
135
|
+
<property name="text" value="Label" />
|
136
|
+
</initial-values>
|
137
|
+
</item>
|
138
|
+
<item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
139
|
+
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
140
|
+
<preferred-size width="150" height="-1" />
|
141
|
+
</default-constraints>
|
142
|
+
</item>
|
143
|
+
<item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
144
|
+
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
145
|
+
<preferred-size width="150" height="-1" />
|
146
|
+
</default-constraints>
|
147
|
+
</item>
|
148
|
+
<item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
149
|
+
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
150
|
+
<preferred-size width="150" height="-1" />
|
151
|
+
</default-constraints>
|
152
|
+
</item>
|
153
|
+
<item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
154
|
+
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
155
|
+
<preferred-size width="150" height="50" />
|
156
|
+
</default-constraints>
|
157
|
+
</item>
|
158
|
+
<item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
159
|
+
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
160
|
+
<preferred-size width="150" height="50" />
|
161
|
+
</default-constraints>
|
162
|
+
</item>
|
163
|
+
<item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
164
|
+
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
165
|
+
<preferred-size width="150" height="50" />
|
166
|
+
</default-constraints>
|
167
|
+
</item>
|
168
|
+
<item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
169
|
+
<default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" />
|
170
|
+
</item>
|
171
|
+
<item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
172
|
+
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
173
|
+
<preferred-size width="150" height="50" />
|
174
|
+
</default-constraints>
|
175
|
+
</item>
|
176
|
+
<item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
177
|
+
<default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3">
|
178
|
+
<preferred-size width="150" height="50" />
|
179
|
+
</default-constraints>
|
180
|
+
</item>
|
181
|
+
<item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
182
|
+
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
183
|
+
<preferred-size width="150" height="50" />
|
184
|
+
</default-constraints>
|
185
|
+
</item>
|
186
|
+
<item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
187
|
+
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
|
188
|
+
<preferred-size width="200" height="200" />
|
189
|
+
</default-constraints>
|
190
|
+
</item>
|
191
|
+
<item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
192
|
+
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
|
193
|
+
<preferred-size width="200" height="200" />
|
194
|
+
</default-constraints>
|
195
|
+
</item>
|
196
|
+
<item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
197
|
+
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
|
198
|
+
</item>
|
199
|
+
<item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
200
|
+
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
|
201
|
+
</item>
|
202
|
+
<item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
203
|
+
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" />
|
204
|
+
</item>
|
205
|
+
<item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
206
|
+
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" />
|
207
|
+
</item>
|
208
|
+
<item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
209
|
+
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1">
|
210
|
+
<preferred-size width="-1" height="20" />
|
211
|
+
</default-constraints>
|
212
|
+
</item>
|
213
|
+
<item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
214
|
+
<default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" />
|
215
|
+
</item>
|
216
|
+
<item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
217
|
+
<default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" />
|
218
|
+
</item>
|
219
|
+
</group>
|
220
|
+
</component>
|
221
|
+
<component name="ProjectDetails">
|
222
|
+
<option name="projectName" value="<%= name %>" />
|
223
|
+
</component>
|
224
|
+
<component name="ProjectFileVersion" converted="true" />
|
225
|
+
<component name="ProjectKey">
|
226
|
+
<option name="state" value="project://<%= destination_root %>/<%= name %>.ipr" />
|
227
|
+
</component>
|
228
|
+
<component name="ProjectModuleManager">
|
229
|
+
<modules>
|
230
|
+
<module fileurl="file://$PROJECT_DIR$/<%= name %>.iml" filepath="$PROJECT_DIR$/<%= name %>.iml" />
|
231
|
+
</modules>
|
232
|
+
</component>
|
233
|
+
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_5" assert-keyword="true" jdk-15="true" project-jdk-name="1.6" project-jdk-type="JavaSDK">
|
234
|
+
<output url="file://$PROJECT_DIR$/out" />
|
235
|
+
</component>
|
236
|
+
<component name="ResourceManagerContainer">
|
237
|
+
<option name="myResourceBundles">
|
238
|
+
<value>
|
239
|
+
<list size="0" />
|
240
|
+
</value>
|
241
|
+
</option>
|
242
|
+
</component>
|
243
|
+
<component name="RmicSettings">
|
244
|
+
<option name="IS_EANABLED" value="false" />
|
245
|
+
<option name="DEBUGGING_INFO" value="true" />
|
246
|
+
<option name="GENERATE_NO_WARNINGS" value="false" />
|
247
|
+
<option name="GENERATE_IIOP_STUBS" value="false" />
|
248
|
+
<option name="ADDITIONAL_OPTIONS_STRING" value="" />
|
249
|
+
</component>
|
250
|
+
<component name="SvnBranchConfigurationManager">
|
251
|
+
<option name="myVersion" value="124" />
|
252
|
+
<option name="mySupportsUserInfoFilter" value="true" />
|
253
|
+
</component>
|
254
|
+
<component name="VcsDirectoryMappings">
|
255
|
+
<mapping directory="" vcs="Git" />
|
256
|
+
</component>
|
257
|
+
<component name="WebServicesPlugin" addRequiredLibraries="true" />
|
258
|
+
</project>
|
259
|
+
|