Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [orion-dev] Edit model extension point clarification

Hi Jennifer,

1) This looks like a doc glitch. The Drag, Drop, and Mouse events are all dispatched as events, the same as the events listed under "Event Summary". There's no difference in functionality between them.

2) Some of these event types are sparsely doc'd right now. The best source of info is the code -- especially textView.js, which is where most of those events originate. You can also opening a JS debugger on an unminified editor page (like this one) and using breakpoints to inspect event data as you interact with the editor.

Regarding the "orion.edit.model" extension point and its interaction with the Drag and Mouse events, I have some bad news… We seem to have a bug that causes most of the mouse event data (x, y, etc) to be discarded before the plugin receives it. So, if you are authoring a plugin it will not get any useful data from those types of events until that bug is fixed.

Mark


On Thu, Nov 14, 2013 at 1:20 AM, Jennifer Winer <jenn.winer@xxxxxxxxx> wrote:
Hello,

I was wondering if anyone could help me answer the following two questions about the orion.edit.model extension point.

1) The information on the wiki differs from the information on the api. Specifically the drag, drop and mouse events are listed under methods instead of under the events summary heading. Assuming that it is the wiki that is outdated or incorrect, is this indicitive of a difference in funcitonality between the two event handlers?




2) I'm having a bit of difficulty finding documentation on the properties of each even type. It appears as if many of the events (eg. DestroyEvent) have no properties. Other events (eg. mouseEvent) don't even appear to have a page in the api. How could I go about finding more information on each of these objects?

    - Jennifer W. 


_______________________________________________
orion-dev mailing list
orion-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/orion-dev



Back to the top