Skip to content

Package: RenderingResultRow

RenderingResultRow

Coverage

1: /*******************************************************************************
2: * Copyright (c) 2011-2013 EclipseSource Muenchen GmbH and others.
3: *
4: * All rights reserved. This program and the accompanying materials
5: * are made available under the terms of the Eclipse Public License 2.0
6: * which accompanies this distribution, and is available at
7: * https://www.eclipse.org/legal/epl-2.0/
8: *
9: * SPDX-License-Identifier: EPL-2.0
10: *
11: * Contributors:
12: * Eugen Neufeld - initial API and implementation
13: ******************************************************************************/
14: package org.eclipse.emf.ecp.view.spi.renderer;
15:
16: import java.util.Set;
17:
18: /**
19: * This class is used to mark an result row of an renderer. Thus all controls should be displayed in one row.
20: *
21: * @param <T> the type this {@link RenderingResultRow} works on
22: * @author Eugen Neufeld
23: * @since 1.2
24: *
25: */
26: @Deprecated
27: public interface RenderingResultRow<T> {
28:
29:         /**
30:          * The main control of the result row. This method is here for legacy.
31:          *
32:          * @return the Control that is most important in this row
33:          *
34:          */
35:         @Deprecated
36:         T getMainControl();
37:
38:         /**
39:          * Return all Controls which are held by this RenderingResultRow.
40:          *
41:          * @return the set of controls
42:          */
43:         Set<T> getControls();
44: }