Programmatically open detail section of progress dialog in Eclipse - eclipse-plugin

In a progress dialog (IProgressMonitor), there is a Details button that expands the progress dialog to show the details section. How do I open the details section programmatically in my Eclipse plugin?
Thanks.

You don't.
The UI for progress reporting is absolutely not part of the progress API, instead only the concept of tasks, sub tasks and their running state is part of that API. So in another version of eclipse the progress might be shown by playing a sound instead of showing a dialog.
Even your assumption of having that dialog is wrong. When you activate the workspace preference "Always in background", then a user will not see that dialog at all.
And as a last thing: Even if you feel that your plugin is so important that it should behave different than other plugins in Eclipse (and therefore want to access that progress dialog somehow), your users will not feel the same. And they will be confused when installing your plugin together with other plugins because they don't behave the same, although being part of one installation.

Related

Disable certain suggestions in PhpStorm search

I’m not sure what are these called:
I mean the Show code with my wire stats, Show Memory indicator, etc..
Basically, I’m mostly interested so this autocomplete menu would only show files, or at the very least would prioritise files. How can this be achieved?
I’m in version 2022.2.1.
That popup is called Search Everywhere and you are on an "All" tab that includes combined results from Classes, Files, Symbols, Actions etc.
Either manually switch to the desired tab (using a mouse or by hitting Tab needed number of times) or invoke this popup for the desired search from the start. For that just use the shortcut for Navigate | File... (Ctrl + Shift + N here on Windows keymap).
https://www.jetbrains.com/help/idea/searching-everywhere.html
Found the solution.
These things are called Actions, and the can be disabled in menu that appears after clicking the small funnel icon in the top right:
I tested, these changes seem to 'survive' a restart.
Yes, at the moment it is remembered only during the session.
https://youtrack.jetbrains.com/issue/IDEA-229285 -- watch this ticket (star/vote/comment) to get notified about any progress.
(P.S. The same happens with Find in Files popup (IDEA-143972) and a few others similar popups as well)

Google BigQuery: Pinning projects/datasets

I thought I could pin projects to my GCP BigQuery Classic UI,
and then see them as pinned projects in the new UI, but today the PIN icon is no longer showing up next to a project/dataset which I have access to (in old UI), even though I can see the project.
I thought the best way to see pinned projects/datasets in the new UI was as
follows.
in the classic UI, click down "carrot" icon next to the current project, choose "switch to project," then choose display project
type in the project, choose "display project in the navigation panel."
click on the pin icon
navigate to the new console, and see the project
I thought I was doing this as recently as the mid-last week; I could be crazy though. Today when I do these steps, there is no pin icon, so either I'm doing this incorrectly, or something has changed, please advise.
p.s. the ultimate goal is merely pinning a project/dataset onto my console (new BigQuery UI) navigation tree - so if you have a better set of steps, please let me know.
Thanks...Rich
I didn't read that you wanted to pin it in the new UI. I just tried and pinning works in the new UI.
If you click on the "PIN A PROJECT", you need to choose your project and click OK. A pin appears next to the project you pinned.

Having Multiple icons on the taskbar for most IDE

For most IDE, such as eclipse, Intellij, Processing, and other, it seems that even after pinning the program to the task bar, when I actually open it, it creates another program that is not pinned to the task bar. As a result, I have multiple icons on the taskbar. I'm guessing that the ones I pinned on the taskbars are kind of like launching applications and they open a separate application, not that I'm sure of this theory, but I'd prefer to have only one application showing up on the taskbar. So, is there a way to set it up so even after I start the program, another doesn't show up on the taskbar?
Also, It seems like I can't pin the program that gets opened.
Here's a picture of the taskbar.
Or, since it seems like I can't post a picture yet,
This is what's going on with my taskbar.
http://i1320.photobucket.com/albums/u538/jerichoi224/Untitled_zps216034f9.png
This is because IDEs launch instances, which Windows doesn't support taskbar pinning for.
The solution for Eclipse IDE is to add:
-vm
C:/path_to_jre/bin
, to the beginning of the eclipse.ini file, in the eclipse directory, and relaunching the IDE.

Squeak System Browser Questions

I am using (a school modified version of) the "Squeak By Example" (SBE) image for a OOP/OOD class. However, my System Browser is missing a few features that appear in SBE. I assume there are some configuration options that can get them back for me, but I can't find them yet.
My questions are:
1) How do I get the buttons back? In the bottom pane there should be a bunch of button (browse, senders, implementors, versions, ..., source). My buttons are missing.
2) How do I get the small workspace area above the buttons to appear? There is supposed to be an area that I can type in, below the top panes, and above the buttons, but it doesn't appear.
Thanks in advance!
Robert
Edit - I did fool around in the Preferences Browser and tried a lot of settings. I managed to make the buttons come back and then later got that small (unknown name) workspace pane back, but I have no idea how. I have tried to systematically turn stuff off again to find out what setting(s) controlled what, but I was unable to determine what controlled either problem. So even though I have it working, I would like some squeak/smalltalk knowledgeable person to let me know how to control these as it might help me learn...
"In the bottom pane there should be a bunch of button (browse, senders, implementors, versions, ..., source). " -- switch on the optionalButtons preference in the preferences browser.
The "area that I can type in, below the top panes, and above the buttons, but it doesn't appear" sounds like the annotation pane - this gives you summary information about the method you're currently viewing, and it's controlled by the annotationPanes preference. Alternatively you may be referring to the Mercury Panel which is used for fast navigation to other classes and methods; this is (of course :-) controlled by the mercuryPanel preference.
If you've been messing around, you may also find that you now have an incorrect system browser selected. Squeak has a choice of browsers which can act as the System Browser. You can choose between them by clicking the menu button on the System Browser and selecting "Choose new default Browser". Open a new browser window to see what effect this has had.
You may also want to try a Pharo image which has everything configured the way you want by default.
Do you have access to the Preferences Browser? It should be in the main system menu. You can alter all sorts of things via this browser, including which buttons appear in teh system browser?

Dojo dialog nesting

can a dojo dialog bring up another dojo dialog?
dojo 1.3 only supports one modal dialog at a time, so while, yes, one dialog can open another, closing the second destroys the modality of the first.
This happens because dojo.Dialog uses a single global underlay object that provides screen between the dialog and anything else on the page. You can make it work if you're wiling to create your own underlay for each dialog and manage the z-indexes yourself.
I understand this will be rectified in 1.4.
Yes, a dialog can open another dialog, but then you'd have two dialogs displayed -- they aren't modal between each other.
Since this is not the behavior I desire I've worked around this by creating my own handler -- it first checks for an open dialog, and if it finds one, closes it (and places it on a stack) before opening a new dialog. When it closes one it looks at the stack and re-opens dialogs lower on the stack.
Multiple dialogs can be opened prior to Dojo 1.4, but there are problems with accessibility in that case (tabIndex is handled wrong) - so if you need your app to be accessible and support mutliple dialogs., you need to upgrade to Dojo 1.4 when it comes out.
yes you are able to do it in dojo 1.6 and all above versions