Problems Suring Content Assist After Installing WindowBuilder plug-in - java

The following message pops up when I try to use the content assist command (Ctrl+Space) after I installed the WindowBuilder plug-in :
"The 'API Tools Javadoc Proposals' proposal from computer from the 'org.eclipse.pde.api.tools.ui' plug-in did not complete normally..."
I already tried to de-select the API Tools Javadoc Proposals on Content Assist, as the program sugests, but still did not work. I also tried to select all the Java Proposals, tried to change the Key and nothing worked. I need to use this plug-in for a important project. Does anybody know what can I do?
PS: I never had this problem with Eclipse before, I uninstalled and installed the Window Builder plug-in to see what would happen, and the problem is definitely related to Window Builder.

Installing an older version of Eclipse could work, and indeed it does.
I've installed Eclipse 2018-12 and the latest official (NOT prerelease) Window Builder version from the Eclipse Marketplace. Now the content assistant works fine.
IMPORTANT: You can have more than one Eclipse installation at the same time on your computer, as long as it is in a different folder. That's how I did it at least. Bad thing is, that you'll probably need another workspace separate from your everyday workspace, just for the Eclipse 2018-12 installation.

Related

Fixing WindowBuilder UI

The bug is hard to explain so I will add images to show my problem. As you can see in the provided picture the interface is completely empty. Does anyone know how to fix this? I have reinstalled eclipse and the addon multiple times and tried plenty of online tutorials but to no success.
Also, the code that was used is the base JPanel code that is generated when selecting it from the "New -> Other -> JPanel"
Well here is a way to fix this:
reinstall eclipse
set JDK compliance to 11
Add JRE System library 1.7
Install WindowBuilder (You may be forced to use 1.9.4 or 1.9.5 for compability, download it from their website and use )
This should get you set to go :D
In case your get any kind of errors use the marketplace to update your WindowBuilder and that should fix it.
I had the same problem on my manjaro linux where I recently installed eclipse IDE 2021-12. I'm using jdk 17 . I tried several solutions that I found on google without success.
In fact, I had installed from the eclipse marketplace version 1.9.7 of windowbuilder; and when I had to open a source file in the windowbuilder editor, the components palette was always empty.
I can list here what I tried to solve my problem:
I tried the tutorials that talked about installing the windowbuilder
plug-in from Help -> Eclipse Marketplace or from Help -> Install New
Software -> -> add a zip file, but in these types of tutorials,
eclipse versions that are used, was released before 2019, and this solution didn't work on my 2021-12
version.
I tried an upgrade to windowbuilder 1.9.8, but I still had the same problem
Here is a simple manipulation that worked for me:
=> I did an update (actually an upgrade) to 1.9.8 but before that I had to change a configuration in the preferences, consisting of automatically associating all java GUI files with the windowbuilder editor:
Window -> Preferences -> Windowbuilder and I checked the checkbox "Associate Windowbuilder editor with automatically recognized Java GUI files".
I restarted eclipse so that the configuration takes effect in the
workspace by doing : File -> Switch Workspace and I choose the same
workspace I was in and this has the effect of restarting eclipse.
Once eclipse was restarted, I went to the eclipse Marketplace and updated
my windowbuilder and after restarting, everything works fine.
I had the same problem with Eclipse 2022-03 and WindowBuilder 1.9.8. WindowBuilder was running, I could open files in the WindowBuilder Editor with Design and Binding tabs, but pressing the Design tab showed an empty palette.
I did an uninstall of WindowBuilder (from the Help-> Eclipse Marketplace, then search for windowbuilder) and then installed the 1.9.9 nightly build. Maybe the 1.9.8 would work as well but this worked for me.
I have before the same problem. I have now resolved it.
Just do these steps.
Goto Help- Eclipse Market Place
Search Window Builder - If u already installed, Click install or else do download.
Check that the installed tab, Window builder is updated or not. If not do Update.
After finishing the update and restart. Your Problem Resolved.

How do I properly setup JavaFX for Eclipse Mars?

My Java specifications: JRE: 1.8_u60, JDK: 1.8_u60
JAVA_HOME is set-up correctly.
I´ve downloaded and installed the latest Eclipse Mars Java SDK (Eclipse Mars.1 / 4.5.1) from the official Eclipse download page and used the installer.
I used the Eclipse update site from e(fx)clipse to install the JavaFX IDE.
As described in the site´s tutorial I should now be able to create FX projects with File > New > Other > JavaFX ...
But unfortunatelly I don´t have any option to create an FX project. There is no sub-section called JavaFX.
How do I set up JFX for Eclipse Mars properly (if my setup does not work at all)? here is one more similar Question asked.
Remove the installed plugin and try installing it through Marketplace.
Edit after the answer was accepted:
Just for clarification, it should also work in the way OP has tried it. Before one tries to troubleshoot why it's not working, it is very convenient to verify that the installation is not working from marketplace either.
Since JavaFX is now on default classpath, you do not need any extra plugin to create a JavaFX application. You can just create a simple Java Project in Eclispe and get started.
But, e(fx)clipse is recommended to install on Eclipse because of the extra features it adds to the IDE.
I just finished installing the e(fx)clipse plugin on my Eclipse Mars to check if your scenario can be reproduced, but unfortunately after installing the plugin & restarting Eclipse, I can create JavaFX projects.
You can either try restarting Eclipse or re-install the plugin again.
As mentioned in previous Question by tomsontom, you can check your status of e(fx)clips bundles. Or you can use All-In-One Download.

!how to enable workspace window and view projects in eclipse for java?

I created a few projects but now I don't know how to view and also I don't see any menu bar! I used to have work space,what might be wrong? please help.
EDIT : I already mentioned I am not even able to see menu bar! so, no window or no FILE dropdown also! the eclipse is just opening and i can add project and other save print button are disabled, apart from save,forward backward disabled buttons , I am not able to see anything?! what to do?
Also actually I have installed two JRE's and I have eclipse and eclipse for java ee also on the same machine, i recently installed java ee eclipse and jre 1.7 for some requirement, earlier I used to work with just eclipse and jre 1.8. I am not even java developer, but for some course, i need to install 1.7 jre and eclipse java ee! Now what might be the problem?
You may have accidentally switched your workspace.
Go to File->Switch Workspace to check your recent workspaces, and change it back.
go in window menu and click on reset perspective and if your project are still not seen then try to switch the workspace to the drive in which it is saved

Eclipse - Can not create a web application project

I have installed a new version of Eclipse Kepler and have installed the Google Plugin from "http://dl.google.com/eclipse/plugin/4.3" using "Help/Install new software". However, the "g" button to allow the creation of a web application is not in the menu bar. Also when I go to "File>New" the option "Web Application Project" does not appear (I have checked under "Other". What else do I need to install please?
I have used this reference "http://www.gwtproject.org/usingeclipse.html#installing".
I resolved this by installing Eclipse-JEE. It recognised the Eclipse I had already installed, and spent a lot of time on configuring, and configured its self for me. I was very re-leaved as I expected to spend hours re-doing all the work. So if you have a similar issue do not hesitate to install Eclipse-JEE (do not remove the old Eclipse first).
Regards,
Glyn
You need the GWT SDK as well, but that is usually installed with the plugin. Unless you deselected SDK during the installation. What do you see when you go to Window>Preference>Google>Web Toolkit? Any entries there? If not you can use the Add... button to install SDKs.

GWT Designer not working with Eclipse 4.2 service release 2?

I'm trying to do this tutorial after having installed Eclipse Juno 4.2 service release 2 (Java EE distribution) und following exactly the GWT installation instructions over here.
However, I neither get the WindowBuilder entry under Preferences, nor is there a WindowBuilder entry in the new projects dialog appearing. What am I doing wrong?
I'm running Ubuntu 12.04.02 LTS on amd64, and I have tried oracle jdk 7u17 and Ubuntu's own jdk6 distribution, but to no avail...
Just tried the same in Win2k3. Exact same result. Google is starting to annoy me. GWT 2.5.1 throws an error when trying one of my simplest projects...
Update: it is working to some extent. Meaning: WindowBuilder does not recognize GWT Designer's installation and offers to install GWT Designer for Eclipse 3.7. The designer toolbar's GWT selection possibilities therefore are not there.
Update: bug filed.
Update: bug was closed as won't fix. They don't care.
They do care. GWT is a magical development environment, under constant evolution.
They have to race with new versions of browsers, Javascript and releases of Eclipse, so sometimes tiny things may not be always documented up to date. The tutorial you are trying to run is made for GWT Designer 2.3, GPE 2.3, Eclipse 3.7 & Java 1.6.
This tutorial works also perfectly well for Juno 4.2 SR2 with a few minor changes:
In step 1, just Create a Web Application Project. You can generate project sample code, make sure that things work and then clean it up and stick with the folder layout.
In step 3, just add a class and make it extend com.google.gwt.user.client.ui.Composite. Add an empty Constructor and then you can open the GWT Designer as always, in order to do the rest. The CSS styleName property has been improved. There are tool-tips to guide you.
PS: My tests were made in Ubuntu12.04-32bit, WinXP-32bit and Win7-64bit with JDK1.7.0_17-32bit and Eclipse-32bit.
In case the designer tab does't show up by default, I noticed that I can get it by right-clicking the .java on the package explorer and selecting 'open with ...' 'WindowBuilder Editor'.

Categories

Resources