mediawiki-extensions-Visual.../modules/ve/dm/nodes
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
..
ve.dm.AlienNode.js Use static.name once for ce and dm nodes 2013-03-07 17:19:39 -08:00
ve.dm.BreakNode.js Use static.name once for ce and dm nodes 2013-03-07 17:19:39 -08:00
ve.dm.CenterNode.js Use static.name once for ce and dm nodes 2013-03-07 17:19:39 -08:00
ve.dm.DefinitionListItemNode.js Use static.name once for ce and dm nodes 2013-03-07 17:19:39 -08:00
ve.dm.DefinitionListNode.js Use static.name once for ce and dm nodes 2013-03-07 17:19:39 -08:00
ve.dm.DocumentNode.js Use static.name once for ce and dm nodes 2013-03-07 17:19:39 -08:00
ve.dm.HeadingNode.js Use static.name once for ce and dm nodes 2013-03-07 17:19:39 -08:00
ve.dm.ImageNode.js Use static.name once for ce and dm nodes 2013-03-07 17:19:39 -08:00
ve.dm.ListItemNode.js Use static.name once for ce and dm nodes 2013-03-07 17:19:39 -08:00
ve.dm.ListNode.js Use static.name once for ce and dm nodes 2013-03-07 17:19:39 -08:00
ve.dm.MWEntityNode.js Use static.name once for ce and dm nodes 2013-03-07 17:19:39 -08:00
ve.dm.MWHeadingNode.js Create MediaWiki specific nodes to contain MW specific rules. 2013-03-12 16:28:29 -07:00
ve.dm.MWPreformattedNode.js Create MediaWiki specific nodes to contain MW specific rules. 2013-03-12 16:28:29 -07:00
ve.dm.ParagraphNode.js Use static.name once for ce and dm nodes 2013-03-07 17:19:39 -08:00
ve.dm.PreformattedNode.js Use static.name once for ce and dm nodes 2013-03-07 17:19:39 -08:00
ve.dm.TableCellNode.js Use static.name once for ce and dm nodes 2013-03-07 17:19:39 -08:00
ve.dm.TableNode.js Use static.name once for ce and dm nodes 2013-03-07 17:19:39 -08:00
ve.dm.TableRowNode.js Use static.name once for ce and dm nodes 2013-03-07 17:19:39 -08:00
ve.dm.TableSectionNode.js Use static.name once for ce and dm nodes 2013-03-07 17:19:39 -08:00
ve.dm.TextNode.js Use static.name once for ce and dm nodes 2013-03-07 17:19:39 -08:00