org.fusesource.scalate.console

ConsoleHelper

class ConsoleHelper extends ConsoleSnippets

Helper snippets for creating the console

Version

$Revision : 1.1 $

Linear Supertypes
ConsoleSnippets, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ConsoleHelper
  2. ConsoleSnippets
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ConsoleHelper(context: DefaultRenderContext)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def archetypes: Array[Archetype]

    Returns all the available archetypes for the current view name

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. val consoleParameter: String

  10. def disableLink(name: String): String

    Link to the current page with the option disabled

  11. def editFileLink(file: String, line: Option[Int], col: Option[Int])(body: ⇒ Unit): NodeSeq

    returns an edit link for the given file, discovering the right URL based on your OS and whether you have TextMate installed and whether you have defined the scalate.editor system property

    returns an edit link for the given file, discovering the right URL based on your OS and whether you have TextMate installed and whether you have defined the scalate.editor system property

    Definition Classes
    ConsoleSnippets
  12. def editFileLink(template: String)(body: ⇒ Unit): NodeSeq

    returns an edit link for the given file, discovering the right URL based on your OS and whether you have TextMate installed and whether you have defined the scalate.editor system property

    returns an edit link for the given file, discovering the right URL based on your OS and whether you have TextMate installed and whether you have defined the scalate.editor system property

    Definition Classes
    ConsoleSnippets
  13. def editLink(filePath: String, line: Option[Int], col: Option[Int])(body: ⇒ Unit): NodeSeq

    returns an edit link for the given URI, discovering the right URL based on your OS and whether you have TextMate installed and whether you have defined the scalate.editor system property

    returns an edit link for the given URI, discovering the right URL based on your OS and whether you have TextMate installed and whether you have defined the scalate.editor system property

    Definition Classes
    ConsoleSnippets
  14. def editLink(template: String, line: Int, col: Int)(body: ⇒ Unit): NodeSeq

    Definition Classes
    ConsoleSnippets
  15. def editLink(template: String)(body: ⇒ Unit): NodeSeq

    returns an edit link for the given URI, discovering the right URL based on your OS and whether you have TextMate installed and whether you have defined the scalate.editor system property

    returns an edit link for the given URI, discovering the right URL based on your OS and whether you have TextMate installed and whether you have defined the scalate.editor system property

    Definition Classes
    ConsoleSnippets
  16. def enableLink(name: String): String

    Link to the current page with the option enabled

  17. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  19. def errorCode: Int

  20. def errorMessage: String

  21. def errorRequestUri: String

  22. def exception: Any

  23. def exists(fileName: String): Boolean

    Definition Classes
    ConsoleSnippets
  24. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  25. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  26. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  27. def isDevelopmentMode: Boolean

  28. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  29. def layouts: List[String]

    Returns the current layouts used in the current context

  30. def lines(template: String, pos: Position, chunk: Int = 5): Seq[SourceLine]

    Retrieves a chunk of lines either side of the given error line

  31. def lines(template: String, errorLine: Int, chunk: Int): Seq[SourceLine]

    Retrieves a chunk of lines either side of the given error line

  32. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  33. def newTemplateName(): Option[String]

    Creates the newly created template name if there can be one for the current resource

  34. final def notify(): Unit

    Definition Classes
    AnyRef
  35. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  36. def optionEnabled(name: String): Boolean

    Returns true if the option is enabled

  37. def realPath(uri: String): String

    Definition Classes
    ConsoleSnippets
  38. def renderContext: DefaultRenderContext

    Definition Classes
    ConsoleHelperConsoleSnippets
  39. def renderStackTraceElement(stack: StackTraceElement): NodeSeq

  40. def resourceClassName: Option[String]

    Returns the class name of the current resource

  41. def resourceSourceFile: Option[File]

    Returns an attempt at finding the source file for the current resource.

    Returns an attempt at finding the source file for the current resource.

    TODO use bytecode swizzling to find the accurate name from the debug info in the class file!

  42. def servletContext: ServletContext

    Definition Classes
    ConsoleHelperConsoleSnippets
  43. def shorten(file: String): String

    Definition Classes
    ConsoleSnippets
  44. def shorten(file: File): String

    Definition Classes
    ConsoleSnippets
  45. var sourcePrefixes: List[String]

    Attributes
    protected
    Definition Classes
    ConsoleSnippets
  46. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  47. def systemProperties: SortedMap[String, String]

  48. def templates: List[String]

    Returns the current template names used in the current context

  49. def toString(): String

    Definition Classes
    AnyRef → Any
  50. def viewName: String

  51. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  52. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  53. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from ConsoleSnippets

Inherited from AnyRef

Inherited from Any

Ungrouped