org.nuiton.maven.skin
Class ScmwebeditorUtils

java.lang.Object
  extended by 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)
           
 
Method Summary
protected  String getAlignedFileName()
           
protected  org.apache.velocity.VelocityContext getContext()
           
protected  String getCurrentFileName()
           
 String getCurrentFileScmwebeditorURL()
           
protected  File getFile(String editFile)
           
protected  org.codehaus.plexus.logging.Logger getLogger()
           
protected  org.apache.maven.project.MavenProject getProject()
           
protected  String getRelativePath(String editFile, char separator)
           
 String getSiteXmlScmwebeditorURL()
           
 boolean isCurrentFileEditable()
           
protected  boolean isFirstLocale()
           
 void setContext(org.apache.velocity.VelocityContext context)
           
 void setLocale(Locale locale)
           
 void setLocales(List<Locale> locales)
           
 void setMavenProject(org.apache.maven.project.MavenProject mavenProject)
           
 void setScmwebeditorURL(String scmwebeditorURL)
           
 void setSiteSourcesType(String siteSourcesType)
           
 void setSiteXmlScmwebeditorURL(String siteXmlScmwebeditorURL)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScmwebeditorUtils

public ScmwebeditorUtils(org.apache.velocity.VelocityContext context,
                         org.codehaus.plexus.logging.Logger logger)
Method Detail

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.