CommonConstants.INSTANCE.SourceTabTitle() ) {
@Override
public void onFocus() {
viewSource.showBusyIndicator( CommonConstants.INSTANCE.Loading() );
globalsEditorService.call( new ViewSourceSuccessCallback( viewSource ),
new HasBusyIndicatorDefaultErrorCallback( viewSource ) ).toSource( path,
model );
}
@Override
public void onLostFocus() {
viewSource.clear();
}
} );
multiPage.addPage( new Page( metadataWidget,
CommonConstants.INSTANCE.MetadataTabTitle() ) {
@Override
public void onFocus() {
metadataWidget.showBusyIndicator( CommonConstants.INSTANCE.Loading() );
metadataService.call( new MetadataSuccessCallback( metadataWidget,
isReadOnly ),
new HasBusyIndicatorDefaultErrorCallback( metadataWidget ) ).getMetadata( path );
}
@Override
public void onLostFocus() {
//Nothing to do