forked from saschazelzer/CTKPluginTutorials
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
28 lines (23 loc) · 1.27 KB
/
README
File metadata and controls
28 lines (23 loc) · 1.27 KB
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
This is a fork/rewrite of the CTK tutorials (git@github.com:saschazelzer/CTKPluginTutorials.git).
I has evolved during my own attempt to learn the basics of CTK, and is not intended as a general tutorial.
However, it can serve as a starting point while the CTK basic tutorials are incomplete. Start with the commontk.org wiki,
then move here when you find that stuff are missing.
It depends on github.com/commontk/CTK
Use Cases being tested in this project:
* Install and connect to a service in a vanilla CTK plugin
- Plugin: org.commontk.plugingenerator.core
- Service: ctkPluginGeneratorCodeModel
- App: UseCTKPlugin
* Install a CTK plugin (org.mydomain.testplugin)
* Connect to a service (service: TestService in plugin: org.mydomain.testplugin)
* Define an interface in a library, then implement the interface in a plugin, then use it in an app.
- Plugin: org.mydomain.testplugin
- Lib: Backend
- Service: BackendInterface
- Service implementation: BackendInterfaceImpl
- App: UseCTKPlugin
* Define a second implementation of the same service in a second plugin, then use both services in the app.
The second plugin does not link to the app at compile-time.
- Second Plugin: org.mydomain.backend.impl
- Service: BackendInterface
- Service implementation: BackendInterfaceImpl2