I don't want to show title in eclipse title bar. Please provide me the way to do it.
Depending on exactly what you want, this might not be possible.
For the Eclipse IDE and all the Eclipse editions you can find on the Eclipse.org download site, this is not possible.
For you own RCP based application, this is easy, as you just need to set the title in the ApplicationWorkbenchAdvisor
Related
I want my rcp plugin without the default title bar and border. I have tried configuerer.setshellstyle (SWT.No_TRIM). But it does not work.
How can i do it?
Unfortunately in Eclipse 4 the setShellStyle call is being ignored (see Eclipse bug 432501).
You might be able to use the 'styleOveride' value in the LegacyIDE.e4xmi file to set the style (more details here)
I am developing an plug-in, I want to change the UI of the Eclipse Preference page, for example, I want to change the color of "General" to red. May I ask that is it possible? If so, could you give me some hints of how to do it? Thanks very much.
I'm using Eclipse and I don't like the appearance of the user interface, it's to much white color in the background. I have used Eclipse earlier, and then it was better with not all that white area! I have been looking in the preference, but have not found any places to change the user interface. Is there a theme that could be changed !?
Open your Eclipse Market Place and search for "Eclipse Color Theme",install it.
than go to windows> preferences> appearances> color theme, select your favorite style, and enjoy.
For more info read hare.
In Eclipse Juno (4.2) it's possible to completely customize the look and feel of Eclipse via CSS, but doing so yourself isn't exactly trivial. You can get the "old" style theme (Indigo) easily via changing a Preference, see this question.
Here are a couple of other related SO questions and answers:
Eclipse 4 Juno themes
eclipse Juno custom workbench colors
This is probably wishful thinking, but I figured I'd ask and hope to get lucky:
I have an Eclipse RCP app with some complicated layouts. Is there some way to manually layout the views/editors in the perspective and export that layout back into the the plugins, so I don't have to twiddle every plugin.xml file?
Thanks!
You should use Window Builder Pro it can even layout Eclipse perspectives.
I need to customize the look & feel of my RCP application.
I took a look at Eclipse Presentation API and I suppose it allows to customize everything in workbench except controls.
So is there any solution to customize controls?
I made some research work and implemented some ad-hoc SWT cunstomization using control canvas drawning. May be there are better solutions?
In Swing you can use Synth theme. It would be great if some 'skin' framework exists for SWT.
One way of customizing an RCP app is by using a plugin_customization.ini file. Like this:
Create a new file called "plugin_customization.ini" in the root of your project.
If you have not already done so, create a product configuration and define a Product.
In your plugin's manifest editor, on the "Extensions" tab, locate the "org.eclipse.core.runtime.products" extension, expand the node, right click on your product node and select "New > property" from the context menu.
Enter "preferenceCustomization" in the "name" field and "plugin_customization.ini" in the "value" field.
Select "File > Save" from the main menu.
You can then customize a lot of things simply by editing plugin_customization.ini file. For example, adding the following line
org.eclipse.ui/SHOW_TRADITIONAL_STYLE_TABS=false
will give you rounded tabs on your views and editors (similar to those that Eclipse IDE has) instead of the default ones.
You can find other constants that you can use in IWorkbenchPreferenceConstants javadoc.
Also, check out the Eclipse skins project, if you haven't already.
There is also the possibility to use CSS to change the look & feel of your app, but that is still in development and can be buggy
As for customizing the SWT controls themselves, the only way to do that (apart from small customizations such as changing the background colour of a control etc.) is by creating your own custom controls by extending Canvas or Composite, but you already know that. Keep in mind that the point of SWT is to use native controls, so if you desire the ability to completely customize your controls, perhaps using Swing would be a better option. However, if you're going to use Swing, it may be better to use another RCP entirely - namely, NetBeans RCP. I haven't tried it out yet, but I know that whereas Eclipse RCP uses SWT as a widget toolkit, NetBeans RCP relies on Swing, so that may save you from some headaches regarding compatibility problems and so on.
The new Eclipse 4 work contains plugins that allow the L&F to be customized using CSS. These plugins can be run in a 3.7 Eclipse environment. See Kai's blog for a presentation on the subject: http://www.toedter.com/blog/?p=477
The Eclipse 4 Styling Tutorial has a slide (p.66) on where to get an 3.7 based RCP example.