Protege 4.1.0

org.protege.editor.owl.model.library.folder
Class FolderGroupManager

java.lang.Object
  extended by org.protege.editor.owl.model.library.CatalogEntryManager
      extended by org.protege.editor.owl.model.library.folder.FolderGroupManager
All Implemented Interfaces:
Disposable, ProtegePluginInstance

public class FolderGroupManager
extends CatalogEntryManager

Author: Matthew Horridge
The University Of Manchester
Medical Informatics Group
Date: 23-Aug-2006

matthew.horridge@cs.man.ac.uk
www.cs.man.ac.uk/~horridgm


Field Summary
static int CURRENT_VERSION
           
static String DIR_PROP
           
static String FILE_KEY
           
static int FOLDER_BY_URI_VERSION
           
static String ID_PREFIX
           
static String RECURSIVE_PROP
           
 
Fields inherited from class org.protege.editor.owl.model.library.CatalogEntryManager
DUPLICATE_SCHEME, IGNORED_SCHEMES, SHADOWED_SCHEME
 
Constructor Summary
FolderGroupManager()
           
 
Method Summary
static org.protege.xmlcatalog.entry.GroupEntry createGroupEntry(URI folder, boolean recursive, boolean autoUpdate, org.protege.xmlcatalog.XmlBaseContext context)
           
 String getDescription()
           
 String getDescription(org.protege.xmlcatalog.entry.Entry ge)
           
 boolean initializeCatalog(File folder, org.protege.xmlcatalog.XMLCatalog catalog)
           
 boolean isAutoUpdate()
           
 boolean isSuitable(org.protege.xmlcatalog.entry.Entry entry)
           
protected  boolean isValidOWLFile(File physicalLocation)
           
 NewEntryPanel newEntryPanel(org.protege.xmlcatalog.XMLCatalog catalog)
           
 void setAlgorithms(Algorithm... algorithms)
           
 void setAutoUpdate(boolean autoUpdate)
           
 boolean update(org.protege.xmlcatalog.entry.Entry entry)
           
 
Methods inherited from class org.protege.editor.owl.model.library.CatalogEntryManager
dispose, getId, initialise, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FOLDER_BY_URI_VERSION

public static final int FOLDER_BY_URI_VERSION
See Also:
Constant Field Values

CURRENT_VERSION

public static final int CURRENT_VERSION
See Also:
Constant Field Values

ID_PREFIX

public static final String ID_PREFIX
See Also:
Constant Field Values

DIR_PROP

public static final String DIR_PROP
See Also:
Constant Field Values

RECURSIVE_PROP

public static final String RECURSIVE_PROP
See Also:
Constant Field Values

FILE_KEY

public static final String FILE_KEY
See Also:
Constant Field Values
Constructor Detail

FolderGroupManager

public FolderGroupManager()
Method Detail

createGroupEntry

public static org.protege.xmlcatalog.entry.GroupEntry createGroupEntry(URI folder,
                                                                       boolean recursive,
                                                                       boolean autoUpdate,
                                                                       org.protege.xmlcatalog.XmlBaseContext context)
                                                                throws IOException
Throws:
IOException

setAlgorithms

public void setAlgorithms(Algorithm... algorithms)

setAutoUpdate

public void setAutoUpdate(boolean autoUpdate)

isAutoUpdate

public boolean isAutoUpdate()

isSuitable

public boolean isSuitable(org.protege.xmlcatalog.entry.Entry entry)
Specified by:
isSuitable in class CatalogEntryManager

update

public boolean update(org.protege.xmlcatalog.entry.Entry entry)
Specified by:
update in class CatalogEntryManager

initializeCatalog

public boolean initializeCatalog(File folder,
                                 org.protege.xmlcatalog.XMLCatalog catalog)
                          throws IOException
Specified by:
initializeCatalog in class CatalogEntryManager
Throws:
IOException

newEntryPanel

public NewEntryPanel newEntryPanel(org.protege.xmlcatalog.XMLCatalog catalog)
Specified by:
newEntryPanel in class CatalogEntryManager

getDescription

public String getDescription()
Specified by:
getDescription in class CatalogEntryManager

getDescription

public String getDescription(org.protege.xmlcatalog.entry.Entry ge)
Specified by:
getDescription in class CatalogEntryManager

isValidOWLFile

protected boolean isValidOWLFile(File physicalLocation)

Protege 4.1.0

Submit a bug report or feature request

For further API reference and developer documentation, see Protege 4 Developer Documentation.

Copyright © 2010 Stanford Center for Biomedical Informatics Research