swt 4.6.1 → 4.6.1.1
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.
- checksums.yaml +4 -4
- data/lib/swt/bot.rb +12 -0
- data/lib/swt/core.rb +88 -0
- data/lib/swt/full.rb +3 -127
- data/lib/swt/jface.rb +25 -0
- data/lib/swt/minimal.rb +1 -3
- data/lib/swt/swt_bot_extensions.rb +1 -2
- data/lib/swt/version.rb +3 -0
- metadata +14 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e1ff791d69e527538f0d61219b7c84714941d7fa
|
4
|
+
data.tar.gz: 0fb1f8d65a5fb09b54ed686f470bee34aa1163ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb5e29928acfeae83bb96e81c1144cdd0ba84f0e80f3acd1e9b3828f6fa8437e6aa50e1f7e1564f4aceff807490d982fe6e41efbd58a722ad007b5a594112cb5
|
7
|
+
data.tar.gz: 82329a7d8b0f3a2cf5fb2dd99137110e72a49c447e9796fb6aa67d9ca2b0a5f9922da7b72b895364572d0cef6f1409ec6b3a679765640f86bbec6aa4e97d3730
|
data/lib/swt/bot.rb
ADDED
data/lib/swt/core.rb
ADDED
@@ -0,0 +1,88 @@
|
|
1
|
+
module Swt
|
2
|
+
import org.eclipse.swt.SWT
|
3
|
+
|
4
|
+
module Widgets
|
5
|
+
import org.eclipse.swt.widgets.Button
|
6
|
+
import org.eclipse.swt.widgets.Caret
|
7
|
+
import org.eclipse.swt.widgets.Combo
|
8
|
+
import org.eclipse.swt.widgets.Composite
|
9
|
+
import org.eclipse.swt.widgets.Event
|
10
|
+
import org.eclipse.swt.widgets.DirectoryDialog
|
11
|
+
import org.eclipse.swt.widgets.FileDialog
|
12
|
+
import org.eclipse.swt.widgets.List
|
13
|
+
import org.eclipse.swt.widgets.Menu
|
14
|
+
import org.eclipse.swt.widgets.MenuItem
|
15
|
+
import org.eclipse.swt.widgets.MessageBox
|
16
|
+
import org.eclipse.swt.widgets.ToolBar
|
17
|
+
import org.eclipse.swt.widgets.ToolItem
|
18
|
+
import org.eclipse.swt.widgets.CoolBar
|
19
|
+
import org.eclipse.swt.widgets.CoolItem
|
20
|
+
import org.eclipse.swt.widgets.Sash
|
21
|
+
import org.eclipse.swt.widgets.Slider
|
22
|
+
import org.eclipse.swt.widgets.TabFolder
|
23
|
+
import org.eclipse.swt.widgets.TabItem
|
24
|
+
import org.eclipse.swt.widgets.TableColumn
|
25
|
+
import org.eclipse.swt.widgets.Text
|
26
|
+
import org.eclipse.swt.widgets.ToolTip
|
27
|
+
import org.eclipse.swt.widgets.Table
|
28
|
+
import org.eclipse.swt.widgets.TableItem
|
29
|
+
end
|
30
|
+
|
31
|
+
module Custom
|
32
|
+
import org.eclipse.swt.custom.CTabFolder
|
33
|
+
import org.eclipse.swt.custom.CTabItem
|
34
|
+
import org.eclipse.swt.custom.SashForm
|
35
|
+
import org.eclipse.swt.custom.StackLayout
|
36
|
+
import org.eclipse.swt.custom.ST
|
37
|
+
import org.eclipse.swt.custom.StyleRange
|
38
|
+
import org.eclipse.swt.custom.StyledText
|
39
|
+
import org.eclipse.swt.custom.TreeEditor
|
40
|
+
end
|
41
|
+
|
42
|
+
module DND
|
43
|
+
import org.eclipse.swt.dnd.DND
|
44
|
+
|
45
|
+
import org.eclipse.swt.dnd.Transfer
|
46
|
+
import org.eclipse.swt.dnd.TextTransfer
|
47
|
+
import org.eclipse.swt.dnd.FileTransfer
|
48
|
+
import org.eclipse.swt.dnd.ByteArrayTransfer
|
49
|
+
|
50
|
+
import org.eclipse.swt.dnd.DropTarget
|
51
|
+
import org.eclipse.swt.dnd.DropTargetEvent
|
52
|
+
import org.eclipse.swt.dnd.DropTargetListener
|
53
|
+
|
54
|
+
import org.eclipse.swt.dnd.DragSource
|
55
|
+
import org.eclipse.swt.dnd.DragSourceEvent
|
56
|
+
import org.eclipse.swt.dnd.DragSourceListener
|
57
|
+
end
|
58
|
+
|
59
|
+
module Layout
|
60
|
+
import org.eclipse.swt.layout.FillLayout
|
61
|
+
import org.eclipse.swt.layout.GridLayout
|
62
|
+
import org.eclipse.swt.layout.GridData
|
63
|
+
import org.eclipse.swt.layout.RowLayout
|
64
|
+
import org.eclipse.swt.layout.RowData
|
65
|
+
end
|
66
|
+
|
67
|
+
module Graphics
|
68
|
+
import org.eclipse.swt.graphics.Color
|
69
|
+
import org.eclipse.swt.graphics.Device
|
70
|
+
import org.eclipse.swt.graphics.Font
|
71
|
+
import org.eclipse.swt.graphics.GC
|
72
|
+
import org.eclipse.swt.graphics.Point
|
73
|
+
import org.eclipse.swt.graphics.RGB
|
74
|
+
end
|
75
|
+
|
76
|
+
module Events
|
77
|
+
import org.eclipse.swt.events.KeyEvent
|
78
|
+
import org.eclipse.swt.events.MouseListener
|
79
|
+
import org.eclipse.swt.events.MouseTrackListener
|
80
|
+
import org.eclipse.swt.events.SelectionListener
|
81
|
+
import org.eclipse.swt.events.KeyListener
|
82
|
+
end
|
83
|
+
|
84
|
+
import org.eclipse.swt.browser.Browser
|
85
|
+
class Browser
|
86
|
+
import org.eclipse.swt.browser.BrowserFunction
|
87
|
+
end
|
88
|
+
end
|
data/lib/swt/full.rb
CHANGED
@@ -1,129 +1,5 @@
|
|
1
1
|
require 'swt/swt_bot_extensions'
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
module Widgets
|
7
|
-
import org.eclipse.swt.widgets.Button
|
8
|
-
import org.eclipse.swt.widgets.Caret
|
9
|
-
import org.eclipse.swt.widgets.Combo
|
10
|
-
import org.eclipse.swt.widgets.Composite
|
11
|
-
import org.eclipse.swt.widgets.Event
|
12
|
-
import org.eclipse.swt.widgets.DirectoryDialog
|
13
|
-
import org.eclipse.swt.widgets.FileDialog
|
14
|
-
import org.eclipse.swt.widgets.List
|
15
|
-
import org.eclipse.swt.widgets.Menu
|
16
|
-
import org.eclipse.swt.widgets.MenuItem
|
17
|
-
import org.eclipse.swt.widgets.MessageBox
|
18
|
-
import org.eclipse.swt.widgets.ToolBar
|
19
|
-
import org.eclipse.swt.widgets.ToolItem
|
20
|
-
import org.eclipse.swt.widgets.CoolBar
|
21
|
-
import org.eclipse.swt.widgets.CoolItem
|
22
|
-
import org.eclipse.swt.widgets.Sash
|
23
|
-
import org.eclipse.swt.widgets.Slider
|
24
|
-
import org.eclipse.swt.widgets.TabFolder
|
25
|
-
import org.eclipse.swt.widgets.TabItem
|
26
|
-
import org.eclipse.swt.widgets.TableColumn
|
27
|
-
import org.eclipse.swt.widgets.Text
|
28
|
-
import org.eclipse.swt.widgets.ToolTip
|
29
|
-
import org.eclipse.swt.widgets.Table
|
30
|
-
import org.eclipse.swt.widgets.TableItem
|
31
|
-
end
|
32
|
-
|
33
|
-
module Custom
|
34
|
-
import org.eclipse.swt.custom.CTabFolder
|
35
|
-
import org.eclipse.swt.custom.CTabItem
|
36
|
-
import org.eclipse.swt.custom.SashForm
|
37
|
-
import org.eclipse.swt.custom.StackLayout
|
38
|
-
import org.eclipse.swt.custom.ST
|
39
|
-
import org.eclipse.swt.custom.StyleRange
|
40
|
-
import org.eclipse.swt.custom.StyledText
|
41
|
-
import org.eclipse.swt.custom.TreeEditor
|
42
|
-
end
|
43
|
-
|
44
|
-
module DND
|
45
|
-
import org.eclipse.swt.dnd.DND
|
46
|
-
|
47
|
-
import org.eclipse.swt.dnd.Transfer
|
48
|
-
import org.eclipse.swt.dnd.TextTransfer
|
49
|
-
import org.eclipse.swt.dnd.FileTransfer
|
50
|
-
import org.eclipse.swt.dnd.ByteArrayTransfer
|
51
|
-
|
52
|
-
import org.eclipse.swt.dnd.DropTarget
|
53
|
-
import org.eclipse.swt.dnd.DropTargetEvent
|
54
|
-
import org.eclipse.swt.dnd.DropTargetListener
|
55
|
-
|
56
|
-
import org.eclipse.swt.dnd.DragSource
|
57
|
-
import org.eclipse.swt.dnd.DragSourceEvent
|
58
|
-
import org.eclipse.swt.dnd.DragSourceListener
|
59
|
-
end
|
60
|
-
|
61
|
-
module Layout
|
62
|
-
import org.eclipse.swt.layout.FillLayout
|
63
|
-
import org.eclipse.swt.layout.GridLayout
|
64
|
-
import org.eclipse.swt.layout.GridData
|
65
|
-
import org.eclipse.swt.layout.RowLayout
|
66
|
-
import org.eclipse.swt.layout.RowData
|
67
|
-
end
|
68
|
-
|
69
|
-
module Graphics
|
70
|
-
import org.eclipse.swt.graphics.Color
|
71
|
-
import org.eclipse.swt.graphics.Device
|
72
|
-
import org.eclipse.swt.graphics.Font
|
73
|
-
import org.eclipse.swt.graphics.GC
|
74
|
-
import org.eclipse.swt.graphics.Point
|
75
|
-
import org.eclipse.swt.graphics.RGB
|
76
|
-
end
|
77
|
-
|
78
|
-
module Events
|
79
|
-
import org.eclipse.swt.events.KeyEvent
|
80
|
-
import org.eclipse.swt.events.MouseListener
|
81
|
-
import org.eclipse.swt.events.MouseTrackListener
|
82
|
-
import org.eclipse.swt.events.SelectionListener
|
83
|
-
import org.eclipse.swt.events.KeyListener
|
84
|
-
end
|
85
|
-
|
86
|
-
import org.eclipse.swt.browser.Browser
|
87
|
-
class Browser
|
88
|
-
import org.eclipse.swt.browser.BrowserFunction
|
89
|
-
end
|
90
|
-
|
91
|
-
def self.bot
|
92
|
-
@bot ||= begin
|
93
|
-
Dir[File.expand_path("../../../vendor/swtbot", __FILE__) + "/*.jar"].each do |fn|
|
94
|
-
require fn
|
95
|
-
end
|
96
|
-
bot = org.eclipse.swtbot.swt.finder.SWTBot.new
|
97
|
-
bot.extend SwtBotExtensions
|
98
|
-
bot
|
99
|
-
end
|
100
|
-
end
|
101
|
-
end
|
102
|
-
|
103
|
-
module JFace
|
104
|
-
Dir[File.expand_path "../../../vendor/jface/*.jar", __FILE__].each do |jar_fn|
|
105
|
-
require jar_fn
|
106
|
-
end
|
107
|
-
|
108
|
-
module Viewers
|
109
|
-
import org.eclipse.jface.viewers.ColumnViewerToolTipSupport
|
110
|
-
import org.eclipse.jface.viewers.TreeViewer
|
111
|
-
import org.eclipse.jface.viewers.ITreeContentProvider
|
112
|
-
import org.eclipse.jface.viewers.ILabelProvider
|
113
|
-
import org.eclipse.jface.viewers.ILazyTreeContentProvider
|
114
|
-
import org.eclipse.jface.viewers.ILabelProvider
|
115
|
-
import org.eclipse.jface.viewers.TextCellEditor
|
116
|
-
import org.eclipse.jface.viewers.ViewerDropAdapter
|
117
|
-
end
|
118
|
-
|
119
|
-
module Text
|
120
|
-
import org.eclipse.jface.text.TextViewerUndoManager
|
121
|
-
end
|
122
|
-
|
123
|
-
module Dialogs
|
124
|
-
import org.eclipse.jface.dialogs.Dialog
|
125
|
-
import org.eclipse.jface.dialogs.InputDialog
|
126
|
-
end
|
127
|
-
end
|
128
|
-
|
2
|
+
require 'swt/bot'
|
3
|
+
require 'swt/core'
|
4
|
+
require 'swt/jface'
|
129
5
|
require 'swt/grid_data'
|
data/lib/swt/jface.rb
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
module JFace
|
2
|
+
Dir[File.expand_path "../../../vendor/jface/*.jar", __FILE__].each do |jar_fn|
|
3
|
+
require jar_fn
|
4
|
+
end
|
5
|
+
|
6
|
+
module Viewers
|
7
|
+
import org.eclipse.jface.viewers.ColumnViewerToolTipSupport
|
8
|
+
import org.eclipse.jface.viewers.TreeViewer
|
9
|
+
import org.eclipse.jface.viewers.ITreeContentProvider
|
10
|
+
import org.eclipse.jface.viewers.ILabelProvider
|
11
|
+
import org.eclipse.jface.viewers.ILazyTreeContentProvider
|
12
|
+
import org.eclipse.jface.viewers.ILabelProvider
|
13
|
+
import org.eclipse.jface.viewers.TextCellEditor
|
14
|
+
import org.eclipse.jface.viewers.ViewerDropAdapter
|
15
|
+
end
|
16
|
+
|
17
|
+
module Text
|
18
|
+
import org.eclipse.jface.text.TextViewerUndoManager
|
19
|
+
end
|
20
|
+
|
21
|
+
module Dialogs
|
22
|
+
import org.eclipse.jface.dialogs.Dialog
|
23
|
+
import org.eclipse.jface.dialogs.InputDialog
|
24
|
+
end
|
25
|
+
end
|
data/lib/swt/minimal.rb
CHANGED
data/lib/swt/version.rb
ADDED
metadata
CHANGED
@@ -1,17 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: swt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.6.1
|
4
|
+
version: 4.6.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Lucraft
|
8
8
|
- Tobias Pfeiffer
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2017-01-05 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
|
-
description: Contains everything required to write cross-platform desktop applications
|
14
|
+
description: Contains everything required to write cross-platform desktop applications
|
15
|
+
with JRuby and SWT.
|
15
16
|
email:
|
16
17
|
- dan@lucraft.me
|
17
18
|
- pragtob@gmail.com
|
@@ -24,14 +25,18 @@ files:
|
|
24
25
|
- README.md
|
25
26
|
- bin/swt_cucumber
|
26
27
|
- lib/swt.rb
|
28
|
+
- lib/swt/bot.rb
|
29
|
+
- lib/swt/core.rb
|
27
30
|
- lib/swt/cucumber_patches.rb
|
28
31
|
- lib/swt/cucumber_runner.rb
|
29
32
|
- lib/swt/event_loop.rb
|
30
33
|
- lib/swt/full.rb
|
31
34
|
- lib/swt/grid_data.rb
|
32
35
|
- lib/swt/jar_loader.rb
|
36
|
+
- lib/swt/jface.rb
|
33
37
|
- lib/swt/minimal.rb
|
34
38
|
- lib/swt/swt_bot_extensions.rb
|
39
|
+
- lib/swt/version.rb
|
35
40
|
- vendor/jface/org.eclipse.core.commands.jar
|
36
41
|
- vendor/jface/org.eclipse.core.jobs.jar
|
37
42
|
- vendor/jface/org.eclipse.core.resources.jar
|
@@ -59,24 +64,24 @@ homepage: http://github.com/danlucraft/swt
|
|
59
64
|
licenses:
|
60
65
|
- See https://github.com/danlucraft/swt/blob/master/LICENSE
|
61
66
|
metadata: {}
|
62
|
-
post_install_message:
|
67
|
+
post_install_message:
|
63
68
|
rdoc_options: []
|
64
69
|
require_paths:
|
65
70
|
- lib
|
66
71
|
required_ruby_version: !ruby/object:Gem::Requirement
|
67
72
|
requirements:
|
68
|
-
- -
|
73
|
+
- - '>='
|
69
74
|
- !ruby/object:Gem::Version
|
70
75
|
version: '0'
|
71
76
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
72
77
|
requirements:
|
73
|
-
- -
|
78
|
+
- - '>='
|
74
79
|
- !ruby/object:Gem::Version
|
75
80
|
version: '0'
|
76
81
|
requirements: []
|
77
|
-
rubyforge_project:
|
82
|
+
rubyforge_project:
|
78
83
|
rubygems_version: 2.6.8
|
79
|
-
signing_key:
|
84
|
+
signing_key:
|
80
85
|
specification_version: 4
|
81
86
|
summary: The SWT toolkit for JRuby.
|
82
87
|
test_files: []
|