|Re: Embedding Images into Cheat Sheets [message #719226 is a reply to message #719069]
||Fri, 26 August 2011 13:13
| Rich Payton
Registered: June 2011
Thanks, Chris. Can you perhaps clarify the tutorial. Here are my questions:|
1. Do I add the yellow highlighted text exactly? If not, how do I know what needs to be altered?
2. How do I access the image repository and add images to it?
3. Do I register the extension point in the same place as the cheat sheets themselves? (We don't use plugin.xml. For some reason we call it fragment.xml and it has many different types of tags.)
I posted these same questions as a comment to the article but I'm not sure if I'll get an answer. I found that the tutorial required some familiarity that I don't have. Any assistance would be greatly appreciated. Thanks!
I DID get a quick answer! Here is what he said:
Here's a very quick answer. I hope you find it useful.
Answer 1, replace the body of createControl(Composite composite) method, of your class ItemExtensionHandler (or any other name) that extends AbstractItemExtensionElement with the one provided in the tutor. Other codes with yellow, are added for you by Eclipse.
Answer 2. I have just added this post
Answer 3. Sorry, I didn't understand well your question, anyway plugin.xml, is the plug-in descriptor and extensions must be defined there
Answer 4. In the editor "Add Step" will add an in the source code, you can then use the attribute defined with the item extension in "ItemAttribute" (see the tutor)
Hoping that i was clear enough
[Updated on: Fri, 26 August 2011 13:17]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.06986 seconds