Bug 5765 New Class button in empty workspace should be more supportive
User feedback: "Confused how to create my first project" We should be more supportive in the UI for this special case since it is a first time experience with the UI. Therefore when the workbench is empty we should offer to create a new Java project. Minimal solution is to show an info dialog that explains that user should create a project first and offer a button to open the Java project wizard. The same is true for the new package and new interface buttons.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewGroup.java
private void createActions() {
		
		if (fActionsCreated)
			return;
	
		String label= NewWizardMessages.getString("NewGroup.wizards_add_package.label"); 
		Class[] acceptedTypes= new Class[] { IJavaProject.class, IPackageFragmentRoot.class };			
		fNewPackageAction= new OpenPackageWizardAction(label, acceptedTypes);
		fNewPackageAction.setImageDescriptor(JavaPluginImages.DESC_TOOL_NEWPACKAGE);
		fNewPackageAction.setToolTipText(NewWizardMessages.getString("NewGroup.wizards_add_package.tooltip")); 
		fNewPackageAction.setDescription(NewWizardMessages.getString("NewGroup.wizards_add_package.description"));			 
		
		label= NewWizardMessages.getString("NewGroup.wizards_add_class.label"); 
		acceptedTypes= new Class[] { IJavaProject.class, IPackageFragmentRoot.class,
			IPackageFragment.class, ICompilationUnit.class, IClassFile.class };		
		
		fNewClassAction= new OpenClassWizardAction(label, acceptedTypes);
		fNewClassAction.setImageDescriptor(JavaPluginImages.DESC_TOOL_NEWCLASS);
		fNewClassAction.setToolTipText(NewWizardMessages.getString("NewGroup.wizards_add_class.tooltip")); 
		fNewClassAction.setDescription(NewWizardMessages.getString("NewGroup.wizards_add_class.description"));			 
			
		label= NewWizardMessages.getString("NewGroup.wizards_add_interface.label"); 
		fNewInterfaceAction= new OpenInterfaceWizardAction(label, acceptedTypes);
		fNewInterfaceAction.setImageDescriptor(JavaPluginImages.DESC_TOOL_NEWINTERFACE);	
		fNewInterfaceAction.setToolTipText(NewWizardMessages.getString("NewGroup.wizards_add_interface.tooltip")); 
		fNewInterfaceAction.setDescription(NewWizardMessages.getString("NewGroup.wizards_add_interface.description")); 
		acceptedTypes= new Class[] { IJavaProject.class };
		label= NewWizardMessages.getString("NewGroup.wizards_add_snippet.label"); 
		fNewSnippetAction= new OpenSnippetWizardAction(label, acceptedTypes);
		fNewSnippetAction.setImageDescriptor(JavaPluginImages.DESC_TOOL_NEWSNIPPET);