Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ease-dev] [GSoC-2015]Help Hover Tooltips

Hi Christian,

Thank you very much for your guidelines. I added a new toolbar button "Open Script Help" to the script shell and by clicking on it I can access to any hard coded URL in "http://127.0.0.1:35167/help/index.jsp".

​Now I need a URI to access to Scripting Guide root node. As you said I have to add a simple default page for the Scripting Guide root node. But I don't know the correct procedure to add such a page. Can you give me some guidelines for that?

Thank you.

On Sun, Mar 15, 2015 at 7:42 PM, Christian Pontesegger <christian.pontesegger@xxxxxx> wrote:
HI,

1) to test plugins, just launch an RCP application from your development IDE. Activate all necessary plugins and try out your new code.

2) you cannot point to a dedicated plugin here. Best option would be to point to the Scripting Guide root node. Not sure if you can address a book programmatically or i you have to provide an HTML URI to open. In the latter case you would have to add a simple default page for the Scripting Guide root node as such a page does not exist yet. You could also point to the root of the Loadable Modules page. I leave this up to you to decide.

regards
Christian


On 15.03.2015 14:54, Vidura Mudalige wrote:
Hi Christian,

I went through the tutorial and it helped me a lot to understand how to develop a plugin. I added a new command to the "org.eclipse.ui.commands" extension point and added another command to the "org.eclipse.ease.ui.views.scriptShell" menu contribution under the "org.eclipse.ui.menus" extension point. Also I created a new java class "OpenScriptHelp.java" as the default handler of the command. I am planning to use the code of "OpenHelp.java" that has been used to get help resources for "Modules Explorer".

Now I have two problems.
1. I tried to export the "org.eclipse.ease.ui" plugin source as "Deployable plug-ins and fragments" to test the plugin. I got a huge error log and the generated plugin JAR did not work. I fixed the code warnings by reading the log. But after exporting again errors remain unchanged. So what is the correct procedure to test the plugin? 

2. According to the Modules Explorer implementation, to open the help for a script module, first the user should select a module. But how does a user select a module in the script shell? Should it be the most recently loaded module?

Thank you.

On Wed, Mar 11, 2015 at 4:26 PM, Vidura Mudalige <vbmudalige@xxxxxxxxx> wrote:
Hi Christian,

Thank you very much for your immediate response. It is a great pleasure to know that I am on the right track.:) I will follow the tutorial to go to the next step.

On Wed, Mar 11, 2015 at 4:02 PM, <Christian.Pontesegger@xxxxxxxxxxxx> wrote:

Hi,

 

you are on the right track regarding the plugin and the script shell class. To learn how to attach toolbars and menus please read the excellent tutorials from Lars Vogel:

http://www.vogella.com/tutorials/EclipseCommands/article.html

 

You should follow this path to add a new toolbar entry.

 

Best regards

Christian

 

 

From: ease-dev-bounces@xxxxxxxxxxx [mailto:ease-dev-bounces@xxxxxxxxxxx] On Behalf Of Vidura Mudalige
Sent: Wednesday, March 11, 2015 11:27 AM
To: ease developer discussions
Subject: Re: [ease-dev] [GSoC-2015]Help Hover Tooltips

 

Hello Christian,

Thank you very much for your guidelines. I checked "org.eclipse.ease.ui" plugin and found a java class called "ScriptShell.java" under "org.eclipse.ease.ui.view" package. I studied this java class line by line and had a good knowledge about how the script engine gets the scripts from the combo box in the script shell.

I found something called "dropins" in this class. I don't have an exact idea about it. Do these dropins represent the utilities that we can see in the script shell.(eg : Load an external module, Clear display) If so, do I need to add an extra dropin to add help button to script shell?

Thank you.


_______________________________________________
ease-dev mailing list
ease-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ease-dev




--
Vidura Mudalige
Undergraduate
Computer Science & Engineering
University of Moratuwa.


_______________________________________________
ease-dev mailing list
ease-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ease-dev


_______________________________________________
ease-dev mailing list
ease-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ease-dev



--
Vidura Mudalige
Undergraduate
Computer Science & Engineering
University of Moratuwa.

Back to the top