public final class HintsController extends Object
Modifier and Type | Method and Description |
---|---|
static void |
setErrors(Document doc,
String layer,
Collection<? extends ErrorDescription> errors)
Assign given list of errors to a file.
|
static void |
setErrors(FileObject file,
String layer,
Collection<? extends ErrorDescription> errors)
Assign given list of errors to a given file.
|
public static void setErrors(@NonNull Document doc, @NonNull String layer, @NonNull Collection<? extends ErrorDescription> errors)
doc
- document to which the errors should be assignedlayer
- unique layer IDerrors
- to usepublic static void setErrors(@NonNull FileObject file, @NonNull String layer, @NonNull Collection<? extends ErrorDescription> errors)
file
- to which the errors should be assignedlayer
- unique layer IDerrors
- to use