public interface InstanceProvider<T>
For example there can be an instance provider of actions for the editor popup. The file object names of the actions declared in the layer can be of two forms:
interface PopupActions { List<Action> getActions(); }
Modifier and Type | Method and Description |
---|---|
T |
createInstance(List<FileObject> fileObjectList)
Create an instance of the class for which this
instance provider is declared in
Class2LayerFolder . |
T createInstance(List<FileObject> fileObjectList)
Class2LayerFolder
.fileObjectList
- non-null list of the file objects
collected from the particular layer folder and possibly
the inherited folders.