Install4j 8.x customization - install4j

Install4j is a great installer to work with. But i found some limitation for it and also it works differently on different platform OS.Right now i am working on Windows OS. Below are my queries .Please suggest some good solution.
1)I want to customize the install4j window. By default it corner shaped, i want it to be round edged at corners. How can i customize this window ie. changing shapes, changing the opacity, color, etc.
2)In directory chooser can we customize the the "Browse" button. I want to add image to the button matching to our theme.Is there any way to do that?
3)When i disable the "minimize" option for installer ,it is not clickable but still shows the disable icon.Can we make it disappear that?It works on CentOS but on windows it still shows the icon.
4)Can we customize title bar?

In install4j 8.x, no window customizations are supported and it is also not possible to set an icon for the file chooser button.

Related

Is there a way to programmatically change the color of an editor tab in my Eclipse Plugin?

I have a SharedHeaderFormEditor in my Eclipse RCP plugin.
One of my requirements is to draw attention to the editor's tab when something happens outside of the editor and it needs a refresh.
Some of the ideas discussed included
changing the color of the tab
adding an icon to the editor's text (instead of the standard * for a dirty editor)
Are either of those possible? I've been looking around and have not found anything that could address this issue.
Thanks!
ViewPart and EditorPart both allow changing the title label and icon (setPartName(…) and setTitleImage(…) respectively). The Eclipse Workbench also offers an IWorkbenchPartProgressService to each part, which allows a part to indicate that it's busy (via incrementBusy()/decrementBusy()) and that its content has changed (via warnOfContentChange()). You can see this used in the Search and Console views (org.eclipse.search2.internal.ui.SearchView and org.eclipse.ui.internal.console.ConsoleView).

In Eclipse, how to change the colour of the selected console text's highlighting colour?

Please see image for high lighted color to change. Here is the highlight
Unfortunately that appears to be a color setting which cannot be changed within Eclipse.
On Windows 10 it definitely uses the operating system default for Selected Text (which for me is blue), but you can change it through the Personalize settings for Windows. I verified this, but obviously that will impact all your applications, not just the Eclipse Console, so it's not a very good option.
I don't know things works on Linux or Mac, but I assume there is a similar approach available.
Notes:
You can easily change other color settings for the Eclipse Console. Just right click anywhere within the Console window and select Preferences... from the context menu. Then click on any of the colors shown (e.g. "Background color") to change it. Note that there is no option offered for changing the background color of selected text.
I also tried changing the Theme for Eclipse but the background color for selected text in the Console always remained the same as the Windows default regardless of the theme chosen. (I don't know of any technical reason why this setting in the Console cannot be customized though - perhaps someone else can explain?)

How to use color picker (eye dropper)?

There is a very useful tool built in chrome dev tool, that I have just discovered. I even don't know its name, and I am not able to find it on google. I would say it is a pixel inspector tool.
I find the following method how to use it:
1a. Inspect an html element with background color.
1b. Define background color of an element.
Click on the color picker.
Move your mouse over any element on the page (not on the dev tool)
See: http://skalar.darkware.hu/skalkaz/Chrome-Colorpicker.gif
My questions:
What is this tool name?
How to use it easily? Most of the time I don't care the color, but I want to inspect the pixels of an icon.
Is there a hotkey of this tool?
To open the Eye Dropper simply:
Open DevTools F12
Go to Elements tab
Under Styles side bar click on any color preview box
Its main functionality is to inspect pixel color values by clicking them though with its new features you can also see your page's existing colors palette or material design palette by clicking on the two arrows icon at the bottom. It can get quite handy when designing your page.
It is just called the eyedropper tool. There is no shortcut key for it that I'm aware of. The only way you can use it now is by clicking on the color picker box in styles sidebar and then clicking on the page as you have already been doing.
Currently, the eyedropper tool is not working in my version of Chrome (as described above), though it worked for me in the past. I hear it is being updated in the latest version of Chrome.
However, I'm able to grab colors easily in Firefox.
Open page in Firefox
Hamburger Menu -> Web Developer -> Eyedropper
Drag eyedropper tool over the image... Click.
Color is copied to your clipboard, and eyedropper tool goes away.
Paste color code
In case you cannot get the eyedropper tool to work in Chrome, this is a good work around.
I also find it easier to access :-)

Eclipse Dialogs Have No Title Bar and Can't Be Moved in Gnome 3

I just installed Eclipse from the Android website and the dialogs have no title bar and seem to be docked at the top of the Eclipse main window. I can't find a way to move them or get the titlebar back. I'm using Gnome 3 as desktop/window manager.
For example, if I choose Search | File... from the main menu, it comes up, but without titlebar. If I press Alt+F7, I can move the entire window, but the dialog will not move relative to the window.
How do I fix this?
Thx.
You are missing an important information, your operating system and desktop environment. Let me guess? Linux/Gnome? Or Cinnamon?
Gnome has the, erm, great feature to attach modal dialogs at the main window.
You can install dconf-editor and set the key org/gnome/shell/overrides/attach-modal-dialogs to false.
In Cinnamon you can easily disable this feature in the System Settings > Windows > Attach dialog windows (may not be the actual text as I translated it from my locale). You need to switch the settings to Expert mode to see the Windows entry.

Horizontal scrolling with the scrollwheel in Eclipse

I've been trying to find a way to scroll the text horizontally with my scrollwheel in Eclipse, similar to the way you can do it in Textpad. In Textpad if you hold ctrl while you scroll vertically it will scroll horizontally. Does anybody know if there is a configurable setting somewhere in Eclipse that will allow this? I've looked all over the "keys" setting page without being able to find it, and Google/Stack Overflow searches haven't turned anything up for me.
Thanks.
I guess this depends more on your OS than on Eclipse. For instance on Mac OS it's Shift + Scrolling.
#Daniel Sokolowski's answer was almost working. I have been using X-Mouse Button Control for over a year now and didn't know how to get the Horizontal Scrolling to work on certain programs (like Eclipse and Chrome) until I read Sokolowski's answer which pointed me in the right direction.
For the sake of brevity, and not to duplicate what has already been written clearly by Sokolowski, follow his directions, and in addition do the following:
Add Eclipse to your Applications list in X-Mouse by clicking Add and finding javaw.exe in the "Choose Application" popup and clicking OK.
Now click on the "Eclipse" profile and choose the "Scrolling & Navigation" tab
Under the "Advanced Window Scrolling" choose Method 1(SCROLL Msg) option for Scroll Method
Click Apply
If you correctly followed Sokolowski's and my instructions together you should be able to press Shift while scrolling up or down to trigger a horizontal scroll.
On a Windows machine this worked for me:
Download X-Mouse Button Control
In the main window go to 'Layer 2' and change 'Wheel Up' and 'Wheel Down' to 'Scroll Windows Right' and 'Scroll Window Left'
Go into the 'Settings > Modifier Keys Tab' and select 'Shift' for the 'Activate Layer 2' setting.
Now in whatever active window, including Eclipse pressing shift and then scrolling up and down will scroll horizontally.
Update: I have been using this approach for a few days now and noticed that not all windows are horizontal scroll enabled, for example 'Package Explorer' is not but 'Navigator' is - this appears to be a limitation of Eclipse IDE rather than this approach. Please take a moment and upvote this Eclipse Bug #201984
You have a plugin supposed (not tested) to support horizontal scrolling.
But without plugin, SWT does not support horizontal scrolling on Windows.
Its support is planed for 3.6 though. (since 3.6M2, actually -- September 18, 2009)
New event constants have been added for horizontal mouse wheels.
See SWT.MouseHorizontalWheel and SWT.MouseVerticalWheel.
For me the best way while using eclipse or for that matter any IDE, is to have a new line char at the end of screen. I feel that to use horizontal scrolling to view data becomes bit difficult while going back and forth and I would like all code to be visible to me always. If the code you are trying to view requires you to use horizontal scroll bar then try to format it by using Ctrl+Shift+F.
The bug has been fixed in the latest update of Eclipse.
In your Eclipse menu bar, simply:
1. Click Help>Check for Updates.. (and wait for the progress bar at the bottom to finish checking)
2. Install all updates.
Once Eclipse IDE gets restarted, you are now able to scroll horizontally.
(Save yourself from having to install additional mouse softwares to create new configurations. Phew, I'm so glad I figured this one out for myself)
Cheers!