GBS-3277:Code refactor for segment editor and popup editor.
GBS-3277:Code refactor for segment editor and popup editor.
GBS-3277:Code refactor for segment editor and popup editor.