this.setToolTipText("Check for updates from NBOClient software site.");
this.setImageDescriptor(ImageDescriptor.createFromImageData(new ImageData("img/updates.png")));
}
public void run() {
UpdateClientPerspective updateClientPerspective = mainWindow.getUpdateClientPerspective();
updateClientPerspective.refresh();
if (updateClientPerspective.getContent().getSelection() == null) {
updateClientPerspective.getContent().setSelection(0);
}
mainWindow.changePerspective(updateClientPerspective);
this.setEnabled(false);