Skip to content

Package: TreeReadOnlyProvider

TreeReadOnlyProvider

Coverage

1: /*******************************************************************************
2: * Copyright (c) 2011-2019 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: * Lucas Koehler - initial API and implementation
13: ******************************************************************************/
14: package org.eclipse.emfforms.spi.swt.treemasterdetail;
15:
16: /**
17: * @author Lucas Koehler
18: * @since 1.22
19: *
20: */
21: public interface TreeReadOnlyProvider {
22:
23:         /**
24:          * Returns whether the tree should be read-only.
25:          *
26:          * @return <code>true</code> if the tree is read-only
27:          */
28:         boolean isReadOnly();
29: }