File: configuration.xml

package info (click to toggle)
libjrosetta-java 1.0.4-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 444 kB
  • sloc: java: 1,587; xml: 353; sh: 13; makefile: 8
file content (46 lines) | stat: -rw-r--r-- 2,136 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?xml version="1.0"?>
<Setting>
	<!-- Test configuration -->
	<Profile name="test">
		<!-- Welcome line -->
		<WelcomeLine useCache="true" value="Welcome on the generic console"/>
	
		<!-- GUI Part -->
		<PromptView useCache="true" value="com.artenum.rosetta.ui.PromptViewImpl"/>
		<OutputView useCache="true" value="com.artenum.rosetta.ui.BufferedOutputViewImpl"/>
		<InputCommandView useCache="true" value="com.artenum.rosetta.ui.InputCommandViewImpl"/>
		<BackgroundColor useCache="true" value="#FFFFCC"/>
		<ForegroundColor useCache="true" value="#000000"/>
		<ScrollableUnitIncrement useCache="true" value="20"/>
		<ScrollableBlockIncrement useCache="true" value="20"/>
		<VerticalWrapAllowed useCache="true" value="false"/>
		<HorizontalWrapAllowed useCache="true" value="true"/>
		
		<!-- Core part -->
		<OutputViewStyledDocument useCache="true" value="javax.swing.text.DefaultStyledDocument"/>
		<InputCommandViewStyledDocument useCache="true" value="javax.swing.text.DefaultStyledDocument"/>
		<InputParsingManager useCache="true" value="com.artenum.rosetta.core.DefaultInputParsingManager"/>
		<!-- 
		   <GenericInterpreter useCache="true" value="com.artenum.rosetta.implementation.JSR270Interpreter"/>
		-->
		<GenericInterpreter useCache="true" value="com.artenum.rosetta.test.FakeGenericInterpreter"/>
		FakeGenericInterpreter
		<CompletionManager useCache="true" value="com.artenum.rosetta.implementation.FakeDictionnaryCompletionManager"/>
		<CompletionWindow useCache="true" value="com.artenum.rosetta.ui.CompletionWindowImpl"/>
		<HistoryManager useCache="true" value="com.artenum.rosetta.implementation.JSR270HistoryManager"/>
		
		<!-- Key mapping -->
		<KeyMapping>
			<Key name="VK_ENTER" mask="" action="VALIDATE"/>
			<Key name="VK_SPACE" mask="CTRL_MASK" action="COMPLETION"/>
		</KeyMapping>
		
		<!-- Key mapping -->
		<ActionMapping>
			<Action name="VALIDATE" className="com.artenum.rosetta.core.action.ValidationAction"/>
			<Action name="COMPLETION" className="com.artenum.rosetta.core.action.CompletionAction"/>
		</ActionMapping>
		
	</Profile>
	
</Setting>