Overriding Default ArcMap Functionality

Discussion created by nieltown on Dec 1, 2011
I'm currently working on an ArcMap Add-In project written in Java.  One of the requirements for the project is to implement some custom behavior when opening and saving map documents INSTEAD of the default behavior, not addition to.  While I've found the IDocumentEventsAdapter interface, which includes methods such as openDocument, any code I put in the openDocument method is executed AFTER the default behavior.

So my question is this: Is there anyway to override default behavior in ArcMap such as File -> Save or File -> Open ?  I know this was possible in the old days of ArcView with Avenue, but I haven't been able to find a solution for ArcGIS.