()
| 811 | |
| 812 | |
| 813 | public void remove() { |
| 814 | clearStatusMessage(); |
| 815 | if (contrib.isInstalled() && contrib instanceof LocalContribution) { |
| 816 | removeInProgress = true; |
| 817 | barButtonCardLayout.show(barButtonCardPane, PROGRESS_BAR_CONSTRAINT); |
| 818 | updateButton.setEnabled(false); |
| 819 | installRemoveButton.setEnabled(false); |
| 820 | installProgressBar.setVisible(true); |
| 821 | installProgressBar.setIndeterminate(true); |
| 822 | |
| 823 | ContribProgressBar monitor = new RemoveProgressBar(installProgressBar); |
| 824 | getLocalContrib().removeContribution(getBase(), monitor, getStatusPanel()); |
| 825 | } |
| 826 | } |
| 827 | |
| 828 | |
| 829 | class RemoveProgressBar extends ContribProgressBar { |
no test coverage detected