I want to make the same behavior I got when I do a right click on a perspective and choose customize to get this window
I want to customize menus and toolbars for my perspective only programmatically.
Actually, I want to remove most menus and toolbars in my perspective only and let them show up again when I change to any other perspective
Can you please help me with this ?
This guide shows how to customise toolbars programmatically based on the current perspective, and hints that the solution for menus is very similar.
Also, the code for the UI in your screenshot is available here, and might contain some useful hints at how to do it.
Related
I need to add an additional button to the right of the system buttons, as shown in the photo. clicking on it will perform a specific action related to my app. Can this be done?
In general: No. There's not an API for this, only the OS can control the navigation area. Consider also the problems you'd run into with the variety of system navigation styles available, many of which, like gesture navigation, don't even have buttons.
Some apps fake things with screen overlays that reimplement some or all of the navigation and/or hide the system navigation, but you're going to run into all of the above issues doing so, plus the issues inherent in screen overlays, plus you'll have no guarantee that however you do it will continue to work into the future. I wouldn't recommend trying this approach.
How to show Driving/Cycling/Walking options in Android?
I know setting the profile will change the way directions are shown but I want to provide to the user direction options in the UI. Is it possible in Android like the picture below?
Directions options
It seems according to this question Unable to hide profile ui (Traffic, Driving, Walking, Cycling) that should be a profile switcher in controls. But I didn't find it in Android.
Thank you,
Hey thanks for checking out the Mapbox SDKs! Unfortunately, we don't have a pre-built Android UI for selecting direction options like the picture you linked - you would need to build your own UI in your app code. Sorry for the inconvenience
I have a question regarding JScrollPane.
I am making a java app in NetBeans with swing and I am using few Jlists. Two of them, have many items and a scrollbar appears to the right side.
When I edit the app the scrollbar looks the way I want, however when I run the app the design changes. The image in the link below shows what I mean.
How can I use the scrollbar design of netbeans look when I run the app?
scrollbar image
Thank you in advance!
You need to set a look and feel.
https://docs.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
I wanted to know how to create the same ui as in the jquery tabs of following link:
http://jqueryui.com/tabs/
I am concerned with the look and feel the view underneath the selected tabs should be looking exactly the way it is shown in the link above.
Also I need to change the background image of the tab i have 2 separate image for selected and unselected tabs.
How to go ahead with this please guide me with example or tutorial?
I searched a lot but was unable to find any technique for doing this attaching the image for reference
Thanks in Advance please do reply.
I have to develop a simple breadcrumb control using SWT which shows hierarchy of the system folders opened so far in a bar at the top and all the folders present at the current location in a window below. Folders should be hyper linked so one can click to move into them further. From where should I start?
As for the visual part, you can use the Breadcrumb widget from the Opal project.
It looks like this:
To handle selection, just add a SelectionListener to each of the BreadcrumbItems.
Note that this is not a "hire a programmer" page, so don't expect complete solutions to your problem. If you have specific questions, we are more than happy to try to answer them :)