Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-discussion] Error in Plugin Example Source Code

Daniel Holbert holbert at helix.stanford.edu
Sun Jan 7 12:30:23 PST 2007


There's a very minor error in the example Protege Plugin source code 
which prevents the examples from compiling. (source code obtained from
http://protege.stanford.edu/doc/pdk/plugins/plugin-examples-src.zip 
via link from
http://protege.stanford.edu/doc/pdk/plugins/project_plugin.html )

The issue is in examples.projectplugin.MenuItemInserter:

Error:Error:line (10)examples.projectplugin.MenuItemInserter is not 
abstract and does not override abstract method 
afterSave(edu.stanford.smi.protege.model.Project) in 
edu.stanford.smi.protege.plugin.ProjectPlugin


That file (MenuItemInserter.java) just needs these lines added:

     public void afterSave(Project p) {
        // do nothing
     }


Thanks,
Daniel Holbert
PharmGKB



More information about the protege-discussion mailing list