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)
setContext
public void setContext(org.apache.velocity.VelocityContext context)
setLocales
public void setLocales(List<Locale> locales)
setLocale
public void setLocale(Locale locale)
setScmwebeditorURL
public void setScmwebeditorURL(String scmwebeditorURL)
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()
getAlignedFileName
protected String getAlignedFileName()
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.