How to add custom Splash Screen to Runnable Jar in Eclipes - eclipse

So I have a splash screen I want to add to a runnable jar file I create using Eclipse.
Right now the only way I can do this is by creating the Jar and Manually going into the jar file with WinRar and Editing the MANIFEST.MF files to point to the screen shot.
I was just wondering if there is an easier way to add the splash screen or give Eclipse a custom Manifest file to use on creating the Runnable Jar

Have a look at this question here (direct link of the answer: branding your application). You may find addtional information here: How to create splash screens

You can use a custom MANIFEST.MF if you use General > Export as JAR
However, I myself do not know how to configure Eclipse such that it automatically adds it to the generated MANIFEST file.

Related

GWT /smartGWT change Skin elements

For example I want to change the :
C:\Users\media\workspace\TESTPROJECT\war\com.media.project.medistart\sc\skins\Enterprise\images\edges
I open them in Paint and draw new one and overwrite the existing.
when i run my application nothing has changed...
Someone know how i change the files in the .jar maybe it would work
Override the file stored under war folder of your project.
Clear the browser cache first (Ctrl+Shift+Delete) and run the application.
Here is the structure of war where images are stored one for each skin or theme
war
|__WEB-INF
|__testproject
|__sc
|__skins
|__Enterprise
|__Images
|__edges
|__edge_B.png

Eclipse plugin: Using components of another perspective

I already created a new Eclipse perspective, but I would like to know if it is possible to use the same elements and buttons (toolbar ones) that are in the C/C++ perspective?
Is there a way to use them in my own perspective?
Usually all plug-ins has a folder called icons in it. Look into this folder and copy the icons to your plug-in.
For C/C++ perspective icons look at all jars(inside <eclipseInstallationLocation>\plugins folder) containing the name 'cdt` copy all icon files from these jars to your plugin.

How can I change custom perspective's icon in eclipse?

I want to change my custom perspective's icon in eclipse. I have searched a lot but I didn't find any solution.
The icon for a perspective can be changed by updating the iconURI attribute of the perspective's definition in workbench.xmi file. This file is located inside the .metadata directory of the workspace. e.g. /My-Workspace/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi.
There are usually two lines with the iconURI attribute. For example:
<children xsi:type="advanced:Perspective" ... iconURI="platform:/plugin/com.atlassian.clover.eclipse.core/icons/cview16/clover.gif" tooltip="Clover">
and
<snippets xsi:type="advanced:Perspective" ... iconURI="platform:/plugin/com.atlassian.clover.eclipse.core/icons/cview16/clover.gif" tooltip="Clover">
The icon URI is a path to an image within an Eclipse plugin. (Plugins are located at {ECLIPSE_HOME}/plugins directory.)
The workbench.xmi file needs to be edited after closing the Eclipse IDE, because the file gets overwritten when you exit from Eclipse.
In this example I created a custom perspective named Clover by modifying the Java Perspective available in Eclipse, and saving it as "Clover". Initially my perspective had the same icon as the Java perspective:
So I closed Eclipse, changed the icon paths in workbench.xmi, saved the file, reopened the IDE, and got the new icon displayed:
Note: I use Eclipse 4.6.0 (Neon) but this solution would work for all Eclipse 4 versions.
If you stored an existing perspective under a different name as your custom perspective, then it is not possible to change the icon.
You would have to define the perspective by writing a small Eclipse plugin to be able to change the icon.
Open plugin.xml for your plugin; go to the Extensions page; and select your perspective extension (in org.eclipse.ui.perspectives: you should have your custom prspective entered in here). There is an icon attribute you can set for your custom perspective. (I am using Neon2)

Eclipse Project Explorer Icons or Name

In the Eclipse Project Explorer, I wish to add either a special icon or modify the name of a project to display whether a certain project parameter is set for a project. Is this possible, if yes how can I do it? I do not want to change the name of the project because that will mess up other items.
This can only be done by creating an Eclipse plugin. I believe following may fit the bill:
Label decorators (Decorators extension point)
Project natures/nature images (Nature images extension point)

Add image to targets folder by code

i want to add a image to the iphone application Targets-Copy Bundle Resource folder by using code,can make it?any suggestion
Do you want to add images to your built application, so they're available at runtime? In this case, just drag them to your Project tree and make sure your target is checked in the Add dialog. If they're already in your project, but aren't currently in the Copy Bundle Resources, you can drag them there from the file tree.