@Override protected void updateExtraButtons() { if (abstractRepositoryQueryPage != null) { if (refreshButton != null) { abstractRepositoryQueryPage.setExtraButtonState(refreshButton); } if (clearButton != null) { abstractRepositoryQueryPage.setExtraButtonState(clearButton); } } }
@Override protected boolean handleExtraButtonPressed(int buttonId) { if (abstractRepositoryQueryPage != null) { abstractRepositoryQueryPage.handleExtraButtonPressed(buttonId); } return false; }
@Override protected void createExtraButtons(Composite composite) { if (abstractRepositoryQueryPage != null) { if (abstractRepositoryQueryPage.needsRefresh()) { refreshButton = createButton( composite, REFRESH_BUTTON_ID, Messages.QueryWizardDialog_Update_Attributes_from_Repository, false); refreshButton.setVisible(false); setButtonLayoutData(refreshButton); } if (abstractRepositoryQueryPage.needsClear()) { clearButton = createButton( composite, CLEAR_BUTTON_ID, Messages.QueryWizardDialog_Clear_Fields, false); clearButton.setVisible(false); setButtonLayoutData(clearButton); } } }