Interface PartialImport
public interface PartialImport
A partial import, i.e. an element which is importable, proposed to the end user.
- 
Method SummaryModifier and TypeMethodDescriptiongetKey()Gets the key.getLabel()Gets the labelstatic PartialImportof(String key, I18nizableText label) Builds a partial import.toJson()Jsonify this partial import for client-side
- 
Method Details- 
getKeyGets the key. Must be unique across the whole application (you should prefix it, for instance "plugins/my-plugin").- Returns:
- the key
 
- 
getLabelGets the label- Returns:
- the label
 
- 
toJsonJsonify this partial import for client-side- Returns:
- the JSON representation of this partial import
 
- 
ofBuilds a partial import.- Parameters:
- key- the key
- label- the label
- Returns:
- a partial import
 
 
-