Bug 116199 [render] Easy-to-read .jar file reference
In the "Package Explorer" one often ends up with complicated or long paths to the jar files that are rererenced, and because of this the file name often ends up outside the viewable area, the explorer being relatively narrow. The idea here is simply to replace the label text with "shortname (path)" in stead of "path/shortname". I.e. in stead of the current label text that might be M2_REPO/junit/junit/3.8.1/junit-3.8.1.jar Use jarfile.jar (M2_REPO/junit/junit/3.8.1) or jarfile.jar (M2_REPO/junit/junit/3.8.1/junit-3.8.1.jar) This way, one can always see the name of the jar file in the browser.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaElementLabels.java
/**
	 * Initializer names are fully qualified.
	 * e.g. <code>java.util.Vector.{ ... }</code>
	 */
	public final static long I_FULLY_QUALIFIED= 1L << 10;
	
	/**
	 * Type names are post qualified.
	 * e.g. <code>{ ... } - java.util.Map</code>
	 */
	public final static long I_POST_QUALIFIED= 1L << 11;		
	
	/**
	 * Field names contain the declared type (appended)
	 * e.g. <code>fHello : int</code>
	 */
	public final static long F_APP_TYPE_SIGNATURE= 1L << 14;
	
	/**
	 * Field names contain the declared type (prepended)
	 * e.g. <code>int fHello</code>
	 */
	public final static long F_PRE_TYPE_SIGNATURE= 1L << 15;	
	/**
	 * Fields names are fully qualified.
	 * e.g. <code>java.lang.System.out</code>
	 */
	public final static long F_FULLY_QUALIFIED= 1L << 16;