if (saveStatus.getSeverity() != Status.Severity.ERROR) {
// Get the entity for the newly saved gem.
GemEntity newGemEntity = getWorkspace().getGemEntity(gemName);
BrowserTree browserTree = getGemBrowser().getBrowserTree();
//BrowserTreeModel browserTreeModel = (BrowserTreeModel) browserTree.getModel();
// Select the newly saved gem in the gem browser.
browserTree.selectGemNode(newGemEntity);
// Refresh the tree node associated with this gem entity
//browserTreeModel.getTreeNode(newGemEntity).refreshNode();
if (saveStatus.getSeverity() == Status.Severity.WARNING) {