public class TemplatePlugin extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TemplatePlugin.TemplatePluginIdComparator |
Constructor and Description |
---|
TemplatePlugin() |
Modifier and Type | Method and Description |
---|---|
String |
getFolder()
folder of the plugin inside the template.
|
String |
getHTMLHead(GlobalContext globalContext) |
String |
getId()
combination of name and version.
|
static TemplatePlugin |
getInstance(File templatePluginFolder) |
String |
getLabel() |
String |
getName() |
String |
getVersion() |
void |
importInTemplate(ContentContext ctx,
File templateFolder) |
boolean |
isActiveInEdition() |
boolean |
isActiveOnScreenshot() |
protected Properties |
loadConfig(String config) |
public static final String HOME_KEY
public static TemplatePlugin getInstance(File templatePluginFolder) throws IOException
IOException
public String getHTMLHead(GlobalContext globalContext) throws IOException
IOException
public boolean isActiveInEdition()
public boolean isActiveOnScreenshot()
public void importInTemplate(ContentContext ctx, File templateFolder) throws IOException
IOException
public String getName()
public String getLabel()
public String getVersion()
public String getId()
public String getFolder()
protected Properties loadConfig(String config)
Copyright © 2012-2018. All Rights Reserved.