Bug 37765 Support to add an internal JAR from the context menu
When an internal JAR is shown in the package explorer it should be possible to append it to the build class path with an "Add to Build Path" action. Thoughtworks feedback: Adding a jar to the classpath is too laborious. Right click on the jar and "Add to build path" would be nice.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateActionGroup.java
provider.addSelectionChangedListener(listener);
		fRegisteredSelectionListeners.add(listener);
	}
	
	/*
	 * The state of the editor owning this action group has changed. 
	 * This method does nothing if the group's owner isn't an
	 * editor.
	 */
	/**
	 * Note: This method is for internal use only. Clients should not call this method.
	 */
	public void editorStateChanged() {
		Assert.isTrue(isEditorOwner());
		
		
		fConvertToMac.update();
		fConvertToUNIX.update();
		fConvertToWindows.update();
	}
	/* (non-Javadoc)
	 * Method declared in ActionGroup
	 */
	public void fillActionBars(IActionBars actionBar) {
		super.fillActionBars(actionBar);
		setGlobalActionHandlers(actionBar);
	}
	
	/* (non-Javadoc)
	 * Method declared in ActionGroup