Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
openmole
openmole
Commits
74c0e75c
Commit
74c0e75c
authored
Jun 20, 2019
by
Mathieu
Browse files
Add missing keywords
parent
71056612
Changes
3
Show whitespace changes
Inline
Side-by-side
openmole/build.sbt
View file @
74c0e75c
...
...
@@ -154,7 +154,9 @@ def allCore = Seq(
csv
)
lazy
val
keyword
=
OsgiProject
(
coreDir
,
"org.openmole.core.keyword"
,
imports
=
Seq
(
"*"
))
settings
(
coreSettings
:
_
*
)
lazy
val
keyword
=
OsgiProject
(
coreDir
,
"org.openmole.core.keyword"
,
imports
=
Seq
(
"*"
))
settings
(
coreSettings
:
_
*
)
settings
(
defaultActivator
)
dependsOn
(
pluginManager
,
preference
)
lazy
val
context
=
OsgiProject
(
coreDir
,
"org.openmole.core.context"
,
imports
=
Seq
(
"*"
))
settings
(
libraryDependencies
++=
Seq
(
Libraries
.
cats
,
Libraries
.
sourceCode
),
defaultActivator
...
...
openmole/core/org.openmole.core.keyword/src/main/scala/org/openmole/core/keyword/Activator.scala
0 → 100644
View file @
74c0e75c
package
org.openmole.core.keyword
import
org.openmole.core.pluginmanager._
import
org.openmole.core.pluginmanager.KeyWord._
import
org.openmole.core.preference.ConfigurationInfo
import
org.osgi.framework.
{
BundleActivator
,
BundleContext
}
class
Activator
extends
BundleActivator
{
override
def
stop
(
context
:
BundleContext
)
:
Unit
=
{
ConfigurationInfo
.
unregister
(
this
)
PluginInfo
.
unregister
(
this
)
}
override
def
start
(
context
:
BundleContext
)
:
Unit
=
{
val
keyWords
=
{
Vector
(
WordKeyWord
(
"under"
),
WordKeyWord
(
"in"
),
WordKeyWord
(
":="
)
)
}
PluginInfo
.
register
(
this
,
Vector
(
this
.
getClass
.
getPackage
),
keyWords
=
keyWords
)
ConfigurationInfo
.
register
(
this
,
ConfigurationInfo
.
list
()
)
}
}
openmole/core/org.openmole.core.workflow/src/main/scala/org/openmole/core/workflow/Activator.scala
View file @
74c0e75c
...
...
@@ -37,6 +37,7 @@ class Activator extends BundleActivator {
WordKeyWord
(
"inputs"
),
WordKeyWord
(
"outputs"
),
WordKeyWord
(
"hook"
),
WordKeyWord
(
"display"
),
WordKeyWord
(
"workDirectory"
),
WordKeyWord
(
"plugins"
),
WordKeyWord
(
"pluginsOf"
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment