if (evt.getSource().equals(teleportItem)) { teleportToRoot(getSelectionNode()); } else if (evt.getSource().equals(refreshItem)) { String [] assetids = new String[] { getSelectionNode().getAsset().getId() }; AssetRefreshWorker worker = new AssetRefreshWorker(assetids, true); worker.start(); }
if (evt.getSource().equals(createItem)) fireNewAsset(typeCode, parent, index);
				public void actionPerformed(ActionEvent evt) {					if (evt.getSource().equals(teleportItem)) {						teleportToRoot(getSelectionNode());					} else if (evt.getSource().equals(refreshItem)) {						String [] assetids = new String[] { getSelectionNode().getAsset().getId() };						AssetRefreshWorker worker = new AssetRefreshWorker(assetids, true);						worker.start();					}				}