Search in sources :

Example 1 with JavadocConfigurable

use of com.intellij.javadoc.JavadocConfigurable in project intellij-community by JetBrains.

the class GenerateJavadocAction method getAdditionalActionSettings.

@Override
protected JComponent getAdditionalActionSettings(Project project, final BaseAnalysisActionDialog dialog) {
    myConfigurable = new JavadocConfigurable(JavadocGenerationManager.getInstance(project).getConfiguration(), project);
    final JComponent component = myConfigurable.createComponent();
    myConfigurable.reset();
    myConfigurable.getOutputDirField().getDocument().addDocumentListener(new DocumentAdapter() {

        @Override
        protected void textChanged(DocumentEvent e) {
            updateAvailability(dialog);
        }
    });
    updateAvailability(dialog);
    return component;
}
Also used : JavadocConfigurable(com.intellij.javadoc.JavadocConfigurable) DocumentAdapter(com.intellij.ui.DocumentAdapter) DocumentEvent(javax.swing.event.DocumentEvent)

Aggregations

JavadocConfigurable (com.intellij.javadoc.JavadocConfigurable)1 DocumentAdapter (com.intellij.ui.DocumentAdapter)1 DocumentEvent (javax.swing.event.DocumentEvent)1