1 /** 2 * @fileOverview Monk Project Library 0.1 Alpha 1 3 * @copyright Copyright(c) 2007, Monk Project, All rights reserved. 4 * 5 * 6 * @url <a href="http://monkproject.org">monkproject.org</a> 7 */ 8 9 /** 10 * @class The server returned an error 11 * The following are recognized properties (but the full 12 * class hierarchy should be examined):<ul> 13 * <li>label: a short descriptive summary of the event suitable for users to see</li> 14 * <li>component: the source {@link Workbench.component.Component} for the event.</li></ul> 15 * @extends Workbench.event.ServerEvent 16 * @param {Object} object A literal with properties for this event 17 * @since 0.1 18 */ 19 Monk.event.ServerError = function() { 20 Monk.event.ServerError.superclass.constructor.call(this, arguments[0]); 21 } 22 23 Workbench.extend(Monk.event.ServerError, Workbench.event.ServerEvent, {}); 24 25 /** 26 * @class Collections Hierarchy has been loaded 27 * The following are recognized properties (but the full 28 * class hierarchy should be examined):<ul> 29 * <li>label: a short descriptive summary of the event suitable for users to see</li> 30 * <li>component: the source {@link Workbench.component.Component} for the event.</li></ul> 31 * @extends Workbench.event.ServerEvent 32 * @param {Object} object A literal with properties for this event 33 * @since 0.1 34 */ 35 Monk.event.CollectionsMetadataHierarchyLoaded = function() { 36 Monk.event.CollectionsMetadataHierarchyLoaded.superclass.constructor.call(this, arguments[0]); 37 } 38 39 Workbench.extend(Monk.event.CollectionsMetadataHierarchyLoaded, Workbench.event.ServerEvent, {}); 40 41 /** 42 * @class A message has been sent to the user 43 * @extends Workbench.event.WorkbenchEvent 44 * @param {Object} object A literal with properties for this event 45 * @config {String} label A short descriptive summary of the event 46 * @config {Workbench.component.Component} component The source of the event 47 */ 48 Monk.event.MessageSent = function() { 49 Monk.event.MessageSent.superclass.constructor.call(this, arguments[0]); 50 } 51 52 Workbench.extend(Monk.event.MessageSent, Workbench.event.WorkbenchEvent, {}); 53 54 /** 55 * @name Monk.event.analysis 56 * @namespace 57 */ 58 Workbench.namespace('Monk.event.analysis'); 59 60 61 /** 62 * @class The user has configured a chart to display. 63 * @extends Workbench.event.UserEvent 64 * @param {Object} object A literal with properties for this event 65 * @config {String} label The type of object to chart (For Each) 66 * @config {String} label The type of object to chart (Show Me) 67 * @config {String} label The type of object to chart (Break It Down By) 68 * @config {String} label The type of object to chart (Chart Type) 69 * @config {Workbench.component.Component} component The source of the event 70 */ 71 Monk.event.analysis.ChartConfig = function() { 72 Monk.event.analysis.ChartConfig.superclass.constructor.call(this, arguments[0]); 73 } 74 75 Workbench.extend(Monk.event.analysis.ChartConfig, Workbench.event.UserEvent, {}); 76 77 78 79 /** 80 * @class The user has begun the SEASR analysis flow. 81 * @extends Workbench.event.UserEvent 82 * @param {Object} object A literal with properties for this event 83 * @config {String} label A short descriptive summary of the event 84 * @config {Workbench.component.Component} component The source of the event 85 */ 86 Monk.event.analysis.SeasrAnalysisSetup = function() { 87 Monk.event.analysis.SeasrAnalysisSetup.superclass.constructor.call(this, arguments[0]); 88 } 89 90 Workbench.extend(Monk.event.analysis.SeasrAnalysisSetup, Workbench.event.UserEvent, {}); 91 92 /** 93 * @class A SEASR analysis has been initiated. 94 * @extends Workbench.event.WorkbenchEvent 95 * @param {Object} object A literal with properties for this event 96 * @config {String} label A short descriptive summary of the event 97 * @config {Workbench.component.Component} component The source of the event 98 */ 99 Monk.event.analysis.SeasrAnalysisRun = function() { 100 Monk.event.analysis.SeasrAnalysisRun.superclass.constructor.call(this, arguments[0]); 101 } 102 103 Workbench.extend(Monk.event.analysis.SeasrAnalysisRun, Workbench.event.WorkbenchEvent, {}); 104 105 /** 106 * @class A SEASR analysis has been aborted. 107 * @extends Workbench.event.UserEvent 108 * @param {Object} object A literal with properties for this event 109 * @config {String} label A short descriptive summary of the event 110 * @config {Workbench.component.Component} component The source of the event 111 */ 112 Monk.event.analysis.Aborted = function() { 113 Monk.event.analysis.Aborted.superclass.constructor.call(this, arguments[0]); 114 } 115 116 Workbench.extend(Monk.event.analysis.Aborted, Workbench.event.UserEvent, {}); 117 118 /** 119 * @class The job status for a SEASR analysis was received 120 * @extends Workbench.event.ServerEvent 121 * @param {Object} object A literal with properties for this event 122 * @config {String} label A short descriptive summary of the event 123 * @config {Workbench.component.Component} component The source of the event 124 */ 125 Monk.event.analysis.GotJobStatus = function() { 126 Monk.event.analysis.GotJobStatus.superclass.constructor.call(this, arguments[0]); 127 } 128 129 Workbench.extend(Monk.event.analysis.GotJobStatus, Workbench.event.ServerEvent, {}); 130 131 /** 132 * @class The list of jobs for a project was returned 133 * @extends Workbench.event.ServerEvent 134 * @param {Object} object A literal with properties for this event 135 * @config {String} label A short descriptive summary of the event 136 * @config {Workbench.component.Component} component The source of the event 137 */ 138 Monk.event.analysis.GotJobList = function() { 139 Monk.event.analysis.GotJobList.superclass.constructor.call(this, arguments[0]); 140 } 141 142 Workbench.extend(Monk.event.analysis.GotJobList, Workbench.event.ServerEvent, {}); 143 144 /** 145 * @class The results from a SEASR analysis were received 146 * @extends Workbench.event.ServerEvent 147 * @param {Object} object A literal with properties for this event 148 * @config {String} label A short descriptive summary of the event 149 * @config {Workbench.component.Component} component The source of the event 150 */ 151 Monk.event.analysis.GotSeasrAnalysisResults = function() { 152 Monk.event.analysis.GotSeasrAnalysisResults.superclass.constructor.call(this, arguments[0]); 153 } 154 155 Workbench.extend(Monk.event.analysis.GotSeasrAnalysisResults, Workbench.event.ServerEvent, {}); 156 157 /** 158 * @class The config parameters from a SEASR analysis were received 159 * @extends Workbench.event.ServerEvent 160 * @param {Object} object A literal with properties for this event 161 * @config {String} label A short descriptive summary of the event 162 * @config {Workbench.component.Component} component The source of the event 163 */ 164 Monk.event.analysis.GotConfigParameters = function() { 165 Monk.event.analysis.GotConfigParameters.superclass.constructor.call(this, arguments[0]); 166 } 167 168 Workbench.extend(Monk.event.analysis.GotConfigParameters, Workbench.event.ServerEvent, {}); 169 170 /** 171 * @class The previously saved results from a SEASR analysis were received 172 * @extends Workbench.event.ServerEvent 173 * @param {Object} object A literal with properties for this event 174 * @config {String} label A short descriptive summary of the event 175 * @config {Workbench.component.Component} component The source of the event 176 */ 177 Monk.event.analysis.GotSavedResultsForProject = function() { 178 Monk.event.analysis.GotSavedResultsForProject.superclass.constructor.call(this, arguments[0]); 179 } 180 181 Workbench.extend(Monk.event.analysis.GotSavedResultsForProject, Workbench.event.ServerEvent, {}); 182 183 /** 184 * @class All previous results from a SEASR analysis were received 185 * @extends Workbench.event.ServerEvent 186 * @param {Object} object A literal with properties for this event 187 * @config {String} label A short descriptive summary of the event 188 * @config {Workbench.component.Component} component The source of the event 189 */ 190 Monk.event.analysis.GotAllResultsForProject = function() { 191 Monk.event.analysis.GotAllResultsForProject.superclass.constructor.call(this, arguments[0]); 192 } 193 194 Workbench.extend(Monk.event.analysis.GotAllResultsForProject, Workbench.event.ServerEvent, {}); 195 196 /** 197 * @class The results from a SEASR analysis were deleted 198 * @extends Workbench.event.ServerEvent 199 * @param {Object} object A literal with properties for this event 200 * @config {String} label A short descriptive summary of the event 201 * @config {Workbench.component.Component} component The source of the event 202 */ 203 Monk.event.analysis.AnalysisResultDeleted = function() { 204 Monk.event.analysis.AnalysisResultDeleted.superclass.constructor.call(this, arguments[0]); 205 } 206 207 Workbench.extend(Monk.event.analysis.AnalysisResultDeleted, Workbench.event.ServerEvent, {}); 208 209 /** 210 * @name Monk.event.project 211 * @namespace 212 */ 213 Workbench.namespace('Monk.event.project'); 214 215 /** 216 * @class Server response that a project has been created 217 * @extends Workbench.event.ServerEvent 218 * @param {Object} object A literal with properties for this event 219 * @config {String} label A short descriptive summary of the event 220 * @config {Workbench.component.Component} component The source of the event 221 */ 222 Monk.event.project.ProjectCreated = function() { 223 Monk.event.project.ProjectCreated.superclass.constructor.call(this, arguments[0]); 224 } 225 226 Workbench.extend(Monk.event.project.ProjectCreated, Workbench.event.ServerEvent, {}); 227 228 /** 229 * @class Server response that a project has been deleted 230 * @extends Workbench.event.ServerEvent 231 * @param {Object} object A literal with properties for this event 232 * @config {String} label A short descriptive summary of the event 233 * @config {Workbench.component.Component} component The source of the event 234 */ 235 Monk.event.project.ProjectDeleted = function() { 236 Monk.event.project.ProjectDeleted.superclass.constructor.call(this, arguments[0]); 237 } 238 239 Workbench.extend(Monk.event.project.ProjectDeleted, Workbench.event.ServerEvent, {}); 240 241 /** 242 * @class A user's projects have been received from the server 243 * @extends Workbench.event.ServerEvent 244 * @param {Object} object A literal with properties for this event 245 * @config {String} label A short descriptive summary of the event 246 * @config {Workbench.component.Component} component The source of the event 247 */ 248 Monk.event.project.ProjectsReceived = function() { 249 Monk.event.project.ProjectsReceived.superclass.constructor.call(this, arguments[0]); 250 } 251 252 Workbench.extend(Monk.event.project.ProjectsReceived, Workbench.event.ServerEvent, {}); 253 254 /** 255 * @class A user has selected a project 256 * @extends Workbench.event.UserEvent 257 * @param {Object} object A literal with properties for this event 258 * @config {String} label A short descriptive summary of the event 259 * @config {Workbench.component.Component} component The source of the event 260 */ 261 Monk.event.project.ProjectSelected = function() { 262 Monk.event.project.ProjectSelected.superclass.constructor.call(this, arguments[0]); 263 } 264 265 Workbench.extend(Monk.event.project.ProjectSelected, Workbench.event.UserEvent, {}); 266 267 /** 268 * @class The info for a project has been received from the server 269 * @extends Workbench.event.ServerEvent 270 * @param {Object} object A literal with properties for this event 271 * @config {String} label A short descriptive summary of the event 272 * @config {Workbench.component.Component} component The source of the event 273 */ 274 Monk.event.project.ProjectInfoReceived = function() { 275 Monk.event.project.ProjectInfoReceived.superclass.constructor.call(this, arguments[0]); 276 } 277 278 Workbench.extend(Monk.event.project.ProjectInfoReceived, Workbench.event.ServerEvent, {}); 279 280 /** 281 * @class A project's worksets have been received from the server 282 * @extends Workbench.event.ServerEvent 283 * @param {Object} object A literal with properties for this event 284 * @config {String} label A short descriptive summary of the event 285 * @config {Workbench.component.Component} component The source of the event 286 */ 287 Monk.event.project.WorksetsReceived = function() { 288 Monk.event.project.WorksetsReceived.superclass.constructor.call(this, arguments[0]); 289 } 290 291 Workbench.extend(Monk.event.project.WorksetsReceived, Workbench.event.ServerEvent, {}); 292 293 /** 294 * @class The user has selected multiple worksets. 295 * @extends Workbench.event.UserEvent 296 * @param {Object} object A literal with properties for this event 297 * @config {String} label A short descriptive summary of the event 298 * @config {Workbench.component.Component} component The source of the event 299 */ 300 Monk.event.project.WorksetsSelected = function() { 301 Monk.event.project.WorksetsSelected.superclass.constructor.call(this, arguments[0]); 302 } 303 304 Workbench.extend(Monk.event.project.WorksetsSelected, Workbench.event.UserEvent, {}); 305 306 307 308 /** 309 * @class The user has selected a workset. 310 * @extends Workbench.event.UserEvent 311 * @param {Object} object A literal with properties for this event 312 * @config {String} label A short descriptive summary of the event 313 * @config {Workbench.component.Component} component The source of the event 314 */ 315 Monk.event.project.WorksetSelected = function() { 316 Monk.event.project.WorksetSelected.superclass.constructor.call(this, arguments[0]); 317 } 318 319 Workbench.extend(Monk.event.project.WorksetSelected, Workbench.event.UserEvent, {}); 320 321 322 /** 323 * @class The user has selected single workset and Load the workset. 324 * @extends Workbench.event.UserEvent 325 * @param {Object} object A literal with properties for this event 326 * @config {String} label A short descriptive summary of the event 327 * @config {Workbench.component.Component} component The source of the event 328 * @since 1.2M1 329 */ 330 Monk.event.project.LoadSelectedWorkset = function() { 331 Monk.event.project.LoadSelectedWorkset.superclass.constructor.call(this, arguments[0]); 332 } 333 334 335 Workbench.extend(Monk.event.project.LoadSelectedWorkset, Workbench.event.UserEvent, {}); 336 337 338 339 /** 340 * @name Monk.event.workset 341 * @namespace 342 */ 343 Workbench.namespace('Monk.event.workset'); 344 345 /** 346 * @class Server response that a workset has been created. 347 * @extends Workbench.event.ServerEvent 348 * @param {Object} object A literal with properties for this event 349 * @config {String} label A short descriptive summary of the event 350 * @config {Workbench.component.Component} component The source of the event 351 */ 352 Monk.event.workset.WorksetCreated = function() { 353 Monk.event.workset.WorksetCreated.superclass.constructor.call(this, arguments[0]); 354 } 355 356 Workbench.extend(Monk.event.workset.WorksetCreated, Workbench.event.ServerEvent, {}); 357 358 /** 359 * @class Server response that a workset has been saved. 360 * @extends Workbench.event.ServerEvent 361 * @param {Object} object A literal with properties for this event 362 * @config {String} label A short descriptive summary of the event 363 * @config {Workbench.component.Component} component The source of the event 364 */ 365 Monk.event.workset.WorksetSaved = function() { 366 Monk.event.workset.WorksetSaved.superclass.constructor.call(this, arguments[0]); 367 } 368 369 Workbench.extend(Monk.event.workset.WorksetSaved, Workbench.event.ServerEvent, {}); 370 371 /** 372 * @class The workbench has loaded the workset. 373 * @extends Workbench.event.WorkbenchEvent 374 * @param {Object} object A literal with properties for this event 375 * @config {String} label A short descriptive summary of the event 376 * @config {Workbench.component.Component} component The source of the event 377 */ 378 Monk.event.workset.WorksetLoaded = function() { 379 Monk.event.workset.WorksetLoaded.superclass.constructor.call(this, arguments[0]); 380 } 381 382 Workbench.extend(Monk.event.workset.WorksetLoaded, Workbench.event.WorkbenchEvent, {}); 383 384 /** 385 * @class The workbench has processed analysis results and added them to the workset. 386 * @extends Workbench.event.WorkbenchEvent 387 * @param {Object} object A literal with properties for this event 388 * @config {String} label A short descriptive summary of the event 389 * @config {Workbench.component.Component} component The source of the event 390 */ 391 Monk.event.workset.AnalysisResultsProcessed = function() { 392 Monk.event.workset.AnalysisResultsProcessed.superclass.constructor.call(this, arguments[0]); 393 } 394 395 Workbench.extend(Monk.event.workset.AnalysisResultsProcessed, Workbench.event.WorkbenchEvent, {}); 396 397 /** 398 * @class Server response that workpart labels have been sent. 399 * @extends Workbench.event.ServerEvent 400 * @param {Object} object A literal with properties for this event 401 * @config {String} label A short descriptive summary of the event 402 * @config {Workbench.component.Component} component The source of the event 403 */ 404 Monk.event.workset.GotWorkpartLabels = function() { 405 Monk.event.workset.GotWorkpartLabels.superclass.constructor.call(this, arguments[0]); 406 } 407 408 Workbench.extend(Monk.event.workset.GotWorkpartLabels, Workbench.event.ServerEvent, {}); 409 410 /** 411 * @class Server response that a workset has been deleted. 412 * @extends Workbench.event.ServerEvent 413 * @param {Object} object A literal with properties for this event 414 * @config {String} label A short descriptive summary of the event 415 * @config {Workbench.component.Component} component The source of the event 416 */ 417 Monk.event.workset.WorksetDeleted = function() { 418 Monk.event.workset.WorksetDeleted.superclass.constructor.call(this, arguments[0]); 419 } 420 421 Workbench.extend(Monk.event.workset.WorksetDeleted, Workbench.event.ServerEvent, {}); 422 423 /** 424 * @class The user has reset/cleared the workset. 425 * @extends Workbench.event.UserEvent 426 * @param {Object} object A literal with properties for this event 427 * @config {String} label A short descriptive summary of the event 428 * @config {Workbench.component.Component} component The source of the event 429 */ 430 Monk.event.workset.WorksetReset = function() { 431 Monk.event.workset.WorksetReset.superclass.constructor.call(this, arguments[0]); 432 } 433 434 Workbench.extend(Monk.event.workset.WorksetReset, Workbench.event.UserEvent, {}); 435 436 437 /** 438 * @class The user has selected multiple worksets. 439 * @extends Workbench.event.UserEvent 440 * @param {Object} object A literal with properties for this event 441 * @config {String} label A short descriptive summary of the event 442 * @config {Workbench.component.Component} component The source of the event 443 */ 444 Monk.event.workset.DunningsLogLikelyHoodRetrieved = function() { 445 Monk.event.workset.DunningsLogLikelyHoodRetrieved.superclass.constructor.call(this, arguments[0]); 446 } 447 448 Workbench.extend(Monk.event.workset.DunningsLogLikelyHoodRetrieved, Workbench.event.UserEvent, {}); 449 450 /** 451 * @name Monk.event.chunk 452 * @namespace 453 */ 454 Workbench.namespace("Monk.event.chunk"); 455 456 /** 457 * @class A single text chunk has been selected. 458 * The following are recognized properties (but the full 459 * class hierarchy should be examined):<ul> 460 * <li>label: a short descriptive summary of the event suitable for users to see</li> 461 * <li>component: the source {@link Workbench.component.Component} for the event.</li> 462 * </ul> 463 * @extends Workbench.event.UserEvent 464 * @param {Object} object A literal with properties for this event 465 * @since 0.1 466 */ 467 Monk.event.chunk.ChunkSelected = function(){ 468 Monk.event.chunk.ChunkSelected.superclass.constructor.call(this, arguments[0]); 469 } 470 471 Workbench.extend(Monk.event.chunk.ChunkSelected, Workbench.event.UserEvent, {}); 472 473 474 /** 475 * @class A chunk has been (un)checked by the user. 476 * @extends Workbench.event.UserEvent 477 * @param {Object} object A literal with properties for this event 478 * @config {String} label A short descriptive summary of the event 479 * @config {Workbench.component.Component} component The source of the event 480 * @config {Boolean} checked Whether the chunk was checked or unchecked 481 */ 482 Monk.event.chunk.ChunkChecked = function(){ 483 Monk.event.chunk.ChunkChecked.superclass.constructor.call(this, arguments[0]); 484 } 485 486 Workbench.extend(Monk.event.chunk.ChunkChecked, Workbench.event.UserEvent, {}); 487 488 /** 489 * @class Multiple chunks have been checked by the user. 490 * @extends Workbench.event.UserEvent 491 * @param {Object} object A literal with properties for this event 492 * @config {String} label A short descriptive summary of the event 493 * @config {Workbench.component.Component} component The source of the event 494 */ 495 Monk.event.chunk.ChunksChecked = function(){ 496 Monk.event.chunk.ChunksChecked.superclass.constructor.call(this, arguments[0]); 497 } 498 499 Workbench.extend(Monk.event.chunk.ChunksChecked, Workbench.event.UserEvent, {}); 500 501 502 /** 503 * @class All the chunks have been checked by the user. 504 * @extends Workbench.event.UserEvent 505 * @param {Object} object A literal with properties for this event 506 * @config {String} label A short descriptive summary of the event 507 * @config {Workbench.component.Component} component The source of the event 508 * thrown by the Zotero Importer -Summary tool listens for these 509 */ 510 Monk.event.chunk.AllChunksChecked = function(){ 511 Monk.event.chunk.AllChunksChecked.superclass.constructor.call(this, arguments[0]); 512 } 513 514 Workbench.extend(Monk.event.chunk.AllChunksChecked, Workbench.event.UserEvent, {}); 515 516 517 /** 518 * @class A chunk has been rated by the user. 519 */ 520 Monk.event.chunk.ChunkRated = function(){ 521 Monk.event.chunk.ChunkRated.superclass.constructor.call(this, arguments[0]); 522 } 523 524 Workbench.extend(Monk.event.chunk.ChunkRated, Workbench.event.UserEvent, {}); 525 526 /** 527 * @class Multiple chunks have been rated by the user. 528 */ 529 Monk.event.chunk.ChunksRated = function(){ 530 Monk.event.chunk.ChunksRated.superclass.constructor.call(this, arguments[0]); 531 } 532 533 Workbench.extend(Monk.event.chunk.ChunksRated, Workbench.event.UserEvent, {}); 534 535 /** 536 * @class The children of a work part have been retrieved. 537 * The following are recognized properties (but the full 538 * class hierarchy should be examined):<ul> 539 * <li>uri: the URI to retrieve the work info</li> 540 * <li>label: a short descriptive summary of the event suitable for users to see</li> 541 * </ul> 542 * @extends Workbench.event.ServerEvent 543 * @param {Object} object A literal with properties for this event 544 * @since 0.1 545 */ 546 Monk.event.chunk.WorkPartsRetrieved = function(){ 547 Monk.event.chunk.WorkPartsRetrieved.superclass.constructor.call(this, arguments[0]); 548 } 549 550 Workbench.extend(Monk.event.chunk.WorkPartsRetrieved, Workbench.event.ServerEvent, {}); 551 552 553 /** 554 * @class The (rendered) contents of a chunk has been retrieved. 555 * The following are recognized properties (but the full 556 * class hierarchy should be examined):<ul> 557 * <li>uri: the URI to retrieve the chunk contents</li> 558 * <li>label: a short descriptive summary of the event suitable for users to see</li> 559 * <li>component: the source {@link Workbench.component.Component} for the event.</li> 560 * </ul> 561 * @extends Workbench.event.ServerEvent 562 * @param {Object} object A literal with properties for this event 563 * @since 0.1 564 */ 565 Monk.event.chunk.ChunksSimilarRetrieved= function(){ 566 Monk.event.chunk.ChunksSimilarRetrieved.superclass.constructor.call(this, arguments[0]); 567 } 568 569 Workbench.extend(Monk.event.chunk.ChunksSimilarRetrieved, Workbench.event.ServerEvent, {}); 570 571 572 /** 573 * @class The (rendered) contents of a chunk has been retrieved. 574 * The following are recognized properties (but the full 575 * class hierarchy should be examined):<ul> 576 * <li>uri: the URI to retrieve the chunk contents</li> 577 * <li>label: a short descriptive summary of the event suitable for users to see</li> 578 * <li>component: the source {@link Workbench.component.Component} for the event.</li> 579 * </ul> 580 * @extends Workbench.event.ServerEvent 581 * @param {Object} object A literal with properties for this event 582 * @since 0.1 583 */ 584 Monk.event.chunk.ChunkContentsRetrieved = function(){ 585 Monk.event.chunk.ChunkContentsRetrieved.superclass.constructor.call(this, arguments[0]); 586 } 587 588 Workbench.extend(Monk.event.chunk.ChunkContentsRetrieved, Workbench.event.ServerEvent, {}); 589 590 591 592 /** 593 594 * The (rendered) TOC of a chunk has been retrieved. 595 * The following are recognized properties (but the full 596 * class hierarchy should be examined):<ul> 597 * <li>uri: the URI to retrieve the chunk contents</li> 598 * <li>label: a short descriptive summary of the event suitable for users to see</li> 599 * <li>component: the source {@link Workbench.component.Component} for the event.</li> 600 * </ul> 601 * @extends Workbench.event.ServerEvent 602 * @param {Object} object A literal with properties for this event 603 * @since 0.1 604 */ 605 Monk.event.chunk.ChunkTOCRetrieved = function(){ 606 Monk.event.chunk.ChunkTOCRetrieved.superclass.constructor.call(this, arguments[0]); 607 } 608 609 Workbench.extend(Monk.event.chunk.ChunkTOCRetrieved, Workbench.event.ServerEvent, {}); 610 611 /** 612 613 * The (rendered) Header of a chunk has been retrieved. 614 * The following are recognized properties (but the full 615 * class hierarchy should be examined):<ul> 616 * <li>uri: the URI to retrieve the chunk contents</li> 617 * <li>label: a short descriptive summary of the event suitable for users to see</li> 618 * <li>component: the source {@link Workbench.component.Component} for the event.</li> 619 * </ul> 620 * @extends Workbench.event.ServerEvent 621 * @param {Object} object A literal with properties for this event 622 * @since 1.3M3 623 */ 624 Monk.event.chunk.ChunkHeaderRetrieved= function(){ 625 Monk.event.chunk.ChunkHeaderRetrieved.superclass.constructor.call(this, arguments[0]); 626 } 627 628 Workbench.extend(Monk.event.chunk.ChunkHeaderRetrieved, Workbench.event.ServerEvent, {}); 629 630 631 /** 632 * The (rendered) bibliographic of a chunk has been retrieved. 633 * The following are recognized properties (but the full 634 * class hierarchy should be examined):<ul> 635 * <li>uri: the URI to retrieve the chunk contents</li> 636 * <li>label: a short descriptive summary of the event suitable for users to see</li> 637 * <li>component: the source {@link Workbench.component.Component} for the event.</li> 638 * </ul> 639 * @extends Workbench.event.ServerEvent 640 * @param {Object} object A literal with properties for this event 641 * @since 0.1 642 */ 643 Monk.event.chunk.ChunkBibRetrieved = function(){ 644 Monk.event.chunk.ChunkBibRetrieved.superclass.constructor.call(this, arguments[0]); 645 } 646 647 Workbench.extend(Monk.event.chunk.ChunkBibRetrieved, Workbench.event.ServerEvent, {}); 648 649 650 651 /** 652 * The (rendered) metadata of a chunk has been retrieved. 653 * The following are recognized properties (but the full 654 * class hierarchy should be examined):<ul> 655 * <li>uri: the URI to retrieve the chunk contents</li> 656 * <li>label: a short descriptive summary of the event suitable for users to see</li> 657 * <li>component: the source {@link Workbench.component.Component} for the event.</li> 658 * </ul> 659 * @extends Workbench.event.ServerEvent 660 * @param {Object} object A literal with properties for this event 661 * @since 0.1 662 */ 663 Monk.event.chunk.retrieveChunkMetadata = function(){ 664 Monk.event.chunk.retrieveChunkMetadata.superclass.constructor.call(this, arguments[0]); 665 } 666 667 Workbench.extend(Monk.event.chunk.retrieveChunkMetadata, Workbench.event.ServerEvent, {}); 668 669 670 671 /** 672 * The (rendered) contents of a chunk (with features) has been retrieved. 673 * @class The (rendered) contents of a chunk (with features) has been retrieved. 674 * The following are recognized properties (but the full 675 * class hierarchy should be examined):<ul> 676 * <li>uri: the URI to retrieve the chunk contents</li> 677 * <li>label: a short descriptive summary of the event suitable for users to see</li> 678 * <li>component: the source {@link Workbench.component.Component} for the event.</li> 679 * </ul> 680 * @extends Workbench.event.ServerEvent 681 * @param {Object} object A literal with properties for this event 682 * @since 0.1 683 */ 684 Monk.event.chunk.ChunkContentsRetrievedWithFeatures = function(){ 685 Monk.event.chunk.ChunkContentsRetrievedWithFeatures.superclass.constructor.call(this, arguments[0]); 686 } 687 688 Workbench.extend(Monk.event.chunk.ChunkContentsRetrievedWithFeatures, Workbench.event.ServerEvent, {}); 689 690 /** 691 * @class The list of chunks containing a feature have been retrieved. 692 * The following are recognized properties (but the full 693 * class hierarchy should be examined):<ul> 694 * <li>uri: the URI to retrieve the chunk contents</li> 695 * <li>label: a short descriptive summary of the event suitable for users to see</li> 696 * <li>component: the source {@link Workbench.component.Component} for the event.</li> 697 * </ul> 698 * @extends Workbench.event.ServerEvent 699 * @param {Object} object A literal with properties for this event 700 * @since 0.1 701 */ 702 Monk.event.chunk.ChunksContainingFeatureRetrieved = function(){ 703 Monk.event.chunk.ChunksContainingFeatureRetrieved.superclass.constructor.call(this, arguments[0]); 704 } 705 706 Workbench.extend(Monk.event.chunk.ChunksContainingFeatureRetrieved, Workbench.event.ServerEvent, {}); 707 708 /** 709 * @class The list of chunks containing a feature within a workset have been retrieved. 710 * The following are recognized properties (but the full 711 * class hierarchy should be examined):<ul> 712 * <li>uri: the URI to retrieve the chunk contents</li> 713 * <li>label: a short descriptive summary of the event suitable for users to see</li> 714 * <li>component: the source {@link Workbench.component.Component} for the event.</li> 715 * </ul> 716 * @extends Workbench.event.ServerEvent 717 * @param {Object} object A literal with properties for this event 718 * @since 0.1 719 */ 720 Monk.event.chunk.ChunksContainingFeatureWithinWorksetRetrieved = function(){ 721 Monk.event.chunk.ChunksContainingFeatureWithinWorksetRetrieved.superclass.constructor.call(this, arguments[0]); 722 } 723 724 Workbench.extend(Monk.event.chunk.ChunksContainingFeatureWithinWorksetRetrieved, Workbench.event.ServerEvent, {}); 725 726 /** 727 * @class The frequencies of specified chunks have been retrieved. 728 * The following are recognized properties (but the full 729 * class hierarchy should be examined):<ul> 730 * <li>ids: an array of the chunk IDs to which the frequencies apply</li> 731 * <li>freqs: an array of frequencies where each item has the following properties: string, pos (parts of speech for lemmas), count</li> 732 * </ul> 733 * @extends Workbench.event.ServerEvent 734 * @param {Object} object A literal with properties for this event 735 * @since 0.1 736 */ 737 Monk.event.chunk.ChunkFrequenciesRetrieved = function(){ 738 Monk.event.chunk.ChunkFrequenciesRetrieved.superclass.constructor.call(this, arguments[0]); 739 } 740 741 Workbench.extend(Monk.event.chunk.ChunkFrequenciesRetrieved, Workbench.event.ServerEvent, {}); 742 743 /** 744 * @name Monk.event.result 745 * @namespace 746 */ 747 Workbench.namespace('Monk.event.result'); 748 749 /** 750 * @class A result has been selected in the workbench. 751 * @extends Workbench.event.WorkbenchEvent 752 * @param {Object} object A literal with properties for this event 753 * @config {String} label A short descriptive summary of the event 754 * @config {Workbench.component.Component} component The source of the event 755 */ 756 Monk.event.result.ResultSelected = function() { 757 Monk.event.result.ResultSelected.superclass.constructor.call(this, arguments[0]); 758 } 759 760 Workbench.extend(Monk.event.result.ResultSelected, Workbench.event.WorkbenchEvent, {}); 761 762 /** 763 * @name Monk.event.toolset 764 * @namespace 765 */ 766 Workbench.namespace('Monk.event.toolset'); 767 768 /** 769 * @class A toolset has been selected in the workbench. 770 * @extends Workbench.event.WorkbenchEvent 771 * @param {Object} object A literal with properties for this event 772 * @config {String} label A short descriptive summary of the event 773 * @config {Workbench.component.Component} component The source of the event 774 */ 775 Monk.event.toolset.ToolsetSelected = function() { 776 Monk.event.toolset.ToolsetSelected.superclass.constructor.call(this, arguments[0]); 777 } 778 779 Workbench.extend(Monk.event.toolset.ToolsetSelected, Workbench.event.WorkbenchEvent, {}); 780 781 /** 782 * @class A toolset has been double-clicked. 783 * @extends Workbench.event.WorkbenchEvent 784 * @param {Object} object A literal with properties for this event 785 * @config {String} label A short descriptive summary of the event 786 * @config {Workbench.component.Component} component The source of the event 787 */ 788 Monk.event.toolset.ToolsetDblClicked = function() { 789 Monk.event.toolset.ToolsetDblClicked.superclass.constructor.call(this, arguments[0]); 790 } 791 792 Workbench.extend(Monk.event.toolset.ToolsetDblClicked, Workbench.event.WorkbenchEvent, {}); 793 794 /** 795 * @class Server response that a toolset has been created. 796 * @extends Workbench.event.ServerEvent 797 * @param {Object} object A literal with properties for this event 798 * @config {String} label A short descriptive summary of the event 799 * @config {Workbench.component.Component} component The source of the event 800 */ 801 Monk.event.toolset.ToolsetCreated = function() { 802 Monk.event.toolset.ToolsetCreated.superclass.constructor.call(this, arguments[0]); 803 } 804 805 Workbench.extend(Monk.event.toolset.ToolsetCreated, Workbench.event.ServerEvent, {}); 806 807 /** 808 * @class Server response that a toolset has been saved. 809 * @extends Workbench.event.ServerEvent 810 * @param {Object} object A literal with properties for this event 811 * @config {String} label A short descriptive summary of the event 812 * @config {Workbench.component.Component} component The source of the event 813 */ 814 Monk.event.toolset.ToolsetSaved = function() { 815 Monk.event.toolset.ToolsetSaved.superclass.constructor.call(this, arguments[0]); 816 } 817 818 Workbench.extend(Monk.event.toolset.ToolsetSaved, Workbench.event.ServerEvent, {}); 819 820 /** 821 * @class Server response that a toolset has been deleted. 822 * @extends Workbench.event.ServerEvent 823 * @param {Object} object A literal with properties for this event 824 * @config {String} label A short descriptive summary of the event 825 * @config {Workbench.component.Component} component The source of the event 826 */ 827 Monk.event.toolset.ToolsetDeleted = function() { 828 Monk.event.toolset.ToolsetDeleted.superclass.constructor.call(this, arguments[0]); 829 } 830 831 Workbench.extend(Monk.event.toolset.ToolsetDeleted, Workbench.event.ServerEvent, {}); 832 833 /** 834 * @class Server response that a toolset has been retrieved. 835 * @extends Workbench.event.ServerEvent 836 * @param {Object} object A literal with properties for this event 837 * @config {String} label A short descriptive summary of the event 838 * @config {Workbench.component.Component} component The source of the event 839 */ 840 Monk.event.toolset.ToolsetRetrieved = function() { 841 Monk.event.toolset.ToolsetRetrieved.superclass.constructor.call(this, arguments[0]); 842 } 843 844 Workbench.extend(Monk.event.toolset.ToolsetRetrieved, Workbench.event.ServerEvent, {}); 845 846 /** 847 * @class Server response that toolsets for a workset have been retrieved. 848 * @extends Workbench.event.ServerEvent 849 * @param {Object} object A literal with properties for this event 850 * @config {String} label A short descriptive summary of the event 851 * @config {Workbench.component.Component} component The source of the event 852 */ 853 Monk.event.toolset.ToolsetsForWorksetRetrieved = function() { 854 Monk.event.toolset.ToolsetsForWorksetRetrieved.superclass.constructor.call(this, arguments[0]); 855 } 856 857 Workbench.extend(Monk.event.toolset.ToolsetsForWorksetRetrieved, Workbench.event.ServerEvent, {}); 858 859 /** 860 * @name Monk.event.workbench 861 * @namespace 862 */ 863 Workbench.namespace('Monk.event.workbench'); 864 865 /** 866 * @class The user has changed on a window, giving it focus. 867 * The following are recognized properties (but the full 868 * class hierarchy should be examined):<ul> 869 * <li>uri: the URI to retrieve the chunk contents</li> 870 * <li>label: a short descriptive summary of the event suitable for users to see</li> 871 * <li>component: the source {@link Workbench.component.Component} for the event.</li> 872 * </ul> 873 * @extends Workbench.event.UserEvent 874 * @param {Object} object A literal with properties for this event 875 * @since 0.1 876 */ 877 Monk.event.workbench.LocalWindowFocus = function(){ 878 Monk.event.workbench.LocalWindowFocus.superclass.constructor.call(this, arguments[0]); 879 } 880 881 Workbench.extend(Monk.event.workbench.LocalWindowFocus, Workbench.event.UserEvent, {}); 882 883 884 /**This event is fired by the search tool with bibliographic 885 * parameters 886 * 887 */ 888 Monk.event.workbench.AdvancedSearchQuery = function(){ 889 Monk.event.workbench.AdvancedSearchQuery.superclass.constructor.call(this,arguments[0]); 890 } 891 892 Workbench.extend(Monk.event.workbench.AdvancedSearchQuery, Workbench.event.UserEvent, {}); 893 894 895 /**This event is fired by the search tool with a feature value. 896 * 897 * parameters 898 * 899 */ 900 Monk.event.workbench.SimpleSearchQuery = function(){ 901 Monk.event.workbench.SimpleSearchQuery.superclass.constructor.call(this,arguments[0]); 902 } 903 904 Workbench.extend(Monk.event.workbench.SimpleSearchQuery, Workbench.event.UserEvent, {}); 905 906 /**This event is fired by the similarity "search by example" tool 907 * 908 */ 909 Monk.event.workbench.SimilarSearchQuery = function(){ 910 Monk.event.workbench.SimilarSearchQuery.superclass.constructor.call(this,arguments[0]); 911 } 912 913 Workbench.extend(Monk.event.workbench.SimilarSearchQuery, Workbench.event.UserEvent, {}); 914 915 /** 916 * Sends a message to clear the current search 917 */ 918 Monk.event.workbench.ClearSearch = function(){ 919 Monk.event.workbench.ClearSearch.superclass.constructor.call(this,arguments[0]); 920 } 921 922 Workbench.extend(Monk.event.workbench.ClearSearch, Workbench.event.UserEvent, {}); 923 924 /**This event is thrown by the workset comparison tool for feature comparison. 925 * The Feature comparison tool listens for this event and fires the frequency/dunning 926 * and other analysis 927 * 928 */ 929 Monk.event.workbench.WorksetFeatureComparison = function(){ 930 Monk.event.workbench.WorksetFeatureComparison.superclass.constructor.call(this,arguments[0]); 931 } 932 933 Workbench.extend(Monk.event.workbench.WorksetFeatureComparison, Workbench.event.UserEvent, {}); 934 935 936 937 /**This event is thrown by the workset comparison tool for comparing documents. 938 * The Feature comparison tool listens for this event and fires the frequency/dunning 939 * and other analysis 940 * 941 */ 942 Monk.event.workbench.WorksetDocumentComparison = function(){ 943 Monk.event.workbench.WorksetDocumentComparison.superclass.constructor.call(this,arguments[0]); 944 } 945 946 Workbench.extend(Monk.event.workbench.WorksetDocumentComparison, Workbench.event.UserEvent, {}); 947 948 949 950 /** 951 * @class Load a specific result. 952 * The following are recognized properties (but the full 953 * class hierarchy should be examined):<ul> 954 * <li>label: a short descriptive summary of the event suitable for users to see</li> 955 * <li>component: the source {@link Workbench.component.Component} for the event.</li> 956 * </ul> 957 * @extends Workbench.event.UserEvent 958 * @param {Object} object A literal with properties for this event 959 * @since 0.1 960 */ 961 Monk.event.workbench.LoadResult = function(){ 962 Monk.event.workbench.LoadResult.superclass.constructor.call(this, arguments[0]); 963 } 964 965 Workbench.extend(Monk.event.workbench.LoadResult, Workbench.event.UserEvent, {}); 966 967 /** 968 * @class The workbench has finished processing the request parameters in the URL. 969 * The following are recognized properties (but the full 970 * class hierarchy should be examined):<ul> 971 * <li>label: a short descriptive summary of the event suitable for users to see</li> 972 * <li>component: the source {@link Workbench.component.Component} for the event.</li> 973 * </ul> 974 * @extends Workbench.event.WorkbenchEvent 975 * @param {Object} object A literal with properties for this event 976 * @since 0.1 977 */ 978 Monk.event.workbench.InitialParametersProcessed = function(){ 979 Monk.event.workbench.InitialParametersProcessed.superclass.constructor.call(this, arguments[0]); 980 } 981 982 Workbench.extend(Monk.event.workbench.InitialParametersProcessed, Workbench.event.WorkbenchEvent, {}); 983 984 /** 985 * @name Monk.event.flowmanager 986 * @namespace 987 */ 988 Workbench.namespace('Monk.event.flowmanager'); 989 990 991 /** 992 * @class Monk.event.flowmanager.StepSelected 993 * @description A step has been selected in the flow-manager. 994 * The following are recognized properties (but the full 995 * class hierarchy should be examined):<ul> 996 * <li>label: a short descriptive summary of the event suitable for users to see</li> 997 * <li>component: the source {@link Workbench.component.Component} for the event</li></ul> 998 * @extends Workbench.event.UserEvent 999 * @param {Object} object A literal with members for this event 1000 * @config {String} label A short descriptive summary of the event suitable for users to see 1001 * @config {Workbench.component.Component} component The source for the event 1002 * @since 0.1 1003 */ 1004 Monk.event.flowmanager.StepSelected = function(){ 1005 Monk.event.flowmanager.StepSelected.superclass.constructor.call(this, arguments[0]); 1006 } 1007 1008 Workbench.extend(Monk.event.flowmanager.StepSelected, Workbench.event.WorkbenchEvent, {}); 1009 1010 /** 1011 * @name Monk.event.toolflowmanager 1012 * @namespace 1013 */ 1014 Workbench.namespace('Monk.event.toolflowmanager'); 1015 1016 /** 1017 * @class Monk.event.toolflowmanager.OpenTool 1018 * @description The ToolFlowManager should open up a particular tool (see data.id for which). 1019 * @extends Workbench.event.WorkbenchEvent 1020 * @param {Object} object A literal with members for this event 1021 * @config {String} label A short descriptive summary of the event suitable for users to see 1022 * @config {Workbench.component.Component} component The source for the event 1023 * @since 0.1 1024 */ 1025 Monk.event.toolflowmanager.OpenTool = function(){ 1026 Monk.event.toolflowmanager.OpenTool.superclass.constructor.call(this, arguments[0]); 1027 } 1028 1029 Workbench.extend(Monk.event.toolflowmanager.OpenTool, Workbench.event.WorkbenchEvent, {}); 1030 1031 /** 1032 * 1033 * @class Monk.event.FeatureSelected 1034 * @description This event is thrown when a user clicks on a feature. -Used by the Similarity/ 1035 * find by example tool. 1036 * @extends Workbench.event.WorkbenchEvent 1037 * @since 1.0.M8 1038 */ 1039 1040 Monk.event.chunk.FeatureSelected = function(){ 1041 Monk.event.chunk.FeatureSelected.superclass.constructor.call(this,arguments[0]); 1042 } 1043 1044 Workbench.extend(Monk.event.chunk.FeatureSelected, Workbench.event.WorkbenchEvent,{}); 1045 1046 /** 1047 * @class Monk.event.ChunkConcordanceRetrieved 1048 * @description This event is thrown after concordance information is retrieved for a chunk 1049 * -The advanced text viewer listens for this event 1050 * @extends Workbench.event.WorkbenchEvent 1051 * @since 1.0.M8 1052 */ 1053 Monk.event.chunk.ChunkConcordanceRetrieved = function(){ 1054 Monk.event.chunk.ChunkConcordanceRetrieved.superclass.constructor.call(this,arguments[0]); 1055 } 1056 Workbench.extend(Monk.event.chunk.ChunkConcordanceRetrieved, Workbench.event.WorkbenchEvent,{}); 1057 1058 /** 1059 * @name Monk.event.corpus 1060 * @namespace 1061 * @since 1.2M1 1062 */ 1063 Workbench.namespace('Monk.event.corpus'); 1064 1065 /** 1066 * @class Monk.event.corpus.AuthorsRetrieved 1067 * @description This event is thrown so that the components listening for author list 1068 * could know that the list has been retrieved by the workbench datamanager 1069 * @extends Workbench.event.WorkbenchEvent 1070 * @since 1.2M1 1071 */ 1072 Monk.event.corpus.AuthorsRetrieved = function(){ 1073 Monk.event.corpus.AuthorsRetrieved.superclass.constructor.call(this,arguments[0]); 1074 } 1075 Workbench.extend(Monk.event.corpus.AuthorsRetrieved, Workbench.event.WorkbenchEvent,{}); 1076 1077 /** 1078 * @class Monk.event.corpus.CollectionsRetrieved 1079 * @description This event is thrown so that the components listening for collection list 1080 * could know that the list has been retrieved by the workbench 1081 * @extends Workbench.event.WorkbenchEvent 1082 * @since 1.2M1 1083 */ 1084 Monk.event.corpus.CollectionsRetrieved = function(){ 1085 Monk.event.corpus.CollectionsRetrieved.superclass.constructor.call(this,arguments[0]); 1086 } 1087 Workbench.extend(Monk.event.corpus.CollectionsRetrieved, Workbench.event.WorkbenchEvent,{}); 1088 1089 /** 1090 * @class Monk.event.corpus.ContainersSelected 1091 * @description This event is thrown when two containers -worksets/collections/works by an author 1092 * are selected for various comparisons. 1093 * @extends Workbench.event.WorkbenchEvent 1094 * @since 1.2M1 1095 */ 1096 Monk.event.corpus.ContainersSelected = function(){ 1097 Monk.event.corpus.ContainersSelected.superclass.constructor.call(this,arguments[0]); 1098 } 1099 Workbench.extend(Monk.event.corpus.ContainersSelected , Workbench.event.WorkbenchEvent,{}); 1100 1101 1102 Workbench.namespace('Monk.event.chart'); 1103 /** 1104 * @class Monk.event.chart.FeatureComparisonChartRetrieved 1105 * @description This event is thrown when chart results of fearture comparison are retrieved 1106 * @extends Workbench.event.WorkbenchEvent 1107 * @since 1.2M1 1108 */ 1109 Monk.event.chart.FeatureComparisonChartRetrieved= function(){ 1110 Monk.event.chart.FeatureComparisonChartRetrieved.superclass.constructor.call(this,arguments[0]); 1111 } 1112 Workbench.extend(Monk.event.chart.FeatureComparisonChartRetrieved , Workbench.event.WorkbenchEvent,{}); 1113 1114 /** 1115 * @class Monk.event.chart.FeatureComparison 1116 * @description This event is thrown by the browser tool; The data-manager makes a call 1117 * to the server to get the FeatureComparison results 1118 * @extends Workbench.event.WorkbenchEvent 1119 * @since 1.2M1 1120 */ 1121 Monk.event.chart.FeatureComparison= function(){ 1122 Monk.event.chart.FeatureComparison.superclass.constructor.call(this,arguments[0]); 1123 } 1124 Workbench.extend(Monk.event.chart.FeatureComparison , Workbench.event.WorkbenchEvent,{}); 1125 1126 Workbench.namespace("Monk.event.view"); 1127 /** 1128 * @class Monk.event.view.HideSearchOption 1129 * @description This event is thrown by the summary tool; 1130 * @extends Workbench.event.WorkbenchEvent 1131 * @since 1.2M1 1132 */ 1133 Monk.event.view.HideSearchOption= function(){ 1134 Monk.event.view.HideSearchOption.superclass.constructor.call(this,arguments[0]); 1135 } 1136 1137 Workbench.extend(Monk.event.view.HideSearchOption , Workbench.event.WorkbenchEvent,{}); 1138 1139 /** 1140 * @class Monk.event.view.ShowSearchOption 1141 * @description This event is thrown by the summary tool; 1142 * @extends Workbench.event.WorkbenchEvent 1143 * @since 1.2M1 1144 */ 1145 Monk.event.view.ShowSearchOption= function(){ 1146 Monk.event.view.ShowSearchOption.superclass.constructor.call(this,arguments[0]); 1147 } 1148 1149 Workbench.extend(Monk.event.view.ShowSearchOption , Workbench.event.WorkbenchEvent,{}); 1150 1151 1152 Monk.event.view.ShowAdvancedSearchLink= function(){ 1153 Monk.event.view.ShowAdvancedSearchLink.superclass.constructor.call(this,arguments[0]); 1154 } 1155 1156 Workbench.extend(Monk.event.view.ShowAdvancedSearchLink , Workbench.event.WorkbenchEvent,{}); 1157 1158 1159 1160 Monk.event.view.HideAdvancedSearchLink= function(){ 1161 Monk.event.view.HideAdvancedSearchLink.superclass.constructor.call(this,arguments[0]); 1162 } 1163 1164 Workbench.extend(Monk.event.view.HideAdvancedSearchLink , Workbench.event.WorkbenchEvent,{}); 1165 1166 1167 1168