Package org.eclipse.e4.ui.di

# Annotation Interface Focus

@Documented @Target(METHOD) @Retention(RUNTIME) public @interface Focus
Parts can specify this annotation on one of its methods to tag it as the method to be invoked when it has been granted focus.

This annotation must not be applied to more than one method on a class. If multiple methods of the class are tagged with this annotation, only one of them will be called to grant focus to the part.

Since:
  1.0