protected void init() { super.init(); final PsiClass psiClass = myMethod.getContainingClass(); if (psiClass == null) return; if (psiClass.isInterface()) { myDelegatePanel.setVisible(false); } if (myMethod.hasModifierProperty(GrModifier.PRIVATE)) { myPrivateRadioButton.setSelected(true); } else if (myMethod.hasModifierProperty(GrModifier.PROTECTED)) { myProtectedRadioButton.setSelected(true); } else if (myMethod.hasModifierProperty(GrModifier.PUBLIC)) { myPublicRadioButton.setSelected(true); } }
protected void validateButtons() { super.validateButtons(); setErrorText(getValidationError()); }
protected void dispose() { myParameterNameField.removeDataChangedListener(myParameterNameChangedListener); super.dispose(); }