mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 16:20:52 +00:00
4192cbc4d5
Changes: * Cleanup the window API to use more consistent and intuitive methods - we now use initialize/setup/teardown instead of initialize/onSetup/onOpen/onClose as methods which are overridden, and use open/close methods to control the window * Change events around to have opening/open and closing/close events which act as before/after points during the opening/closing process * Make WindowSet and Context respond to windows being opened, rather than opening them directly * Fix a LinkInspector creation mode bug where the initial text doesn't get reset * Move inspector, a VisualEditor concept, back to VE * Cleanup naming of SurfaceDialog, SurfaceToolbar, etc. to use shorter names, they were given Surface* names when the generic ones were also in VE, but now the generic ones are in OO, so they can return to their original names Change-Id: I82c4fed8bcb3fb5630938c8bc4dd9b2d5f1a8c1d
236 lines
4.1 KiB
JSON
236 lines
4.1 KiB
JSON
[
|
|
{
|
|
"name": "ContentEditable",
|
|
"groups": [
|
|
{
|
|
"name": "General",
|
|
"classes": [
|
|
"ve.ce",
|
|
"ve.ce.View",
|
|
"ve.ce.AnnotationFactory",
|
|
"ve.ce.NodeFactory",
|
|
"ve.ce.Surface",
|
|
"ve.ce.SurfaceObserver",
|
|
"ve.ce.DomRange"
|
|
]
|
|
},
|
|
{
|
|
"name": "Annotations",
|
|
"classes": ["ve.ce.*Annotation"]
|
|
},
|
|
{
|
|
"name": "Nodes",
|
|
"classes": ["ve.ce.Document", "ve.ce.*Node"]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "DataModel",
|
|
"groups": [
|
|
{
|
|
"name": "General",
|
|
"classes": [
|
|
"ve.dm",
|
|
"ve.dm.Model",
|
|
"ve.dm.AnnotationFactory",
|
|
"ve.dm.MetaItemFactory",
|
|
"ve.dm.ModelRegistry",
|
|
"ve.dm.Converter",
|
|
"ve.dm.DataString",
|
|
"ve.dm.DocumentSynchronizer",
|
|
"ve.dm.IndexValueStore",
|
|
"ve.dm.NodeFactory",
|
|
"ve.dm.Surface",
|
|
"ve.dm.SurfaceFragment",
|
|
"ve.dm.Transaction",
|
|
"ve.dm.TransactionProcessor",
|
|
"ve.dm.TransactionProcessor.processors"
|
|
]
|
|
},
|
|
{
|
|
"name": "Annotations",
|
|
"classes": ["ve.dm.*Annotation", "ve.dm.AnnotationSet"]
|
|
},
|
|
{
|
|
"name": "Meta items",
|
|
"classes": ["ve.dm.*MetaItem", "ve.dm.MetaList"]
|
|
},
|
|
{
|
|
"name": "Internal list",
|
|
"classes": ["ve.dm.InternalList"]
|
|
},
|
|
{
|
|
"name": "Nodes",
|
|
"classes": ["ve.dm.Document", "ve.dm.*Node"]
|
|
},
|
|
{
|
|
"name": "Linear data",
|
|
"classes": ["ve.dm.*LinearData*"]
|
|
},
|
|
{
|
|
"name": "Models",
|
|
"classes": ["ve.dm.*Model"]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Initialization",
|
|
"groups": [
|
|
{
|
|
"name": "General",
|
|
"classes": ["ve.init", "ve.init.Platform", "ve.init.Target"]
|
|
},
|
|
{
|
|
"name": "MediaWiki integration",
|
|
"classes": ["ve.init.mw*", "ve.version"]
|
|
},
|
|
{
|
|
"name": "Stand-alone",
|
|
"classes": ["ve.init.sa*"]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "User Interface",
|
|
"groups": [
|
|
{
|
|
"name": "General",
|
|
"classes": [
|
|
"ve.ui",
|
|
"ve.ui.Surface",
|
|
"ve.ui.Context",
|
|
"ve.ui.Toolbar",
|
|
"ve.ui.TargetToolbar",
|
|
"ve.ui.WindowSet",
|
|
"ve.ui.Action",
|
|
"ve.ui.Trigger",
|
|
"ve.ui.Command"
|
|
]
|
|
},
|
|
{
|
|
"name": "Actions",
|
|
"classes": ["ve.ui.*Action"]
|
|
},
|
|
{
|
|
"name": "Factories",
|
|
"classes": ["ve.ui.*Factory"]
|
|
},
|
|
{
|
|
"name": "Registries",
|
|
"classes": ["ve.ui.*Registry"]
|
|
},
|
|
{
|
|
"name": "Tools",
|
|
"classes": ["ve.ui.*Tool"]
|
|
},
|
|
{
|
|
"name": "Inspectors",
|
|
"classes": ["ve.ui.*Inspector"]
|
|
},
|
|
{
|
|
"name": "Widgets",
|
|
"classes": ["ve.ui.*Widget"]
|
|
},
|
|
{
|
|
"name": "Dialogs",
|
|
"classes": ["ve.ui.*Dialog"]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "General",
|
|
"groups": [
|
|
{
|
|
"name": "Utilities",
|
|
"classes": [
|
|
"ve", "ve.Range", "ve.EventSequencer"
|
|
]
|
|
},
|
|
{
|
|
"name": "Nodes",
|
|
"classes": ["ve.Node", "ve.BranchNode", "ve.LeafNode", "ve.Document"]
|
|
},
|
|
{
|
|
"name": "Test",
|
|
"classes": ["ve.QUnit", "ve.QUnit.assert"]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "UnicodeJS",
|
|
"groups": [
|
|
{
|
|
"name": "UnicodeJS",
|
|
"classes": [
|
|
"unicodeJS", "unicodeJS.TextString", "unicodeJS.wordbreak", "unicodeJS.graphemebreak"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "OOJS UI",
|
|
"groups": [
|
|
{
|
|
"name": "General",
|
|
"classes": [
|
|
"OO.ui",
|
|
"OO.ui.Element",
|
|
"OO.ui.Frame",
|
|
"OO.ui.Toolbar",
|
|
"OO.ui.Window",
|
|
"OO.ui.WindowSet",
|
|
"OO.ui.Dialog"
|
|
]
|
|
},
|
|
{
|
|
"name": "Factories",
|
|
"classes": ["OO.ui.*Factory"]
|
|
},
|
|
{
|
|
"name": "Tools",
|
|
"classes": ["OO.ui.*Tool"]
|
|
},
|
|
{
|
|
"name": "Elements",
|
|
"classes": ["OO.ui.*Element"]
|
|
},
|
|
{
|
|
"name": "Layouts",
|
|
"classes": ["OO.ui.*Layout"]
|
|
},
|
|
{
|
|
"name": "Tool groups",
|
|
"classes": ["OO.ui.*ToolGroup"]
|
|
},
|
|
{
|
|
"name": "Widgets",
|
|
"classes": ["OO.ui.*Widget"]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "OOJS",
|
|
"groups": [
|
|
{
|
|
"name": "General",
|
|
"classes": [ "OO", "OO.EventEmitter", "OO.Factory", "OO.Registry" ]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Upstream",
|
|
"groups": [
|
|
{
|
|
"name": "jQuery",
|
|
"classes": ["jQuery", "jQuery.Event", "jQuery.Promise", "jQuery.Deferred", "jQuery.jqXHR", "QUnit"]
|
|
},
|
|
{
|
|
"name": "JavaScript",
|
|
"classes": [
|
|
"Array", "Boolean", "Date", "Function", "Number", "Object", "RegExp", "String"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|