"\">Advanced search with SPARQL</a></blockquote>");
controls.add(sparqlButton);
}
private void _prepareBrowseButtons() {
PushButton button;
button = new PushButton("Refresh", new ClickListener() {
public void onClick(Widget sender) {
pctrl.refreshListAllOntologies();
}
});
button.setTitle("Reloads the list of registered ontologies");
controls.add(button);
buttons.add(button);
if ( pctrl.getLoginResult() == null ) {
controls.add(_putHFillers("30px", searchOntologiesPanel, null));
}
else {
controls.add(_putHFillers("30px", searchOntologiesPanel, "100px"));
button = new PushButton("Create vocabulary", new ClickListener() {
public void onClick(Widget sender) {
pctrl.createNewVocabulary();
}
});
button.setTitle("Allows to create an ontology from a tabular arrangement of terms " +
"using the integrated Voc2RDF tool");
controls.add(button);
buttons.add(button);
button = new PushButton("Create mapping", new ClickListener() {
public void onClick(Widget sender) {
pctrl.createNewMappingOntology();
}
});
button.setTitle("Allows to create a mapping ontology using the integrated VINE tool");
controls.add(button);
buttons.add(button);
// Enhancement #202: "Upload button (in new portal) is ambiguous"
// Name of the button is now "Upload ontology"
button = new PushButton("Upload ontology", new ClickListener() {
public void onClick(Widget sender) {
pctrl.startRegisterExternal();
}
});
button.setTitle("Allows to prepare and register an external ontology file");
controls.add(button);
buttons.add(button);
}
}