Package org.cyclop.web.panels.queryeditor.editor

Examples of org.cyclop.web.panels.queryeditor.editor.EditorPanel


    queryResultPanel = new SwitchableQueryResultPanel("queryResultPanel", queryResultModel,
        ViewType.fromOrientation(preferences.getResultOrientation()));
    add(queryResultPanel);
    queryResultPanel.setOutputMarkupPlaceholderTag(true);

    EditorPanel queryEditorPanel = initQueryEditorPanel(params);
    Form<String> editorForm = initForm(queryEditorPanel);
    initButtons(queryEditorPanel, editorForm);

    queryResultExport = new QueryResultExport(this, exporter);
View Full Code Here


  private EditorPanel initQueryEditorPanel(PageParameters params) {
    StringValue editorContentVal = params.get("cql");
    String editorContent = editorContentVal == null ? null : editorContentVal.toString();

    EditorPanel queryEditorPanel = new EditorPanel("queryEditorPanel", editorContent);
    add(queryEditorPanel);
    queryEditorPanel.setOutputMarkupPlaceholderTag(true);

    queryEditorPanel.registerCompletionChangeListener(new CompletionChangeHelp());
    queryEditorPanel.registerCompletionChangeListener(new CompletionChangeHint());
    return queryEditorPanel;
  }
View Full Code Here

TOP

Related Classes of org.cyclop.web.panels.queryeditor.editor.EditorPanel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.