public void onRefreshAsset(RefreshAssetEditorEvent refreshAssetEditorEvent) {
//AssetUUID == null means to refresh all asset editors contained by the specified module.
if ((refreshAssetEditorEvent.getAssetUUID() == null && asset.getMetaData().getModuleName().equals(refreshAssetEditorEvent.getModuleName())) || asset.getUuid().equals( refreshAssetEditorEvent.getAssetUUID() ) ) {
LoadingPopup.showMessage( constants.RefreshingItem() );
AssetServiceAsync assetService = GWT.create(AssetService.class);
assetService.loadRuleAsset( asset.getUuid(),
new GenericCallback<Asset>() {
public void onSuccess(Asset a) {
asset = a;
render();
LoadingPopup.close();