Class SourceEditorController

  • All Implemented Interfaces:
    javafx.fxml.Initializable, ApplicationComponent, SettingsOwner

    public class SourceEditorController
    extends AbstractController
    One editor, i.e. source editor and ast tree view. The NodeEditionCodeArea handles the presentation of different types of nodes in separate layers. This class handles configuration, language selection and such.
    Since:
    6.0.0
    Author:
    Clément Fournier
    • Constructor Detail

      • SourceEditorController

        public SourceEditorController​(DesignerRoot designerRoot)
    • Method Detail

      • beforeParentInit

        protected void beforeParentInit()
        Description copied from class: AbstractController
        Executed before the parent's initialization. Always executed once at the start of the initialization of this controller.
        Overrides:
        beforeParentInit in class AbstractController
      • showAuxclasspathSetupPopup

        public void showAuxclasspathSetupPopup()
      • currentRuleResultsProperty

        public org.reactfx.value.Var<List<net.sourceforge.pmd.lang.ast.Node>> currentRuleResultsProperty()
      • currentErrorNodesProperty

        public org.reactfx.value.Var<List<net.sourceforge.pmd.lang.ast.Node>> currentErrorNodesProperty()
      • getLanguageVersion

        public net.sourceforge.pmd.lang.LanguageVersion getLanguageVersion()
      • setLanguageVersion

        public void setLanguageVersion​(net.sourceforge.pmd.lang.LanguageVersion version)
      • languageVersionProperty

        public org.reactfx.value.Var<net.sourceforge.pmd.lang.LanguageVersion> languageVersionProperty()
      • getText

        public String getText()
      • setText

        public void setText​(String expression)
      • textProperty

        public org.reactfx.value.Val<String> textProperty()
      • getAuxclasspathFiles

        public List<File> getAuxclasspathFiles()
      • setAuxclasspathFiles

        public void setAuxclasspathFiles​(List<File> files)
      • getDebugName

        public String getDebugName()
        Description copied from interface: ApplicationComponent
        A debug name for this component, used in developer mode to e.g. trace events handling paths.