fileTypeRegistry_ = fileTypeRegistry;
workbenchContext_ = workbenchContext;
sourceShim_ = sourceShim;
events_.addHandler(SaveActionChangedEvent.TYPE,
new SaveActionChangedHandler()
{
public void onSaveActionChanged(SaveActionChangedEvent event)
{
saveAction_ = event.getAction();
}