Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Adam Kučera
semanticBMS
Commits
e3ee2ee3
Commit
e3ee2ee3
authored
Jun 14, 2016
by
akucera
Browse files
changed project facet (Client), added tabs to Import
parent
6b7a02b6
Changes
9
Hide whitespace changes
Inline
Side-by-side
SemanticBMSClient/.project
View file @
e3ee2ee3
...
...
@@ -5,7 +5,19 @@
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>
org.eclipse.wst.jsdt.core.javascriptValidator
</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>
org.eclipse.wst.common.project.facet.core.builder
</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>
org.eclipse.wst.common.project.facet.core.nature
</nature>
<nature>
org.eclipse.wst.jsdt.core.jsNature
</nature>
</natures>
</projectDescription>
SemanticBMSClient/.settings/.jsdtscope
0 → 100644
View file @
e3ee2ee3
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry
excluding=
"**/bower_components/*|**/node_modules/*|**/*.min.js"
kind=
"src"
path=
""
>
<attributes>
<attribute
name=
"provider"
value=
"org.eclipse.wst.jsdt.web.core.internal.project.ModuleSourcePathProvider"
/>
</attributes>
</classpathentry>
<classpathentry
kind=
"con"
path=
"org.eclipse.wst.jsdt.launching.JRE_CONTAINER"
/>
<classpathentry
kind=
"con"
path=
"org.eclipse.wst.jsdt.launching.WebProject"
>
<attributes>
<attribute
name=
"hide"
value=
"true"
/>
</attributes>
</classpathentry>
<classpathentry
kind=
"con"
path=
"org.eclipse.wst.jsdt.launching.baseBrowserLibrary"
/>
<classpathentry
kind=
"output"
path=
""
/>
</classpath>
SemanticBMSClient/.settings/org.eclipse.wst.common.project.facet.core.xml
0 → 100644
View file @
e3ee2ee3
<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
<installed
facet=
"wst.jsdt.web"
version=
"1.0"
/>
</faceted-project>
SemanticBMSClient/.settings/org.eclipse.wst.jsdt.ui.superType.container
0 → 100644
View file @
e3ee2ee3
org.eclipse.wst.jsdt.launching.baseBrowserLibrary
\ No newline at end of file
SemanticBMSClient/.settings/org.eclipse.wst.jsdt.ui.superType.name
0 → 100644
View file @
e3ee2ee3
Window
\ No newline at end of file
SemanticBMSClient/insert.html
View file @
e3ee2ee3
...
...
@@ -42,33 +42,32 @@
<script>
var
p
=
new
SBMSPage
(
function
()
{
$
(
"
#showSingle
"
).
click
(
function
()
{
p
.
switchPanel
(
"
insertNav
"
,
"
insertDiv
"
,
this
.
id
,
"
insertSingle
"
);
});
$
(
"
#showBatch
"
).
click
(
function
()
{
p
.
switchPanel
(
"
insertNav
"
,
"
insertDiv
"
,
this
.
id
,
"
insertBatch
"
);
});
$
(
"
.opDiv
"
).
hide
();
$
(
"
#
"
+
$
(
"
li.opNav.active
"
).
attr
(
"
data-show-div
"
)).
show
();
$
(
"
#showMap
"
).
click
(
function
()
{
p
.
switchPanel
(
"
selectNav
"
,
"
selectDiv
"
,
this
.
id
,
"
selectMap
"
);
$
(
"
#selectorTree
"
).
hide
();
$
(
"
.opNav
"
).
click
(
function
()
{
p
.
switchPanel
(
"
opNav
"
,
"
opDiv
"
,
this
,
$
(
this
).
attr
(
"
data-show-div
"
));
});
$
(
"
#showTree
"
).
click
(
function
()
{
p
.
switchPanel
(
"
selectNav
"
,
"
selectDiv
"
,
this
.
id
,
"
selectTree
"
);
$
(
"
.selectorNav
"
).
click
(
function
()
{
p
.
switchPanel
(
"
select
or
Nav
"
,
"
select
or
Div
"
,
this
,
$
(
this
).
attr
(
"
data-show-div
"
)
);
});
$
(
"
#selectMap
"
).
height
(
$
(
window
).
height
()
<
800
?
700
:
$
(
window
).
height
()
-
300
);
$
(
"
#select
or
Map
"
).
height
(
$
(
window
).
height
()
<
800
?
700
:
$
(
window
).
height
()
-
300
);
//$("#kompasFrame").attr("src", p.mapURL);
/*
if(window.location.hash.indexOf("batch") > -1) {
p
.
switchPanel
(
"
insert
Nav
"
,
"
insert
Div
"
,
"
showBatch
"
,
"
insertBatch
"
);
p.switchPanel("
op
Nav", "
op
Div",
$("#
showBatch"
)
, "insertBatch");
} else {
$("#insertBatch").hide();
}
$
(
"
#selectTree
"
).
hide
();
*/
p
.
loadList
(
"
insertField
"
,
[
...
...
@@ -79,9 +78,9 @@
],
[
"
#params
"
,
false
,
function
()
{
p
.
switchPanel
(
"
selectNav
"
,
"
selectDiv
"
,
"
showTree
"
,
"
selectTree
"
);
},
function
()
{
p
.
switchPanel
(
"
select
or
Nav
"
,
"
select
or
Div
"
,
"
showTree
"
,
"
select
or
Tree
"
);
},
function
()
{
},
function
()
{
p
.
switchPanel
(
"
selectNav
"
,
"
selectDiv
"
,
"
showMap
"
,
"
selectMap
"
);
},
function
()
{
p
.
switchPanel
(
"
select
or
Nav
"
,
"
select
or
Div
"
,
"
showMap
"
,
"
select
or
Map
"
);
},
function
()
{
},
"
kompasFrame
"
,
"
tree
"
...
...
@@ -312,10 +311,14 @@ insertDP: function (dp, ba, sa, ea, ca, logId) {
<div
class=
"container-fluid"
>
<ul
class=
"nav nav-tabs"
>
<li
role=
"presentation"
class=
"active insertNav"
id=
"showSingle"
><a
href=
"#"
>
Single
</a></li>
<li
role=
"presentation"
class=
"insertNav"
id=
"showBatch"
><a
href=
"#"
>
Batch
</a></li>
<li
role=
"presentation"
class=
"active opNav"
data-show-div=
"insertSingle"
id=
"showSingle"
><a
href=
"#"
>
Datapoint (Single)
</a></li>
<li
role=
"presentation"
class=
"opNav"
data-show-div=
"insertBatch"
id=
"showBatch"
><a
href=
"#"
>
Datapoints (Batch)
</a></li>
<li
role=
"presentation"
class=
"opNav"
data-show-div=
"insertTrends"
id=
"showTrends"
><a
href=
"#"
>
Trends
</a></li>
<li
role=
"presentation"
class=
"opNav"
data-show-div=
"insertPrograms"
id=
"showPrograms"
><a
href=
"#"
>
Programs
</a></li>
<li
role=
"presentation"
class=
"opNav"
data-show-div=
"insertInfluence"
id=
"showInfluence"
><a
href=
"#"
>
Influence
</a></li>
<li
role=
"presentation"
class=
"opNav"
data-show-div=
"removeBatch"
id=
"showRemove"
><a
href=
"#"
>
Remove
</a></li>
</ul>
<div
id=
"insertSingle"
class=
"
insert
Div"
>
<div
id=
"insertSingle"
class=
"
op
Div"
>
<div
class=
"row"
>
<div
id=
"c1"
class=
"col-lg-4"
>
<div
class=
"panel panel-default"
>
...
...
@@ -347,14 +350,14 @@ insertDP: function (dp, ba, sa, ea, ca, logId) {
<div
class=
"panel-body"
>
<ul
class=
"nav nav-tabs"
>
<li
role=
"presentation"
class=
"active selectNav"
id=
"showMap"
><a
href=
"#"
>
Map
</a></li>
<li
role=
"presentation"
class=
"selectNav"
id=
"showTree"
><a
href=
"#"
>
Tree
</a></li>
<li
role=
"presentation"
class=
"active select
or
Nav"
data-show-div=
"selectorMap"
id=
"showMap"
><a
href=
"#"
>
Map
</a></li>
<li
role=
"presentation"
class=
"select
or
Nav"
data-show-div=
"selectorTree"
id=
"showTree"
><a
href=
"#"
>
Tree
</a></li>
</ul>
<div
id=
"selectMap"
class=
"selectDiv"
>
<div
id=
"select
or
Map"
class=
"select
or
Div"
>
<iframe
id=
"kompasFrame"
style=
"width:100%;height:100%;"
src=
"about:blank"
></iframe>
</div>
<div
id=
"selectTree"
class=
"selectDiv"
>
<div
id=
"select
or
Tree"
class=
"select
or
Div"
>
<div
id=
"tree"
></div>
</div>
</div>
...
...
@@ -365,7 +368,7 @@ insertDP: function (dp, ba, sa, ea, ca, logId) {
</div>
<div
id=
"insertBatch"
class=
"
insert
Div"
>
<div
id=
"insertBatch"
class=
"
op
Div"
>
<div
class=
"row"
>
<div
class=
"col-lg-10"
>
<div
class=
"form-group"
>
...
...
@@ -398,6 +401,14 @@ insertDP: function (dp, ba, sa, ea, ca, logId) {
</div>
<div
id=
"insertTrends"
class=
"opDiv"
><p>
TODO Trends insert
</p></div>
<div
id=
"insertPrograms"
class=
"opDiv"
><p>
TODO Programs insert
</p></div>
<div
id=
"insertInfluence"
class=
"opDiv"
><p>
TODO Influence insert
</p></div>
<div
id=
"removeBatch"
class=
"opDiv"
><p>
TODO Remove
</p></div>
</div>
</form>
...
...
SemanticBMSClient/js/scripts.js
View file @
e3ee2ee3
...
...
@@ -128,7 +128,7 @@ function SBMSPage(initFunc, vars, customFunc) {
for
(
i
=
0
;
i
<
data
.
length
;
i
++
)
{
parent
=
params
[
0
];
//+ "Col" + Math.floor(i / (Math.floor(data.length / 2)));
//var width= (columns) ? 6 : 6;
$
(
parent
).
append
(
'
<div class="
'
+
type
+
'
"><label class="
col-lg-6 col-md-12"><input id="
'
+
name
+
i
.
toString
()
+
'
" name="
'
+
name
+
'
" type="
'
+
type
+
'
" value="
'
+
data
[
i
]
+
'
">
'
$
(
parent
).
append
(
'
<div class="
'
+
type
+
'
col-lg-6 col-md-12"><
label><
input id="
'
+
name
+
i
.
toString
()
+
'
" name="
'
+
name
+
'
" type="
'
+
type
+
'
" value="
'
+
data
[
i
]
+
'
">
'
+
$
.
t
(
data
[
i
])
+
'
</label></div>
'
);
}
};
...
...
@@ -332,7 +332,7 @@ SBMSPage.prototype.getQueryVariable = function(variable)
SBMSPage
.
prototype
.
switchPanel
=
function
(
navClass
,
divClass
,
activeNav
,
activeDiv
)
{
$
(
"
.
"
+
divClass
).
hide
();
$
(
"
.
"
+
navClass
).
removeClass
(
"
active
"
);
$
(
"
#
"
+
activeNav
).
addClass
(
"
active
"
);
$
(
activeNav
).
addClass
(
"
active
"
);
$
(
"
#
"
+
activeDiv
).
show
();
};
...
...
SemanticBMSClient/query.html
View file @
e3ee2ee3
...
...
@@ -324,9 +324,12 @@ var p = new SBMSPage (function() {
<div
class=
"panel-heading"
><h3
class=
"panel-title"
data-i18n=
"Grouping"
>
Grouping
</h3></div>
<div
class=
"panel-body"
>
<p
data-i18n=
"query.groups.text"
></p>
<div
id=
"groups"
class=
"row"
>
<div
class=
"row"
>
<div
id=
"groups"
class=
"form-horizontal form-group"
></div>
<!--
<div id="groupsCol0" class="form-horizontal form-group col-lg-6"></div>
<div id="groupsCol1" class="form-horizontal form-group col-lg-6"></div>
-->
</div>
</div>
</div>
...
...
SemanticBMSServer/RDF/catalog-v001.xml
View file @
e3ee2ee3
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<catalog
prefer=
"public"
xmlns=
"urn:oasis:names:tc:entity:xmlns:xml:catalog"
>
<uri
id=
"User Edited Redirect"
name=
"http://is.muni.cz/
/
www/255658/sbms/v1_0/SemanticBMS"
uri=
"SemanticBMS.rdf"
/>
<uri
id=
"User Edited Redirect"
name=
"http://is.muni.cz/
/
www/255658/sbms/v1_0/SemanticBIM"
uri=
"SemanticBIM.rdf"
/>
<uri
id=
"User Edited Redirect"
name=
"http://is.muni.cz/www/255658/sbms/v1_0/SemanticBMS"
uri=
"SemanticBMS.rdf"
/>
<uri
id=
"User Edited Redirect"
name=
"http://is.muni.cz/www/255658/sbms/v1_0/SemanticBIM"
uri=
"SemanticBIM.rdf"
/>
<uri
id=
"User Edited Redirect"
name=
"http://purl.oclc.org/NET/muo/muo#"
uri=
"muo-vocab.rdf"
/>
<group
id=
"Folder Repository, directory=, recursive=true, Auto-Update=true, version=2"
prefer=
"public"
xml:base=
""
>
<uri
id=
"Automatically generated entry, Timestamp=146
3036717302
"
name=
"http://purl.oclc.org/NET/muo/ucum/"
uri=
"ucum-instances.rdf"
/>
<uri
id=
"Automatically generated entry, Timestamp=146
3036717302
"
name=
"http://purl.oclc.org/NET/ssnx/ssn"
uri=
"ssn.rdf"
/>
<uri
id=
"Automatically generated entry, Timestamp=146
3036717302
"
name=
"http://www.loa.istc.cnr.it/ontologies/DUL.owl"
uri=
"DUL.rdf"
/>
<uri
id=
"Automatically generated entry, Timestamp=146
3036717302
"
name=
"duplicate:http://www.w3.org/2002/07/owl"
uri=
"SemanticBIM.rdf"
/>
<uri
id=
"Automatically generated entry, Timestamp=146
3036717302
"
name=
"duplicate:http://www.w3.org/2002/07/owl"
uri=
"SemanticBMS.rdf"
/>
<uri
id=
"Automatically generated entry, Timestamp=146
5829895865
"
name=
"http://purl.oclc.org/NET/muo/ucum/"
uri=
"ucum-instances.rdf"
/>
<uri
id=
"Automatically generated entry, Timestamp=146
5829895865
"
name=
"http://purl.oclc.org/NET/ssnx/ssn"
uri=
"ssn.rdf"
/>
<uri
id=
"Automatically generated entry, Timestamp=146
5829895865
"
name=
"http://www.loa.istc.cnr.it/ontologies/DUL.owl"
uri=
"DUL.rdf"
/>
<uri
id=
"Automatically generated entry, Timestamp=146
5829895865
"
name=
"duplicate:http://www.w3.org/2002/07/owl"
uri=
"SemanticBIM.rdf"
/>
<uri
id=
"Automatically generated entry, Timestamp=146
5829895865
"
name=
"duplicate:http://www.w3.org/2002/07/owl"
uri=
"SemanticBMS.rdf"
/>
</group>
</catalog>
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment