Search Mailing List Archives
[protege-discussion] Error in Plugin Example Source Code
Tania Tudorache
tudorache at stanford.edu
Mon Jan 8 11:58:37 PST 2007
Hi Daniel,
Thanks a lot! We have fixed the zip file and now the examples compile fine.
Tania
Daniel Holbert wrote:
> 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
> _______________________________________________
> protege-discussion mailing list
> protege-discussion at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/protege-discussion
>
> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
>
>
More information about the protege-discussion
mailing list