Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: afb36e5dcde45383055f4f605ef403eeb57a3e10 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*******************************************************************************
 * Copyright (c) 2009, 2011 Mia-Software.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     Nicolas Bros (Mia-Software)
 *******************************************************************************/
package org.eclipse.gmt.modisco.infra.browser.queryResultDisplayers;

import java.util.List;

import org.eclipse.gmt.modisco.infra.browser.editors.table.TableEditorFactory;
import org.eclipse.gmt.modisco.infra.query.runtime.ModelQueryResult;
import org.eclipse.gmt.modisco.infra.query.ui.views.queryExecution.QueryResultDisplayer;

public class TableQueryResultDisplayer implements QueryResultDisplayer {

	public TableQueryResultDisplayer() {
		// nothing
	}

	public void displayQueryResult(final List<ModelQueryResult> result) {
		TableEditorFactory.getInstance().openOn(result);
	}

}

Back to the top