Bug 444384 - orion.edit.model events should carry file infos
Summary: orion.edit.model events should carry file infos
Status: RESOLVED FIXED
Alias: None
Product: Orion (Archived)
Classification: ECD
Component: Editor (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 8.0   Edit
Assignee: Mark Macdonald CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 432940
  Show dependency tree
 
Reported: 2014-09-17 11:44 EDT by Michael Rennie CLA
Modified: 2014-10-28 15:01 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Rennie CLA 2014-09-17 11:44:25 EDT
When you register for events using the orion.edit.model service like:

provider.registerService("orion.edit.model", {  //$NON-NLS-0$
			onModelChanging: ternAssist.updated.bind(ternAssist),
		},
		{
			contentType: ["application/javascript"],  //$NON-NLS-0$
			types: ["ModelChanging"]  //$NON-NLS-0$
	});

the event(s) you get should carry the file info like file name and file path