|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--BZPage
Defined in bzpage.js
Constructor Summary | |
BZPage(win, config)
|
Method Summary | |
Object
|
addStuffToTextBox(id, stuff)
Add object to the text box (comment box or status whiteboard) |
void
|
addToCCList(who)
adds a person to the CC list, if it isn't already there |
void
|
addToCommentsDropdown(pkg, cmd)
Adds new option to the 'comment_action' scroll down box |
void
|
centralCommandDispatch(cmdLabel, cmdParams)
Actual execution function |
Object
|
changeAssignee(newAssignee)
Add XGL to the CC list |
void
|
checkComments()
Set background color of all comments made by reporter in ReporterColor color |
Object
|
clickMouse(targetID)
Send mouse click to the specified element |
Object
|
collectComments()
|
void
|
commentsWalker(fce)
|
Object
|
createNewButton(location, after, pkg, id)
Generic function to add new button to the page. |
void
|
executeCommand(cmd)
Take the ID of the package/id combination, and execute it |
void
|
generateButtons()
|
Object
|
getAttachments()
collect the list of attachments in a structured format |
Object
|
getBugId()
Get the ID of the bug. |
Object
|
getCCList()
a collect a list of emails on CC list |
Object
|
getDefaultBugzillaMaintainer(component)
Return maintainer which is per default by bugzilla (which is not necessarily the one who is default maintainer per component) |
Object
|
getInstalledPackages(cfg)
|
Object
|
getLogin()
Get login of the currently logged-in user. |
Object
|
getOptionValue(id)
|
Object
|
getOwner()
|
Object
|
getPassword()
returns password from the current storage, or if there isn't one, then it will ask user for it. |
Object
|
getReporter()
Get the current email of the reporter of the bug. |
Object
|
getVersion()
Get the current version of the Fedora release ... |
Object
|
hasKeyword(str)
Check for the presence of a keyword |
Object
|
idContainsWord(id, str)
generalized hasKeyword ... |
void
|
removeStuffFromTextBox(id, stuff)
Remove a keyword from the element if it is there |
Object
|
selectOption(id, label)
Select option with given label on the |
Object
|
setNeedinfoReporter()
Set the bug to NEEDINFO state |
void
|
setUpLogging()
|
Constructor Detail |
BZPage(win, config)
Method Detail |
Object addStuffToTextBox(id, stuff)
id
- String with the id of the element
stuff
- String/Array to be added to the comment box
void addToCCList(who)
who
- String with email address or "self" if the current user of the bugzilla should be added
void addToCommentsDropdown(pkg, cmd)
pkg
- String package name
cmd
- String with the name of the command If the 'comment_action' scroll down box doesn't exist, this function will set up new one.
void centralCommandDispatch(cmdLabel, cmdParams)
cmdLabel
- String with the name of the command to be executed
cmdParams
- Object with the appropriate parameters for the command
Object changeAssignee(newAssignee)
evt
- Event which made this function active
void checkComments()
Object clickMouse(targetID)
String
- ID of the element to send mouseclick to
Object collectComments()
void commentsWalker(fce)
Object createNewButton(location, after, pkg, id)
location
- Object around which the new button will be added
after
- Boolean before or after location ?
pkg
- String which package to take the command from
id
- String which command to take
void executeCommand(cmd)
String
- combined package + "//" + id combination Fetches the command object from this.installedPackages and then goes through all commands contained in it, and calls this.centralCommandDispatch to execute them.
void generateButtons()
Object getAttachments()
Object getBugId()
Object getCCList()
Object getDefaultBugzillaMaintainer(component)
Object getInstalledPackages(cfg)
Object getLogin()
Object getOptionValue(id)
Object getOwner()
Object getPassword()
Object getReporter()
Object getVersion()
Object hasKeyword(str)
str
- String with the keyword
Object idContainsWord(id, str)
id
- String with ID of the element we want to check
str
- String to be searched for
void removeStuffFromTextBox(id, stuff)
id
- String with the id of the element
stuff
- String/Array with keyword(s) to be removed
Object selectOption(id, label)
id
-
label
-
Object setNeedinfoReporter()
void setUpLogging()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |