org.nuiton.maven.skin
Class ScmwebeditorUtils
java.lang.Object
org.nuiton.maven.skin.ScmwebeditorUtils
public class ScmwebeditorUtils
- extends Object
A tool to be used in the velocity template.
- Since:
- 1.0.6
- Author:
- tchemit
|
Constructor Summary |
ScmwebeditorUtils(org.apache.velocity.VelocityContext context,
org.codehaus.plexus.logging.Logger logger)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScmwebeditorUtils
public ScmwebeditorUtils(org.apache.velocity.VelocityContext context,
org.codehaus.plexus.logging.Logger logger)
buildStates
public void buildStates()
setContext
public void setContext(org.apache.velocity.VelocityContext context)
setLocales
public void setLocales(List<Locale> locales)
setLocale
public void setLocale(Locale locale)
setScmwebeditorPrefixURL
public void setScmwebeditorPrefixURL(String scmwebeditorPrefixURL)
setSiteSourcesType
public void setSiteSourcesType(String siteSourcesType)
setMavenProject
public void setMavenProject(org.apache.maven.project.MavenProject mavenProject)
setSiteXmlScmwebeditorURL
public void setSiteXmlScmwebeditorURL(String siteXmlScmwebeditorURL)
getSiteXmlScmwebeditorURL
public String getSiteXmlScmwebeditorURL()
isCurrentFileEditable
public boolean isCurrentFileEditable()
getCurrentFileScmwebeditorURL
public String getCurrentFileScmwebeditorURL()
getContext
protected org.apache.velocity.VelocityContext getContext()
getLogger
protected org.codehaus.plexus.logging.Logger getLogger()
getProject
protected org.apache.maven.project.MavenProject getProject()
getCurrentFileName
protected String getCurrentFileName()
isFirstLocale
protected boolean isFirstLocale()
getRelativePath
protected String getRelativePath(String editFile,
char separator)
getFile
protected File getFile(String editFile)
Copyright © 2006-2011 CodeLutin. All Rights Reserved.