Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 8bcbc99

Browse files
committed
latest
1 parent 8d23604 commit 8bcbc99

File tree

19,529 files changed

+4148623
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

19,529 files changed

+4148623
-0
lines changed

LICENSE/TopCoder UML Tool License.pdf

34.2 KB
Binary file not shown.

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,22 @@ Uninstall the UML tool
2626
An icon should be created for the uninstaller (if you selected to install icons, and if the izPack installer supports icons for your OS).
2727

2828
If there is no icon, or for some reason you wish to uninstall manually, go to wherever you installed the app and run the Uninstaller\uninstaller.jar file. This can be done in the GUI if your OS supports it, or else run java -jar uninstaller.jar from the Uninstaller directory.
29+
30+
Build
31+
========================
32+
The build.xml is a development contest like build file. To use it you need at least
33+
Ant 1.6.5 installed and ready to run.
34+
35+
The available targets used in this assembly are:
36+
37+
+ ant compile
38+
Compiles all classes from this assembly
39+
40+
+ ant run
41+
Run the UML Tool to use.
42+
43+
44+
Configuration File
45+
========================
46+
Valid configuration files are kept under the config directory and the configmanager.properties file is given such that
47+
the config files are loaded while instantiating.

TestSetting.properties

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
delayRatio=1.0
2+
delayAdjust=0
3+
calmDelay=500
4+
keyBoardType=US101
5+
isScrollArrowPlaceTogether=true
6+
clickInterval=200
7+
singleClickTime=300
8+
doubleClickTime=100
9+
screenInsetTop=0
10+
screenInsetBottom=0
11+
screenInsetRight=0
12+
screenInsetLeft=0
13+
isCapturableWhenExceptionIsThrown=true
14+
useKeywordSubstitution=true
15+
hostsAllowed=localhost
16+
agentWaitTime=1000
17+
port=8999
18+
debugInfo=true

build.xml

Lines changed: 998 additions & 0 deletions
Large diffs are not rendered by default.

conf/.svn/entries

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
12

conf/.svn/format

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
12
Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
<?xml version="1.0" ?>
2+
3+
<!-- File containing sample configuration details for use with
4+
the Standard Class Data Loader component -->
5+
6+
<CMConfig>
7+
<!-- configuration for the overall panel -->
8+
<Config name="com.topcoder.uml.standardclassloader.ClassDataLoaderStrategy">
9+
<!-- required construction parameter
10+
for use with the object factory -->
11+
<Property name="objectFactoryNamespace">
12+
<Value>com.topcoder.uml.standardclassloader.ClassDataLoaderStrategy.objectFactory</Value>
13+
</Property>
14+
15+
<!-- supported languages -->
16+
<Property name="languages">
17+
<Value>Java</Value>
18+
<Value>CSharp</Value>
19+
</Property>
20+
21+
<!-- Java loader information -->
22+
<Property name="Java">
23+
<Property name="key">
24+
<Value>javaLoader</Value>
25+
</Property>
26+
</Property>
27+
28+
<!-- CSharp loader information -->
29+
<Property name="CSharp">
30+
<Property name="key">
31+
<Value>csharpLoader</Value>
32+
</Property>
33+
</Property>
34+
</Config>
35+
36+
<Config name="com.topcoder.uml.standardclassloader">
37+
<!-- required construction parameter
38+
for use with the object factory -->
39+
<Property name="objectFactoryNamespace">
40+
<Value>classData_objectFactory</Value>
41+
</Property>
42+
43+
<!-- supported languages -->
44+
<Property name="languages">
45+
<Value>Java</Value>
46+
<Value>CSharp</Value>
47+
</Property>
48+
49+
<!-- Java loader information -->
50+
<Property name="Java">
51+
<Property name="key">
52+
<Value>javaLoader</Value>
53+
</Property>
54+
</Property>
55+
56+
<!-- CSharp loader information -->
57+
<Property name="CSharp">
58+
<Property name="key">
59+
<Value>csharpLoader</Value>
60+
</Property>
61+
</Property>
62+
</Config>
63+
64+
<!-- Namespace for possible use with the object factory component -->
65+
<Config name="com.topcoder.uml.standardclassloader.ClassDataLoaderStrategy.objectFactory">
66+
<!-- Object factory configuration for the default java loader -->
67+
<Property name="javaLoader">
68+
<Property name="type">
69+
<Value>com.topcoder.uml.standardclassloader.implementations.XMLLanguageClassDataLoader</Value>
70+
</Property>
71+
<Property name="params">
72+
<!-- single-string filename constructor -->
73+
<Property name="param1">
74+
<Property name="type">
75+
<Value>String</Value>
76+
</Property>
77+
<Property name="value">
78+
<!-- using the sample file provided -->
79+
<Value>conf/JavaClassData.xml</Value>
80+
</Property>
81+
</Property>
82+
</Property>
83+
</Property>
84+
85+
<!-- Object factory configuration for the default csharp loader -->
86+
<Property name="csharpLoader">
87+
<Property name="type">
88+
<Value>com.topcoder.uml.standardclassloader.implementations.XMLLanguageClassDataLoader</Value>
89+
</Property>
90+
<Property name="params">
91+
<!-- single-string filename constructor -->
92+
<Property name="param1">
93+
<Property name="type">
94+
<Value>String</Value>
95+
</Property>
96+
<Property name="value">
97+
<!-- using the sample file provided -->
98+
<Value>conf/CSharpClassData.xml</Value>
99+
</Property>
100+
</Property>
101+
</Property>
102+
</Property>
103+
</Config>
104+
</CMConfig>
Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
<?xml version="1.0" ?>
2+
3+
<!-- This is a configuration file for SimpleCache component ver 2.0
4+
All properties are correct.
5+
-->
6+
7+
8+
<CMConfig>
9+
<Config name="com.topcoder.util.cache.SimpleCache">
10+
11+
<!-- Which strategy class shoudl be used.
12+
This is a fully qualified java class name.
13+
Optional. Defaults to com.topcoder.util.cache.FIFOCacheEvoctionStrategy
14+
-->
15+
<Property name="CacheEvictionStrategy">
16+
<Value>com.topcoder.util.cache.FIFOCacheEvictionStrategy</Value>
17+
</Property>
18+
19+
<!-- maximum number of cache entries allowed
20+
This is a posisitive integer value
21+
Optional. Defaults to int infinity
22+
-->
23+
<Property name="MaxCacheSize">
24+
<Value>10000</Value>
25+
</Property>
26+
27+
<!-- Cache refresh interval after which the cache entries will be refreshed
28+
Optional. Defaults to no timeout
29+
-->
30+
<!--
31+
<Property name="TimeoutMS">
32+
<Value>3600000</Value>
33+
</Property>
34+
-->
35+
<!-- Memory utilization handler used to determine object sizes in memory
36+
This is used to calculate the cache capacity.
37+
Optional. Defaults to com.topcoder.util.cache.SimpleMemoryUtilizationHandler
38+
-->
39+
<Property name="MemoryUtilizationHandler">
40+
<Value>com.topcoder.umltool.deploy.handlers.NullMemoryUtilizationHandler</Value>
41+
</Property>
42+
43+
<!-- Flag signalling if compression is applied to the entries
44+
Optional. Defaults to false
45+
-->
46+
<Property name="CompressionFlag">
47+
<Value>true</Value>
48+
</Property>
49+
50+
<!-- A listing of compression handlers that should be applied to cache entries
51+
If multiple handlers are present then they are chained based on the order
52+
given here. Basically the first handler in the list will be tried first
53+
and if it can not compress the entry then the next one will be tried.
54+
Each handler can be configured with additional peramaters as specified
55+
below.
56+
Optional. For defaults please refer to the example give below
57+
-->
58+
<Property name="CompressionHandlers">
59+
<!-- Put your handler configuration here -->
60+
<Property name="SomeHandler">
61+
<!-- Class name of the handler to be used
62+
Required within the context of the compression handler.
63+
-->
64+
<Property name="class">
65+
<Value>com.topcoder.util.cache.DefaultCompressionHandler</Value>
66+
</Property>
67+
68+
<!-- A list of accepted types that this handler 'knows' how to compress
69+
Optional. Defaults to "java.lang.Object" which will simply match
70+
everything. There is an exception: if this is not supplied but the
71+
regular expression is supplied then this will default to null.
72+
When matching the ObjectType matching will always take precededence
73+
over regexp matching.
74+
-->
75+
<Property name="AcceptedObjectTypes">
76+
<Value>java.util.Vector</Value>
77+
<Value>java.util.HashMap</Value>
78+
</Property>
79+
80+
<!-- A regular expression string which can be used to specify the accepted
81+
types of objects based on matching class type of the object.
82+
Optional. Defaults to null.
83+
-->
84+
<Property name="AcceptedObjectTypesRegex">
85+
<Value>java.*</Value>
86+
</Property>
87+
88+
<!-- A fully qualified java class name for the codec to be used with the
89+
compression handler.
90+
Optional. Defaults to com.topcoder.util.compression.DeflateCodec
91+
-->
92+
<Property name="CompressionCodecClass">
93+
<Value>com.topcoder.util.compression.LZ77Codec</Value>
94+
</Property>
95+
96+
<!-- A fully qualified java class name for the byte to object and object to
97+
byte conversion handler. Compression Handlers work on byte arrays and
98+
thus need some help converting objects into byte array representations and
99+
back.
100+
Optional. Defaults to com.topcoder.util.cache.SerializableObjectByteConverter
101+
-->
102+
<Property name="ObjectByteConverterClass">
103+
<Value>com.topcoder.util.cache.SerializableObjectByteConverter</Value>
104+
</Property>
105+
</Property>
106+
</Property>
107+
</Config>
108+
</CMConfig>

0 commit comments

Comments
 (0)