public class InstallOrUpdate extends Object implements GroupAction
This class determines whether a bunch of files can be updated (or installed), how to mark them for update, and what to call this action in the GUI.
Constructor and Description |
---|
InstallOrUpdate() |
Modifier and Type | Method and Description |
---|---|
String |
getLabel(FilesCollection files,
Iterable<FileObject> selected) |
boolean |
isValid(FilesCollection files,
FileObject file) |
void |
setAction(FilesCollection files,
FileObject file) |
String |
toString() |
public boolean isValid(FilesCollection files, FileObject file)
isValid
in interface GroupAction
public void setAction(FilesCollection files, FileObject file)
setAction
in interface GroupAction
public String getLabel(FilesCollection files, Iterable<FileObject> selected)
getLabel
in interface GroupAction
Copyright © 2014–2022 ImageJ. All rights reserved.