Search in sources :

Example 1 with EditorPreferenceSection

use of org.eclipse.che.ide.editor.preferences.EditorPreferenceSection in project che by eclipse.

the class EditorPropertiesPresenter method onWsAgentStarted.

@Override
public void onWsAgentStarted(WsAgentStateEvent event) {
    for (EditorPropertiesSection section : sections) {
        EditorPreferenceSection editorPreferenceSection = editorPreferenceSectionFactory.create(section.getSectionTitle(), section.getProperties());
        editorPreferenceSection.go(view.getEditorSectionsContainer());
        editorPreferenceSection.setParent(parentPresenter);
        sectionsSet.add(editorPreferenceSection);
    }
}
Also used : EditorPropertiesSection(org.eclipse.che.ide.editor.preferences.editorproperties.sections.EditorPropertiesSection) EditorPreferenceSection(org.eclipse.che.ide.editor.preferences.EditorPreferenceSection)

Aggregations

EditorPreferenceSection (org.eclipse.che.ide.editor.preferences.EditorPreferenceSection)1 EditorPropertiesSection (org.eclipse.che.ide.editor.preferences.editorproperties.sections.EditorPropertiesSection)1