I am creating an eclipse plugin for my project. I want to have a popup dialog page when the user clicks a customized icon on the toolbar, kind of like Google App Engine popup dialog, any ideas how to do it?
You need
a command
a handler for the command
a menu contribution for your toolbar
a dialog
I have constructed a (very) small example that illustrates this...
Related
I installed XamlSpy using NuGet in my UWP app.
I debug my application and connect it successfully using the XamlSpy.
The problem is that every mouse hover is responses by XamlSpy what prevents me from clicking on buttons etc'...
How can I start inspect only when needed ?
I tried CTRL+Shift without success...
How can I start inspect only when needed
According to this article, Ctrl+Shift is worked for XAML Spy 2. By testing on my side, I guess you are using XAML Spy 3.
In that case, when you are using the XAML Spy desktop app to inspect, the "Select Visual" button which is for moving your mouse to the app, and click to select a visual in the user interface, is highlighted by default. You may need to click it to not highlight the button to stop inspecting, and click again can start inspecting again when you needed.
I would like to support drag and drop of a file resource onto some plugin view toolbar buttons: this would involve attaching a DropTarget to the underlying Control (a Button). However it is unclear to me how programmatically to retrieve the Button - I can give it a unique id in the plugin.xml but what API calls would I use to then find it? Ideas welcome, thanks!
Update: the code fragment at Eclipse RCP obtain toolbar contributions programmatically shows how to navigate to get to the relevant IContributionItem, but then I need the model/widget...
I have a project that use a dll which always shows a popup window while building. It's very annoying and I want to get rid of it.
The problem is the popup window prevents me from doing the automate build because nobody can click on the automate build server.
If you know popup window Title you can write a simple application to find window's Handle and simulate Button click.
I'm trying to create my own custom buttons in Thunderbird. I am trying to make a "Save as Template" stand-alone button. I've gotten the chrome directory completed but I cannot figure out what the command is in the button.js file. Any help is appreciated.
You need to associate the command "cmd_saveAsTemplate" with your toolbar button.
For tasks like this one, I recommoned DOM Inspector which lets you dive into the a window's XUL structure.
I have a program in vb.net which is ready to be published.
Its a small detail, but I'd like to change the icon on both the published app shortcut on my desktop, but more importantly on my taskbar (like where the chrome circle shows up).
Is there any way to accomplish this?
To change the main icon for your application, go to the "Application" tab under the project property page, and change the "Icon:" combo box.