class UserNameSuggestionProvider extends SuggestionProvider
- Alphabetic
- By Inheritance
- UserNameSuggestionProvider
- SuggestionProvider
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new UserNameSuggestionProvider()
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def additionalScript(repository: RepositoryInfo)(implicit context: Context): String
If this suggestion provider needs some additional process to assemble the proposal list (e.g.
If this suggestion provider needs some additional process to assemble the proposal list (e.g. It need to use Ajax to get a proposal list from the server), then override this method and return any JavaScript code.
- Definition Classes
- UserNameSuggestionProvider → SuggestionProvider
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val context: Seq[String]
Which contexts is this suggestion provider enabled.
Which contexts is this suggestion provider enabled. Currently, available contexts are
"issues"
and"wiki"
.- Definition Classes
- UserNameSuggestionProvider → SuggestionProvider
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val id: String
The identifier of this suggestion provider.
The identifier of this suggestion provider. You must specify the unique identifier in the all suggestion providers.
- Definition Classes
- UserNameSuggestionProvider → SuggestionProvider
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def options(repository: RepositoryInfo): Seq[(String, String)]
If this suggestion provider has static proposal list, override this method to return it.
If this suggestion provider has static proposal list, override this method to return it.
If your proposals have label and value, use this method instead of
values()
. The first element of tuple is used as a value, and the second element is used as a label.The returned sequence is rendered as follows:
[ { "label" -> "label1", "value" -> "value1" }, { "label" -> "label2", "value" -> "value2" }, ]
Each element can be accessed as
option
intemplate()
orreplace()
method.- Definition Classes
- SuggestionProvider
- val prefix: String
The trigger of this suggestion provider.
The trigger of this suggestion provider. When user types this character, the proposal list would be displayed. Also this is used as the prefix of the replaced string.
- Definition Classes
- UserNameSuggestionProvider → SuggestionProvider
- def replace(implicit context: Context): String
JavaScript fragment to generate a replaced value of completion proposal.
JavaScript fragment to generate a replaced value of completion proposal. The default is:
option.value
- Definition Classes
- SuggestionProvider
- val suffix: String
The suffix of the replaced string.
The suffix of the replaced string. The default is
" "
.- Definition Classes
- SuggestionProvider
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def template(implicit context: Context): String
JavaScript fragment to generate a label of completion proposal.
JavaScript fragment to generate a label of completion proposal. The default is:
option.label
.- Definition Classes
- SuggestionProvider
- def toString(): String
- Definition Classes
- AnyRef → Any
- def values(repository: RepositoryInfo): Seq[String]
If this suggestion provider has static proposal list, override this method to return it.
If this suggestion provider has static proposal list, override this method to return it.
The returned sequence is rendered as follows:
[ { "label" -> "value1", "value" -> "value1" }, { "label" -> "value2", "value" -> "value2" }, ]
Each element can be accessed as
option
intemplate()
orreplace()
method.- Definition Classes
- SuggestionProvider
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()