Opened 11 years ago

Closed 11 years ago

#1142 closed enhancement (fixed)

use firePluginEvent() for all plugin event handling

Reported by: ray Owned by: gogo
Priority: normal Milestone: 0.95
Component: Xinha Core Version: trunk
Severity: normal Keywords:
Cc:

Description

this removes some duplicate code and provides a more intuitive handling for plugin authors than notifyOn/notifyOf

to a note by gogo in the source: I dont' think that all plugins have to return false, because firePluginEvent() only listens for a postive return

After this update there are the following event handlers:

onGenerate
onGenerateOnce
onUpdateToolbar
onExecCommand
onKeyPress
onMouseDown
onBeforeSubmit
onBeforeUnload
onBeforeResize
onResize
onPanelChange
onBeforeMode
onMode

Change History (1)

comment:1 Changed 11 years ago by ray

  • Resolution set to fixed
  • Status changed from new to closed

committed rev [955]

Note: See TracTickets for help on using tickets.