Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7900006

Need a method protected InterviewEditor BasicSessionControl.createEditor() to incapsulate IE creation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • jt4.5
    • None
    • tools
    • None
    • b13
    • b15

    Description

      It is very difficult to use subclassed InterviewEditor into custom BasicSessionControl successor

      So, on the talk to Dima F., we suggest to do the following:

      1. Need a method
        protected InterviewEditor BasicSessionControl.createEditor()
      and extract the code:
      ==============
              interviewEditor = new InterviewEditor(parent, getUIFactory(), ip);
              if (cm != null) {
                  interviewEditor.setCustomRenderers(cm.getCustomRenderersMap());
                  interviewEditor.setContextManager(cm);
              }
      ==============
      2. update existing method BasicSessionControl.initEditor() to call
      interviewEditor=BasicSessionControl.createEditor() instead of explicit
      constructor call.



      Attachments

        Activity

          People

            dfazunen Dmitry Fazunenko (Inactive)
            bkvartsk Boris Kvartskhava
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: