Skip to content

Package: DrillUp

DrillUp

Coverage

1: /*******************************************************************************
2: * Copyright (c) 2019 Christian W. Damus 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: * Christian W. Damus - initial API and implementation
13: ******************************************************************************/
14: package org.eclipse.emfforms.spi.core.services.reveal;
15:
16: import static java.lang.annotation.ElementType.METHOD;
17: import static java.lang.annotation.RetentionPolicy.RUNTIME;
18:
19: import java.lang.annotation.Documented;
20: import java.lang.annotation.Retention;
21: import java.lang.annotation.Target;
22:
23: import org.eclipse.emf.ecore.EObject;
24:
25: /**
26: * Annotation on a method that computes the {@link EObject} parent of a detail domain model object
27: * to try to reveal in the master view in a delegated
28: * {@linkplain RevealHelper#masterDetail(Object, Object) master-detail} reveal step.
29: *
30: * @since 1.22
31: * @see RevealHelper#masterDetail(Object, Object)
32: *
33: */
34: @Documented
35: @Retention(RUNTIME)
36: @Target(METHOD)
37: public @interface DrillUp {
38:         // No attributes
39: }