Class InputOneEquationHandler

All Implemented Interfaces:
PropertyChangeListener, EventListener

public class InputOneEquationHandler extends InputContentHandler<InputOneEquationUI>
Equation handler.
  • Field Details

  • Constructor Details

    • InputOneEquationHandler

      protected InputOneEquationHandler(InputOneEquationUI inputContentUI)
  • Method Details

    • afterInit

      protected void afterInit()
    • getEquation

      protected Equation getEquation()
      Get equation on entity.
    • setEquation

      protected void setEquation()
      Call setXXXContent on topia entity (convention).
    • refresh

      public void refresh()
    • setComboModel

      protected void setComboModel()
    • saveModel

      protected void saveModel()
    • saveAsModel

      protected void saveAsModel(String category, String language, String content)
      Save an Equation as model, to reuse it for other equation
      category - category for this equation
      language - equation to put in models
      content - content ?
    • openEditor

      protected void openEditor()
      Open external editor, with equation documentation.
    • openEditor

      public void openEditor(InputOneEquationUI ui, String category, String name, Class<?> javaInterface, String content, SyntaxEditor editor)
    • setEditorText

      protected void setEditorText()
    • formuleChanged

      protected void formuleChanged()
      New formule selected, replace content.