mediawiki-extensions-Visual.../modules/ve/ui
Trevor Parscal 8fc98868c9 Fixed inspector behavior
ve.ui.Inspector
* Removed disabled state and interfaces - this isn't needed
* Renamed prepareSelection to onInitialize
* Using event emitter to run onInitialize, onOpen and onClose methods
* Left removal up to the child class to handle in the onClose method
* Replaced calls on context to close inspector to calling close directly
* Renamed prepareSelection stub to onInitialize
* Emitting initialize event from within the open method
* Added recursion guarding to close method
* Changed the close method's argument to be remove instead of accept - the more common case is to save changes, and the only time you wouldn't save changes is if you were to remove the annotation
* Moved focus restore to close method

ve.ui.Context
* Moved the majority of the code in openInspector and closeInspector to event handlers for onInspectorOpen and onInspectorClose
* Updated calls to closeInspector re: accept->remove argument change

ve.ui.LinkInspector
* Renamed prepareSelection to onInitialize and rewrote logic and documentation
* Removed unused onLocationInputChange method
* Moved restore focus (now it's in the inspector base class)

ve.dm.SurfaceFragment
* Added word mode for expandRange

ve.dm.Surface
* Added locking/unlocking while processing transactions - this was not an issue before because this was effectively being done manually throughout ce (which needs to be cleaned up) but once we started using the content action to insert content dm and ce started playing off each other and inserting in a loop - we already do this for undo/redo so it makes sense to do it here as well

ve.InspectorAction
* Updated arguments re: close method's accept->remove argument change

Change-Id: I38995d4101fda71bfb2e6fe516603507ce820937
2012-11-21 12:01:14 -08:00
..
inspectors Fixed inspector behavior 2012-11-21 12:01:14 -08:00
styles The great inspector and context rewrite of 2012 2012-11-19 15:21:27 -08:00
tools Cleanup tool API 2012-10-31 11:10:17 -07:00
ve.ui.Context.js Fixed inspector behavior 2012-11-21 12:01:14 -08:00
ve.ui.Frame.js The great inspector and context rewrite of 2012 2012-11-19 15:21:27 -08:00
ve.ui.Inspector.js Fixed inspector behavior 2012-11-21 12:01:14 -08:00
ve.ui.InspectorFactory.js The great inspector and context rewrite of 2012 2012-11-19 15:21:27 -08:00
ve.ui.js Tools changes 2012-10-26 14:48:27 -07:00
ve.ui.Menu.js UI context reorganization, inspector rewrite, iframe refactor, icon generalization 2012-10-26 14:46:11 -07:00
ve.ui.Tool.js Cleanup tool API 2012-10-31 11:10:17 -07:00
ve.ui.Toolbar.js Tools changes 2012-10-26 14:48:27 -07:00
ve.ui.ToolFactory.js Tools changes 2012-10-26 14:48:27 -07:00