Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » Changed Workspace, imported VE class
Changed Workspace, imported VE class [message #140703] Thu, 20 September 2007 02:34 Go to next message
Eclipse User
Originally posted by: dsrawlins.yahoo.com

Hi,

New to VE. I had a project working in one workspace, changed to another
workspace and imported the VE class. I made sure that the buildpath in
the project in the new workspace had all the same projects and libraries
as the old one. VE isn't parsing my UI. All I get is the javabean icon
for the "sShell."
Any ideas?

Thanks,

Dave

Here are the first few line if it helps you any:

package main;

import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.graphics.Point;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Group;
import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Combo;
import org.eclipse.swt.widgets.Text;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.custom.CLabel;
import org.eclipse.swt.custom.SashForm;
import org.eclipse.swt.widgets.Link;
import org.eclipse.swt.widgets.TabFolder;
import org.eclipse.swt.widgets.TabItem;

public class VETest1 {

// Region
// [start]
private Shell sShell = null; //
@jve:decl-index=0:visual-constraint="12,12"
private Group grpUnit = null;
private Label lblUnit = null;
private Combo cboUnit = null;
private Label lblPrice = null;
private Text txtPrice = null;
private Button chbAdjust = null;
private Text txtDiscount = null;
private Label lblPercent = null;
private Button chbDiscount = null;
private TabFolder tbFldCustomer = null;

...
Re: Changed Workspace, imported VE class [message #140716 is a reply to message #140703] Thu, 20 September 2007 14:52 Go to previous message
Eclipse User
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Try using New->Java Visual Class->create shell in the same project. The
new visual class wizard will try to update the path to make it correct.
It sounds like the path has a problem.

--
Thanks,
Rich Kulp
Re: Changed Workspace, imported VE class [message #616572 is a reply to message #140703] Thu, 20 September 2007 14:52 Go to previous message
Eclipse User
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Try using New->Java Visual Class->create shell in the same project. The
new visual class wizard will try to update the path to make it correct.
It sounds like the path has a problem.

--
Thanks,
Rich Kulp
Previous Topic:Changed Workspace, imported VE class
Next Topic:ant pdebuild fails
Goto Forum:
  


Current Time: Mon Sep 22 04:36:44 GMT 2014

Powered by FUDForum. Page generated in 0.05803 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software