Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Alignment API
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
moex
Alignment API
Commits
15f658ad
Commit
15f658ad
authored
16 years ago
by
Chan Leduc
Browse files
Options
Downloads
Patches
Plain Diff
- Update for ntk released on 15 May
parent
b07466e2
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
plugins/neon/src/fr/inrialpes/exmo/align/plugin/neontk/SWTInterface.java
+7
-3
7 additions, 3 deletions
...c/fr/inrialpes/exmo/align/plugin/neontk/SWTInterface.java
with
7 additions
and
3 deletions
plugins/neon/src/fr/inrialpes/exmo/align/plugin/neontk/SWTInterface.java
+
7
−
3
View file @
15f658ad
...
...
@@ -81,7 +81,8 @@ import org.eclipse.core.runtime.IPath;
//import org.eclipse.core.resources.IProject;
//import org.semanticweb.kaon2.api.Ontology;
import
org.semanticweb.kaon2.api.KAON2Connection
;
//import org.semanticweb.kaon2.api.KAON2Connection;
import
org.semanticweb.kaon2.api.OntologyManager
;
import
org.semanticweb.kaon2.api.KAON2Exception
;
//import org.semanticweb.kaon2.api.formatting.OntologyFileFormat;
import
com.ontoprise.config.IConfig
;
...
...
@@ -314,7 +315,8 @@ public class SWTInterface extends JPanel {
IPath
location
=
root
.
getLocation
();
String
path
=
location
.
toOSString
();
ontoFolder
=
new
File
(
path
+
location
.
SEPARATOR
+
"onto"
);
//ontoFolder = new File(path + location.SEPARATOR + "onto");
ontoFolder
=
new
File
(
path
+
location
.
SEPARATOR
+
"align"
);
if
(!
ontoFolder
.
exists
())
ontoFolder
.
mkdir
();
basicFolder
=
new
File
(
path
+
location
.
SEPARATOR
);
...
...
@@ -1232,7 +1234,9 @@ private HashMap<String,String> refreshOntoList() {
if
(
projects
[
i
]!=
null
)
{
System
.
out
.
printf
(
"Project Onto "
+
i
+
" = "
+
projects
[
i
]
);
//URI[] uris= DatamodelPlugin.getDefault().getProjectOntologyFiles(projects[i]);
KAON2Connection
connection
=
DatamodelPlugin
.
getDefault
().
getKaon2Connection
(
projects
[
i
]);
//Kaon2Connection connection = DatamodelPlugin.getDefault().getKaon2Connection(projects[i]);
//version 15 May
OntologyManager
connection
=
DatamodelPlugin
.
getDefault
().
getKaon2Connection
(
projects
[
i
]);
Set
<
String
>
strSet
=
connection
.
getAvailableOntologyURIs
();
String
[]
uris
=
(
String
[])
strSet
.
toArray
(
new
String
[
0
]);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment