UserPreferences preferences = userManager.readPreferences();
cqlCompletionHintPanel = new CompletionHintPanel("cqlInfoHint", "Completion Hint");
cqlCompletionHintPanel.setVisible(preferences.isShowCqlCompletionHint());
add(cqlCompletionHintPanel);
queryResultPanel = new SwitchableQueryResultPanel("queryResultPanel", queryResultModel,
ViewType.fromOrientation(preferences.getResultOrientation()));
add(queryResultPanel);
queryResultPanel.setOutputMarkupPlaceholderTag(true);
EditorPanel queryEditorPanel = initQueryEditorPanel(params);