I am looking for sample starter code on writing a Java plugin which shows how to do the following:

 

1.       When user does a Save (File + Save), display a dialog box from which the user can proceed with the Normal Save or  select other options to do some custom saves to a database.

2.       Add new options/actions under File that do custom processing

 

I am familiar with Java but not with Oxygen’s plugin architecture. Any pointers on what documentation to start with would also be helpful.

 

Thanks,

Karanjit