We're updating the issue view to help you get more done. 

add method to traverse throw editor collection of tab

Description

when write callout to update a field when other field is change.
i see it's hard to travel thru all editor of current tab.

so i add editorTraverse (Callback<WEditor> editorTaverseCallback); to IFieldEditorContainer
it help called can travel thru weditor set to implement logic.

how to use?

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 from callout handle code ADWindow win = (ADWindow)SessionManager.getAppDesktop().findWindow(windowNo); IADTabpanel tabPanel = win.getADWindowContent().getADTab().getSelectedTabpanel(); IFieldEditorContainer fieldContainer = (IFieldEditorContainer)tabPanel; fieldContainer.editorTraverse(updateCodeEditorCallback); callback code to do logic public static class UpdateCodeEditorCallback implements Callback<WEditor>{ @Override public void onCallback(WEditor result) { if (result instanceof WCodeEditor) { //do logic here } } }

Environment

None

Status

Assignee

Hiep Lq

Reporter

Hiep Lq

Labels

Tested By

None

Priority

Major