What happened to CSSScratchpad? [message #1005627] |
Sun, 27 January 2013 12:28  |
Eclipse User |
|
|
|
I tried to use CSS SCratchpad in my Application and failed.
But somehow it workes in the Eclipse IDE. There is a command, provided by the bundle "org.eclipse.e4.tools.css.spy" which I can see in the live editor.
I can even execute the CSS ScratchPad in the IDE, but not in my application.
What I did was:
- added "org.eclipse.e4.tools.css.spy_0.12.0.v20120502-1641" to app dependencies
- created a command, with id "org.eclipse.e4.css.OpenSctachpad", which I got by using liveeditor in IDE (there is a typo in OpenScTachpad)
- added some bindings to the command. (ALT+Shift+F6)
When I try to use this command - nothing happens.
Indeed this approach workes, when used with CSSSpy, which is provided in the same bundle.
What am I doing wrong?
|
|
|
|
Re: What happened to CSSScratchpad? [message #1006025 is a reply to message #1005687] |
Tue, 29 January 2013 10:27   |
Eclipse User |
|
|
|
Nope, nothing in the log.
I thought either, that adding bundle should have added Handler and command automagicylly, but it does not happen.
I added a new command, with the same ID, because this helped with CSS Spy. In Spy the native Hotkeys did not work first, but i created a new Command with the same id, as in the bundle - "org.eclipse.e4.css.OpenSpy". This helped, and triggering my new command triggered the Handler from spy.
This approach did not work for the scratchpad. So I wanted to ask, whether scratchpad is working for someone.
Other people seem to have same problems: http://www.eclipse.org/forums/index.php/m/994138/?srch=scratchpad#msg_994138
|
|
|
Re: What happened to CSSScratchpad? [message #1006026 is a reply to message #1005687] |
Tue, 29 January 2013 10:27  |
Eclipse User |
|
|
|
Nope, nothing in the log.
I thought either, that adding bundle should have added Handler and command automagicylly, but it does not happen.
I added a new command, with the same ID, because this helped with CSS Spy. In Spy the native Hotkeys did not work first, but i created a new Command with the same id, as in the bundle - "org.eclipse.e4.css.OpenSpy". This helped, and triggering my new command triggered the Handler from spy.
This approach did not work for the scratchpad. So I wanted to ask, whether scratchpad is working for someone.
Other people seem to have same problems: http://www.eclipse.org/forums/index.php/m/994138/?srch=scratchpad#msg_994138
|
|
|
Powered by
FUDForum. Page generated in 0.04365 seconds