2
|
1 |
#
|
|
2 |
# Resource strings for Notepad example
|
|
3 |
|
|
4 |
Title=Notepad
|
|
5 |
ElementTreeFrameTitle=Elements
|
|
6 |
ViewportBackingStore=false
|
|
7 |
|
|
8 |
# menubar definition
|
|
9 |
#
|
|
10 |
# Each of the strings that follow form a key to be
|
|
11 |
# used to the actual menu definition.
|
|
12 |
menubar=file edit debug
|
|
13 |
|
|
14 |
# file Menu definition
|
|
15 |
#
|
|
16 |
# Each of the strings that follow form a key to be
|
|
17 |
# used as the basis of a menu item definition.
|
|
18 |
#
|
|
19 |
# open -> Notepad.openAction
|
|
20 |
# new -> Notepad.newAction
|
|
21 |
# save -> Notepad.saveAction
|
|
22 |
# exit -> Notepad.exitAction
|
|
23 |
file=new open save - exit
|
|
24 |
fileLabel=File
|
|
25 |
openLabel=Open
|
|
26 |
openImage=resources/open.gif
|
|
27 |
newLabel=New
|
|
28 |
newImage=resources/new.gif
|
|
29 |
saveLabel=Save
|
|
30 |
saveImage=resources/save.gif
|
|
31 |
exitLabel=Exit
|
|
32 |
|
|
33 |
#
|
|
34 |
# edit Menu definition
|
|
35 |
#
|
|
36 |
# cut -> JTextComponent.cutAction
|
|
37 |
# copy -> JTextComponent.copyAction
|
|
38 |
# paste -> JTextComponent.pasteAction
|
|
39 |
edit=cut copy paste - undo redo
|
|
40 |
editLabel=Edit
|
|
41 |
cutLabel=Cut
|
|
42 |
cutAction=cut-to-clipboard
|
|
43 |
cutImage=resources/cut.gif
|
|
44 |
copyLabel=Copy
|
|
45 |
copyAction=copy-to-clipboard
|
|
46 |
copyImage=resources/copy.gif
|
|
47 |
pasteLabel=Paste
|
|
48 |
pasteAction=paste-from-clipboard
|
|
49 |
pasteImage=resources/paste.gif
|
|
50 |
undoLabel=Undo
|
|
51 |
undoAction=Undo
|
|
52 |
redoLabel=Redo
|
|
53 |
redoAction=Redo
|
|
54 |
|
|
55 |
#
|
|
56 |
# debug Menu definition
|
|
57 |
#
|
|
58 |
debug=dump showElementTree
|
|
59 |
debugLabel=Debug
|
|
60 |
dumpLabel=Dump model to System.err
|
|
61 |
dumpAction=dump-model
|
|
62 |
showElementTreeLabel=Show Elements
|
|
63 |
|
|
64 |
# toolbar definition
|
|
65 |
#
|
|
66 |
# Each of the strings that follow form a key to be
|
|
67 |
# used as the basis of the tool definition. Actions
|
|
68 |
# are of course sharable, and in this case are shared
|
|
69 |
# with the menu items.
|
|
70 |
toolbar=new open save - cut copy paste
|
|
71 |
newTooltip=Create a new file
|
|
72 |
openTooltip=Open a file
|
|
73 |
saveTooltip=Save to a file
|
|
74 |
cutTooltip=Move selection to clipboard
|
|
75 |
copyTooltip=Copy selection to clipboard
|
|
76 |
pasteTooltip=Paste clipboard to selection
|