style bits unresponsive in design mode

SWT Designer allows you to create the views, editors, perspectives, pref pages, composites, etc. that comprise Eclipse SWT & RCP applications and plug-ins.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

style bits unresponsive in design mode

Postby ryuujin » Tue Aug 26, 2008 5:24 am

I created a regular ApplicationWindow with a sashform containing a tree and a table. But whenever i try to change the style bits in the properties window it just doesn't like want to be selected. I tried to change all the styles it just wouldn't work, however the code is change but it only can have one style bit at a time. Even with the code changed the design mode doesn't show a border or anything. I'm using v6.7.0 with with the java eclipse 3.4, java 1.6.0_07, and swt & jface 3.4.
ryuujin
 
Posts: 3
Joined: Tue Aug 26, 2008 5:10 am

Re: style bits unresponsive in design mode

Postby Eric Clayberg » Tue Aug 26, 2008 9:33 am

ryuujin wrote:I created a regular ApplicationWindow with a sashform containing a tree and a table. But whenever i try to change the style bits in the properties window it just doesn't like want to be selected. I tried to change all the styles it just wouldn't work, however the code is change but it only can have one style bit at a time. Even with the code changed the design mode doesn't show a border or anything. I'm using v6.7.0 with with the java eclipse 3.4, java 1.6.0_07, and swt & jface 3.4.

We could not reproduce this. We duplicated the above based on your description and all of the styles worked fine.

It would be helpful to see a test case and have some info on which widgets and styles you were trying to set

Also, were there any exceptions in your Eclipse ".log" file that might account for this behavior?
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: style bits unresponsive in design mode

Postby ryuujin » Tue Sep 02, 2008 6:43 am

I looked at the .log file, and i get a lot of noclassdeffound from the SWT Designer. what does this mean, did i install it wrong? I got the zip file and extracted to the dropin folder. Did have a previous swt designer ver. on there but it wasn't linked with the eclipse 3.4 that i'm currently using.

Edit: I was able to reproduce the same behavior my coworker's workstation that has the same java, eclipse, and swt designer version and installed that same way, but it was a clean install no previous swt designer. He also gets the noclassdeffound exception in his .log file too.

Product: SWT Designer Professional
Version: 6.7.0.200807042059
Expected: Eclipse 3.4
Actual: Eclipse 3.4.0.v20080512
Actual Eclipse Build Name:
Actual Eclipse Build ID: I20080617-2000
IDE Actual Name: Eclipse
IDE Actual Version: 3.3.100.v200806172000
IDE Actual NL: en_US
Serial Number: SWTDesignerPro-06826-0804D
Activation Key: SWTDesignerPro-JM0SH-RM0Z0-SWM3X
Physical Address: 00-0F-1F-91-3C-3A
Code Gen: Flat Mode, Use Existing, First Assignment, Make Final
Events: Anonymous Class
Platform Product: Eclipse
Platform Version: 3.3.100.v200806172000
OS Name: Windows XP
OS Architecture: x86
OS Version: 5.1

!STACK 0
java.lang.NoClassDefFoundError: org/eclipse/pde/core/plugin/PluginRegistry
at com.instantiations.utils.reflect.ProjectClassLoader.addRuntimeClassPathEntries(ProjectClassLoader.java:74)
at com.instantiations.utils.reflect.ProjectClassLoader.create(ProjectClassLoader.java:47)
at com.swtdesigner.model.util.ast.ASTEditor.getWorkspaceClassLoader(ASTEditor.java:309)
at com.swtdesigner.model.swt.widgets.SWTBeanInfo.shouldCreateChildForType(SWTBeanInfo.java:174)
at com.swtdesigner.model.swt.widgets.SWTBeanInfo.shouldCreateChildForProperty(SWTBeanInfo.java:146)
at com.swtdesigner.model.swt.widgets.control.ScrollableInfo.shouldCreateChildForProperty(ScrollableInfo.java:91)
at com.swtdesigner.model.swing.JavaBeanInfo.getSharedPossibleChildrenPropertyDescriptors(JavaBeanInfo.java:3156)
at com.swtdesigner.model.swing.JavaBeanInfo.createPropertyBasedChildren(JavaBeanInfo.java:971)
at com.swtdesigner.model.swing.JavaBeanInfo.treeBuildingComplete(JavaBeanInfo.java:816)
at com.swtdesigner.model.swt.widgets.control.ControlInfo.treeBuildingComplete(ControlInfo.java:147)
at com.swtdesigner.model.swt.widgets.composite.AbstractCompositeInfo.treeBuildingComplete(AbstractCompositeInfo.java:166)
at com.swtdesigner.model.JavaInfo.treeBuildingComplete(JavaInfo.java:881)
at com.swtdesigner.model.JavaInfo.doAcceptAsRoot(JavaInfo.java:850)
at com.swtdesigner.model.swt.jface.advanced.ApplicationWindowInfo.doAcceptAsRoot(ApplicationWindowInfo.java:150)
at com.swtdesigner.model.parser.JavaInfoParser.getRootNodes(JavaInfoParser.java:605)
at com.swtdesigner.gef.DesignerEditor.parseCompilationUnit(DesignerEditor.java:1150)
at com.swtdesigner.gef.DesignerEditor$17.execute(DesignerEditor.java:1077)
at com.swtdesigner.model.swing.properties.custom.DesignTimeHelper.execute(DesignTimeHelper.java:54)
at com.swtdesigner.gef.DesignerEditor.handleActivate(DesignerEditor.java:1071)
at com.swtdesigner.gef.DesignerEditor.handleActivate(DesignerEditor.java:1062)
at com.swtdesigner.editors.MultiPageEditor.showDesignEditor(MultiPageEditor.java:391)
at com.swtdesigner.editors.MultiPageEditor$2.widgetSelected(MultiPageEditor.java:178)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:770)
at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3242)
at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:2017)
at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:320)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)

!ENTRY com.swtdesigner 4 4 2008-09-02 11:00:21.979
!MESSAGE Designer [6.7.0.200807042059]: org/eclipse/pde/core/plugin/PluginRegistry
ryuujin
 
Posts: 3
Joined: Tue Aug 26, 2008 5:10 am

Re: style bits unresponsive in design mode

Postby Eric Clayberg » Tue Sep 02, 2008 8:53 am

If you are using one of the stripped down Eclipse distributions that does not include the PDE, you need to install the PDE first (as stated on the product download page and in the FAQ)
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: style bits unresponsive in design mode

Postby ryuujin » Tue Sep 02, 2008 10:37 am

Thanks that worked
ryuujin
 
Posts: 3
Joined: Tue Aug 26, 2008 5:10 am

Re: style bits unresponsive in design mode

Postby Eric Clayberg » Tue Sep 02, 2008 12:21 pm

ryuujin wrote:Thanks that worked

Good. Thanks for the update.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to SWT Designer

Who is online

Users browsing this forum: No registered users and 2 guests