org.semanticgov.ui.editor
Class UIUtils

java.lang.Object
  extended by org.semanticgov.ui.editor.UIUtils

public class UIUtils
extends java.lang.Object


Field Summary
static org.eclipse.jface.viewers.IStructuredContentProvider contentProvider
           
 
Constructor Summary
UIUtils()
           
 
Method Summary
static org.eclipse.jface.viewers.ComboViewer createInstancesCombo(org.eclipse.swt.widgets.Composite parent)
           
static java.util.Set<org.wsmo.common.IRI> getInstances(org.omwg.ontology.Concept concept, org.omwg.ontology.Ontology onto)
           
static java.util.Set<org.wsmo.common.IRI> getInstances(org.wsmo.common.Identifier conceptID, org.omwg.ontology.Ontology onto)
           
static java.util.Set<org.wsmo.common.IRI> getInstances(org.wsmo.common.Identifier conceptID, java.util.Set<org.omwg.ontology.Ontology> importedOntos)
           
static java.util.Set<org.wsmo.common.IRI> getSubConcepts(org.wsmo.common.Identifier conceptID, org.omwg.ontology.Ontology onto)
           
static java.util.Set<org.wsmo.common.IRI> getSubConcepts(org.wsmo.common.Identifier conceptID, java.util.Set<org.omwg.ontology.Ontology> importedOntos)
           
static boolean isSubconceptOf(org.omwg.ontology.Concept subConcept, org.omwg.ontology.Concept superConcept)
           
static java.util.Set<org.wsmo.common.IRI> listSubdomainEntries(org.wsmo.common.Identifier domainID, java.util.Set<org.omwg.ontology.Ontology> importedOntos)
           
static void updateAxiomsTable(org.eclipse.swt.widgets.Table table, java.util.Set axioms)
           
static void updateCombo(org.eclipse.jface.viewers.ComboViewer viewer, java.util.Set<org.wsmo.common.IRI> entries, org.wsmo.common.IRI selection)
           
static void updateTable(org.eclipse.swt.widgets.Table table, java.util.Set<org.wsmo.common.IRI> entries)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

contentProvider

public static org.eclipse.jface.viewers.IStructuredContentProvider contentProvider
Constructor Detail

UIUtils

public UIUtils()
Method Detail

createInstancesCombo

public static org.eclipse.jface.viewers.ComboViewer createInstancesCombo(org.eclipse.swt.widgets.Composite parent)

updateCombo

public static void updateCombo(org.eclipse.jface.viewers.ComboViewer viewer,
                               java.util.Set<org.wsmo.common.IRI> entries,
                               org.wsmo.common.IRI selection)

updateTable

public static void updateTable(org.eclipse.swt.widgets.Table table,
                               java.util.Set<org.wsmo.common.IRI> entries)

updateAxiomsTable

public static void updateAxiomsTable(org.eclipse.swt.widgets.Table table,
                                     java.util.Set axioms)

getInstances

public static java.util.Set<org.wsmo.common.IRI> getInstances(org.wsmo.common.Identifier conceptID,
                                                              java.util.Set<org.omwg.ontology.Ontology> importedOntos)

getInstances

public static java.util.Set<org.wsmo.common.IRI> getInstances(org.wsmo.common.Identifier conceptID,
                                                              org.omwg.ontology.Ontology onto)

getInstances

public static java.util.Set<org.wsmo.common.IRI> getInstances(org.omwg.ontology.Concept concept,
                                                              org.omwg.ontology.Ontology onto)

getSubConcepts

public static java.util.Set<org.wsmo.common.IRI> getSubConcepts(org.wsmo.common.Identifier conceptID,
                                                                java.util.Set<org.omwg.ontology.Ontology> importedOntos)

getSubConcepts

public static java.util.Set<org.wsmo.common.IRI> getSubConcepts(org.wsmo.common.Identifier conceptID,
                                                                org.omwg.ontology.Ontology onto)

listSubdomainEntries

public static java.util.Set<org.wsmo.common.IRI> listSubdomainEntries(org.wsmo.common.Identifier domainID,
                                                                      java.util.Set<org.omwg.ontology.Ontology> importedOntos)

isSubconceptOf

public static boolean isSubconceptOf(org.omwg.ontology.Concept subConcept,
                                     org.omwg.ontology.Concept superConcept)


Copyright © 2007-2008 Ontotext Lab.. All Rights Reserved.