Package org.eclipse.e4.core.services.nls
Interface MessageSupplier
public interface MessageSupplier
Supplier interface that is used to bind a method of an object (e.g. a SWT
control) to a field of a Messages instance. Typically the instance field that
contains the localization value will be returned.
This is a functional interface whose functional method is get()
.
When updating to Java 8 this interface can be removed and replaced with the
general java.util.function.Supplier
- Since:
- 2.0
-
Method Summary
-
Method Details
-
get
String get()- Returns:
- The value this
MessageSupplier
holds.
-