mediawiki-extensions-Visual.../modules/ve/dm
Catrope a835c03bc1 Change MetaNodes to MetaItems
Rather than meta-things being special kinds of nodes, they are now a
separate class of things (MetaItems) along with Nodes and Annotations.

* Created a generic ve.dm.MetaItem that meta items inherit from.
  There will be actual instances of this class as well in the upcoming
  meta group code.
* Renamed MetaNode to AlienMetaItem, MWMetaNode to MWMetaItem,
  'metaBlock'/'metaInline' to 'alienMeta'
* Created a MetaItemFactory, handle meta items in the ModelRegistry
* Kill ve.dm.Node.static.isMeta, now obsolete

ve.dm.Converter:
* Pass in the MetaItemFactory
* Look up data element types in the ModelRegistry rather than the
  NodeFactory, because they can be either nodes or meta items
* Document createDataElement() and make explicit that modelClass can be
  either a node or a meta item
* Handle meta items in getDataFromDom()
* In getDomFromData(), check the MetaItemFactory as well as the NodeFactory

Change-Id: I893709c6f3aa00f85c1b905b70f9f4e597bdeada
2013-03-14 23:35:50 -07:00
..
annotations Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
metaitems Change MetaNodes to MetaItems 2013-03-14 23:35:50 -07:00
nodes Change MetaNodes to MetaItems 2013-03-14 23:35:50 -07:00
ve.dm.Annotation.js Change MetaNodes to MetaItems 2013-03-14 23:35:50 -07:00
ve.dm.AnnotationFactory.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.dm.BranchNode.js Use static.name once for ce and dm nodes 2013-03-07 17:19:39 -08:00
ve.dm.Converter.js Change MetaNodes to MetaItems 2013-03-14 23:35:50 -07:00
ve.dm.Document.js Change MetaNodes to MetaItems 2013-03-14 23:35:50 -07:00
ve.dm.DocumentSlice.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.dm.DocumentSynchronizer.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.dm.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.dm.LeafNode.js Use static.name once for ce and dm nodes 2013-03-07 17:19:39 -08:00
ve.dm.MetaItem.js Change MetaNodes to MetaItems 2013-03-14 23:35:50 -07:00
ve.dm.MetaItemFactory.js Change MetaNodes to MetaItems 2013-03-14 23:35:50 -07:00
ve.dm.ModelRegistry.js Change MetaNodes to MetaItems 2013-03-14 23:35:50 -07:00
ve.dm.Node.js Change MetaNodes to MetaItems 2013-03-14 23:35:50 -07:00
ve.dm.NodeFactory.js Change MetaNodes to MetaItems 2013-03-14 23:35:50 -07:00
ve.dm.Surface.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.dm.SurfaceFragment.js Refactor convert to use isolateAndUnwrap 2013-03-13 01:07:52 +00:00
ve.dm.Transaction.js Merge "Implement SurfaceFragment.rewrapAllNodes" 2013-02-26 00:22:01 +00:00
ve.dm.TransactionProcessor.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00