arcadia 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README +122 -0
- data/arcadia.rb +748 -0
- data/base/a-contracts.rb +253 -0
- data/base/a-ext.rb +360 -0
- data/base/a-libs.rb +852 -0
- data/base/a-utils.rb +780 -0
- data/conf/arcadia.conf +198 -0
- data/conf/arcadia.init.rb +13 -0
- data/conf/arcadia.res.rb +1211 -0
- data/ext/ae-debug/ae-debug.conf +7 -0
- data/ext/ae-debug/ae-debug.rb +582 -0
- data/ext/ae-debug/debug1.57.rb +998 -0
- data/ext/ae-editor/ae-editor.conf +92 -0
- data/ext/ae-editor/ae-editor.rb +1744 -0
- data/ext/ae-event-log/ae-event-log.conf +5 -0
- data/ext/ae-event-log/ae-event-log.rb +44 -0
- data/ext/ae-file-history/ae-file-history.conf +17 -0
- data/ext/ae-file-history/ae-file-history.rb +280 -0
- data/ext/ae-inspector/ae-inspector.conf +7 -0
- data/ext/ae-inspector/ae-inspector.rb +1519 -0
- data/ext/ae-output-event/ae-output-event.conf +15 -0
- data/ext/ae-output/ae-output.conf +14 -0
- data/ext/ae-output/ae-output.rb +162 -0
- data/ext/ae-palette/ae-palette.conf +7 -0
- data/ext/ae-palette/ae-palette.rb +319 -0
- data/ext/ae-shell/ae-shell.conf +11 -0
- data/ext/ae-shell/ae-shell.rb +54 -0
- data/lib/tk/al-tk.rb +3078 -0
- data/lib/tk/al-tk.res.rb +217 -0
- data/lib/tk/al-tkarcadia.rb +26 -0
- data/lib/tk/al-tkcustom.rb +70 -0
- data/lib/tkext/al-bwidget.rb +194 -0
- data/lib/tkext/al-iwidgets.rb +25 -0
- data/lib/tkext/al-tile.rb +173 -0
- data/lib/tkext/al-tktable.rb +48 -0
- metadata +90 -0
@@ -0,0 +1,25 @@
|
|
1
|
+
#
|
2
|
+
# al-iwidgets.rb - Arcadia Ruby ide
|
3
|
+
# by Antonio Galeone <antonio-galeone@rubyforge.org>
|
4
|
+
#
|
5
|
+
|
6
|
+
require 'lib/tk/arcadia-tk'
|
7
|
+
require 'tkextlib/iwidgets'
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
class AGTkIWidgets < AGTkBase
|
12
|
+
def newobject
|
13
|
+
@obj = Tk::Iwidgets::Calendar.new(@ag_parent.obj)
|
14
|
+
end
|
15
|
+
def properties
|
16
|
+
super()
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
|
21
|
+
class ArcadiaLibTkBWidget < ArcadiaLib
|
22
|
+
def register_classes
|
23
|
+
self.add_class(AGTkIWidgets)
|
24
|
+
end
|
25
|
+
end
|
@@ -0,0 +1,173 @@
|
|
1
|
+
#
|
2
|
+
# al-tile.rb - Arcadia Ruby ide
|
3
|
+
# by Antonio Galeone <antonio-galeone@rubyforge.org>
|
4
|
+
#
|
5
|
+
|
6
|
+
require 'lib/wrappers/tk/w-arcadia-tk'
|
7
|
+
require 'tkextlib/tile'
|
8
|
+
require "lib/arcadia/arcadia-ext"
|
9
|
+
|
10
|
+
class AGTkCommonTile < AGTkLayoutManaged
|
11
|
+
def properties
|
12
|
+
super
|
13
|
+
publish('property','name'=>'style',
|
14
|
+
'get'=> proc{@obj.cget('style')},
|
15
|
+
'set'=> proc{|j| @obj.configure('style'=>j)},
|
16
|
+
'def'=> ""
|
17
|
+
)
|
18
|
+
publish('property','name'=>'theme_use',
|
19
|
+
'get'=> proc{},
|
20
|
+
'set'=> proc{|j| Tk::Tile::Style.theme_use(j)},
|
21
|
+
'def'=> ""
|
22
|
+
)
|
23
|
+
|
24
|
+
end
|
25
|
+
|
26
|
+
end
|
27
|
+
|
28
|
+
class ATKTileLabel < AGTkCommonTile
|
29
|
+
def ATKTileLabel.class_wrapped
|
30
|
+
Tk::Tile::TLabel
|
31
|
+
end
|
32
|
+
def properties
|
33
|
+
super
|
34
|
+
publish('property','name'=>'text',
|
35
|
+
'default'=> @i_name,
|
36
|
+
'get'=> proc{@obj.cget('text')},
|
37
|
+
'set'=> proc{|t| @obj.configure('text'=>t)},
|
38
|
+
'def'=> ""
|
39
|
+
)
|
40
|
+
publish('property','name'=>'state',
|
41
|
+
'get'=> proc{@obj.cget('state')},
|
42
|
+
'set'=> proc{|j| @obj.configure('state'=>j)},
|
43
|
+
'def'=> "",
|
44
|
+
'type'=>TkType::TkagState
|
45
|
+
)
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
class ATKTileButton < AGTkCommonTile
|
52
|
+
def ATKTileButton.class_wrapped
|
53
|
+
Tk::Tile::TButton
|
54
|
+
end
|
55
|
+
def properties
|
56
|
+
super
|
57
|
+
publish('property','name'=>'text',
|
58
|
+
'default'=> @i_name,
|
59
|
+
'get'=> proc{@obj.cget('text')},
|
60
|
+
'set'=> proc{|t| @obj.configure('text'=>t)},
|
61
|
+
'def'=> ""
|
62
|
+
)
|
63
|
+
publish('property','name'=>'state',
|
64
|
+
'get'=> proc{@obj.cget('state')},
|
65
|
+
'set'=> proc{|j| @obj.configure('state'=>j)},
|
66
|
+
'def'=> "",
|
67
|
+
'type'=>TkType::TkagState
|
68
|
+
)
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
72
|
+
|
73
|
+
class ATKTileScrollbar < AGTkCommonTile
|
74
|
+
def ATKTileScrollbar.class_wrapped
|
75
|
+
Tk::Tile::TScrollbar
|
76
|
+
end
|
77
|
+
def properties
|
78
|
+
super
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
class ATKTileCombobox < AGTkCommonTile
|
83
|
+
def ATKTileCombobox.class_wrapped
|
84
|
+
Tk::Tile::TCombobox
|
85
|
+
end
|
86
|
+
def properties
|
87
|
+
super
|
88
|
+
publish('property','name'=>'values',
|
89
|
+
'get'=> proc{@obj.cget('values')},
|
90
|
+
'set'=> proc{|t| @obj.configure('values'=>t)},
|
91
|
+
'def'=> ""
|
92
|
+
)
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
96
|
+
class ATKTileSeparator < AGTkCommonTile
|
97
|
+
def ATKTileSeparator.class_wrapped
|
98
|
+
Tk::Tile::TSeparator
|
99
|
+
end
|
100
|
+
def properties
|
101
|
+
super
|
102
|
+
end
|
103
|
+
end
|
104
|
+
|
105
|
+
|
106
|
+
class ATKTileFrame < AGTkLayoutManagedContainer
|
107
|
+
include Tk::Tile
|
108
|
+
def ATKTileFrame.class_wrapped
|
109
|
+
TFrame
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
113
|
+
class ATKTileLabelframe < ATKTileFrame
|
114
|
+
def ATKTileLabelframe.class_wrapped
|
115
|
+
Tk::Tile::TLabelframe
|
116
|
+
end
|
117
|
+
def properties
|
118
|
+
super
|
119
|
+
publish('property','name'=>'text',
|
120
|
+
'default'=> @i_name,
|
121
|
+
'get'=> proc{@obj.cget('text')},
|
122
|
+
'set'=> proc{|t| @obj.configure('text'=>t)},
|
123
|
+
'def'=> ""
|
124
|
+
)
|
125
|
+
end
|
126
|
+
end
|
127
|
+
|
128
|
+
|
129
|
+
class ATkTileStyle < AGINTk
|
130
|
+
class TkTileStyle
|
131
|
+
include Tk::Tile::Style
|
132
|
+
def style
|
133
|
+
Tk::Tile::Style
|
134
|
+
end
|
135
|
+
end
|
136
|
+
def ATkTileStyle.class_wrapped
|
137
|
+
TkTileStyle
|
138
|
+
end
|
139
|
+
def properties
|
140
|
+
super
|
141
|
+
publish('property','name'=>'theme',
|
142
|
+
'get'=> proc{},
|
143
|
+
'set'=> proc{|j| @obj.style.theme_use(j)},
|
144
|
+
'def'=> "",
|
145
|
+
'type'=> EnumType.new(@obj.style.theme_names)
|
146
|
+
)
|
147
|
+
|
148
|
+
publish('property','name'=>'foreground',
|
149
|
+
'get'=> proc{},
|
150
|
+
'set'=> proc{|foreground| @obj.style.configure('foreground'=>foreground)},
|
151
|
+
'def'=> '',
|
152
|
+
'type'=> TkType::TkagColor
|
153
|
+
)
|
154
|
+
|
155
|
+
|
156
|
+
end
|
157
|
+
end
|
158
|
+
|
159
|
+
class ArcadiaLibTkTile < ArcadiaLib
|
160
|
+
def register_classes
|
161
|
+
self.add_class(ATkTileStyle)
|
162
|
+
self.add_class(ATKTileLabel)
|
163
|
+
self.add_class(ATKTileLabelframe)
|
164
|
+
self.add_class(ATKTileButton)
|
165
|
+
self.add_class(ATKTileFrame)
|
166
|
+
self.add_class(ATKTileScrollbar)
|
167
|
+
self.add_class(ATKTileCombobox)
|
168
|
+
self.add_class(ATKTileSeparator)
|
169
|
+
end
|
170
|
+
end
|
171
|
+
|
172
|
+
|
173
|
+
|
@@ -0,0 +1,48 @@
|
|
1
|
+
#
|
2
|
+
# al-tktable.rb - Arcadia Ruby ide
|
3
|
+
# by Antonio Galeone <antonio-galeone@rubyforge.org>
|
4
|
+
#
|
5
|
+
|
6
|
+
require 'comp/agtk'
|
7
|
+
require 'comp/tktable'
|
8
|
+
|
9
|
+
class AGTktable < AGTkBase
|
10
|
+
#il combo si compone di un entry un button e un frame
|
11
|
+
def newobject
|
12
|
+
@obj = Tktable.new(@ag_parent.obj)
|
13
|
+
end
|
14
|
+
|
15
|
+
def properties
|
16
|
+
super()
|
17
|
+
|
18
|
+
|
19
|
+
publish('property','name'=>'cache',
|
20
|
+
'get'=> proc{@obj.cget('cache')},
|
21
|
+
'set'=> proc{|cache| @obj.configure('cache'=>cache)},
|
22
|
+
'def'=> "",
|
23
|
+
'type'=> TkType::TkagBool
|
24
|
+
)
|
25
|
+
publish('property','name'=>'cols',
|
26
|
+
'get'=> proc{@obj.cget('cols')},
|
27
|
+
'set'=> proc{|cols| @obj.configure('cols'=>cols)},
|
28
|
+
'def'=> ""
|
29
|
+
)
|
30
|
+
publish('property','name'=>'rows',
|
31
|
+
'get'=> proc{@obj.cget('rows')},
|
32
|
+
'set'=> proc{|rows| @obj.configure('rows'=>rows)},
|
33
|
+
'def'=> ""
|
34
|
+
)
|
35
|
+
publish('property','name'=>'borderwidth',
|
36
|
+
'get'=> proc{@obj.cget('borderwidth')},
|
37
|
+
'set'=> proc{|borderwidth| @obj.configure('borderwidth'=>borderwidth)},
|
38
|
+
'def'=> ""
|
39
|
+
)
|
40
|
+
end
|
41
|
+
|
42
|
+
end
|
43
|
+
|
44
|
+
class ArcadiaLibTkTable < ArcadiaLib
|
45
|
+
def register_classes
|
46
|
+
self.add_class(Aw_Tk_BWidget_MainFrameAGTktable)
|
47
|
+
end
|
48
|
+
end
|
metadata
ADDED
@@ -0,0 +1,90 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
rubygems_version: 0.8.11
|
3
|
+
specification_version: 1
|
4
|
+
name: arcadia
|
5
|
+
version: !ruby/object:Gem::Version
|
6
|
+
version: 0.1.0
|
7
|
+
date: 2007-02-25 00:00:00 +01:00
|
8
|
+
summary: An Ide for Ruby application building with ruby-tk.
|
9
|
+
require_paths:
|
10
|
+
- lib
|
11
|
+
email: antonio-galeone@rubyforge.org
|
12
|
+
homepage: http://arcadia.rubyforge.org
|
13
|
+
rubyforge_project:
|
14
|
+
description:
|
15
|
+
autorequire:
|
16
|
+
default_executable:
|
17
|
+
bindir: bin
|
18
|
+
has_rdoc: false
|
19
|
+
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">"
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 0.0.0
|
24
|
+
version:
|
25
|
+
platform: ruby
|
26
|
+
signing_key:
|
27
|
+
cert_chain:
|
28
|
+
authors:
|
29
|
+
- Antonio Galeone
|
30
|
+
files:
|
31
|
+
- base/a-libs.rb
|
32
|
+
- base/a-ext.rb
|
33
|
+
- base/a-utils.rb
|
34
|
+
- base/a-contracts.rb
|
35
|
+
- conf/arcadia.conf
|
36
|
+
- conf/arcadia.init.rb
|
37
|
+
- conf/arcadia.res.rb
|
38
|
+
- ext/ae-shell
|
39
|
+
- ext/ae-palette
|
40
|
+
- ext/ae-debug
|
41
|
+
- ext/ae-inspector
|
42
|
+
- ext/ae-editor
|
43
|
+
- ext/ae-output
|
44
|
+
- ext/ae-event-log
|
45
|
+
- ext/ae-output-event
|
46
|
+
- ext/ae-file-history
|
47
|
+
- ext/ae-shell/ae-shell.conf
|
48
|
+
- ext/ae-shell/ae-shell.rb
|
49
|
+
- ext/ae-palette/ae-palette.rb
|
50
|
+
- ext/ae-palette/ae-palette.conf
|
51
|
+
- ext/ae-debug/ae-debug.rb
|
52
|
+
- ext/ae-debug/debug1.57.rb
|
53
|
+
- ext/ae-debug/ae-debug.conf
|
54
|
+
- ext/ae-inspector/ae-inspector.rb
|
55
|
+
- ext/ae-inspector/ae-inspector.conf
|
56
|
+
- ext/ae-editor/ae-editor.rb
|
57
|
+
- ext/ae-editor/ae-editor.conf
|
58
|
+
- ext/ae-output/ae-output.rb
|
59
|
+
- ext/ae-output/ae-output.conf
|
60
|
+
- ext/ae-event-log/ae-event-log.conf
|
61
|
+
- ext/ae-event-log/ae-event-log.rb
|
62
|
+
- ext/ae-output-event/ae-output-event.conf
|
63
|
+
- ext/ae-file-history/ae-file-history.rb
|
64
|
+
- ext/ae-file-history/ae-file-history.conf
|
65
|
+
- lib/tk
|
66
|
+
- lib/tkext
|
67
|
+
- lib/tk/al-tk.rb
|
68
|
+
- lib/tk/al-tkarcadia.rb
|
69
|
+
- lib/tk/al-tkcustom.rb
|
70
|
+
- lib/tk/al-tk.res.rb
|
71
|
+
- lib/tkext/al-bwidget.rb
|
72
|
+
- lib/tkext/al-iwidgets.rb
|
73
|
+
- lib/tkext/al-tile.rb
|
74
|
+
- lib/tkext/al-tktable.rb
|
75
|
+
- arcadia.rb
|
76
|
+
- README
|
77
|
+
test_files: []
|
78
|
+
|
79
|
+
rdoc_options: []
|
80
|
+
|
81
|
+
extra_rdoc_files: []
|
82
|
+
|
83
|
+
executables: []
|
84
|
+
|
85
|
+
extensions: []
|
86
|
+
|
87
|
+
requirements: []
|
88
|
+
|
89
|
+
dependencies: []
|
90
|
+
|