Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004543Clover Designer(No Category)public2010-07-14 17:122010-07-26 14:04
Reporterpnajvar 
Assigned Tokjurgowski 
PriorityhighSeverityminorReproducibilityhave not tried
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target Versionrel-3-0-0Fixed in Version 
Summary0004543: Table cell editor check box instead of true/false combo
DescriptionIt would be really nice to have for all true-false settings a checkbox instead of a combobox with true/false values.

There was some problem with it, we decided to use the combo instead of checkbox.
The values the checkbox should produce are the same - i.e. "true" or "false"

See attached illustration.
Additional InformationThe task is to investigate whether cell editor in a table can be implemented as checkbox

A good starting point is UIPropertyToolkit and related classes
TagsNo tags attached.
OTRS_Ticket_ID
Time estimate (manhours)
Time duration (manhours)
Completion status10
Attached Filespng file icon checkbox-request.png [^] (45,785 bytes) 2010-07-14 17:14


png file icon BooleanCombo.png [^] (237,277 bytes) 2010-07-16 10:41

- Relationships
parent of 0004559resolvedmzatopek partitionFileTag can't be set on DataWriter 

-  Notes
(0008457)
kjurgowski (developer)
2010-07-15 18:33

The checkbox appears next to the comboEditor, it syncs with the comboEditor whenever there is a change in either. If the property component loses focus with the default empty selection, the state of the checkbox has no effect (it can be checked or unchecked and will not change the state).
(0008467)
avackova (developer)
2010-07-16 10:40

I can see combo as well as check box
(0008469)
kjurgowski (developer)
2010-07-16 10:45

Yes, that was the way it was suppose to be built. I think the reason was for parameters and also to have the ability to still leave it as default (blank)
(0008483)
avackova (developer)
2010-07-16 14:38

No combo cell editor works:
java.lang.ClassCastException: com.cloveretl.gui.model.primitive.ExString cannot be cast to com.cloveretl.gui.model.primitive.ExBoolean
at com.cloveretl.gui.jface.viewers.BooleanComboCellEditor.updateCheckmark(BooleanComboCellEditor.java:178)
at com.cloveretl.gui.jface.viewers.ComboCellEditor.doSetValue(ComboCellEditor.java:187)
at org.eclipse.jface.viewers.CellEditor.setValue(CellEditor.java:855)
at com.cloveretl.gui.jface.MyPropertySheetEntry.getEditor(MyPropertySheetEntry.java:373)
at com.cloveretl.gui.jface.ExtPropertySheetViewer$ValueEditingSupport.getCellEditor(ExtPropertySheetViewer.java:316)
at org.eclipse.jface.viewers.ColumnViewerEditor.activateCellEditor(ColumnViewerEditor.java:165)
at org.eclipse.jface.viewers.ColumnViewerEditor.handleEditorActivationEvent(ColumnViewerEditor.java:444)
at org.eclipse.jface.viewers.ColumnViewer.triggerEditorActivationEvent(ColumnViewer.java:680)
at org.eclipse.jface.viewers.ColumnViewer.handleMouseDown(ColumnViewer.java:664)
at org.eclipse.jface.viewers.ColumnViewer.access$0(ColumnViewer.java:660)
at org.eclipse.jface.viewers.ColumnViewer$1.mouseDown(ColumnViewer.java:89)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:179)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3493)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3112)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at com.cloveretl.gui.dialog.EditComponentDialog.open(EditComponentDialog.java:77)
at com.cloveretl.gui.actions.EditComponentAction.run(EditComponentAction.java:98)
at com.cloveretl.gui.graph.edit.ETLComponentEditPart.performRequest(ETLComponentEditPart.java:249)
at org.eclipse.gef.tools.SelectEditPartTracker.performOpen(SelectEditPartTracker.java:187)
at org.eclipse.gef.tools.SelectEditPartTracker.handleDoubleClick(SelectEditPartTracker.java:131)
at org.eclipse.gef.tools.AbstractTool.mouseDoubleClick(AbstractTool.java:955)
at org.eclipse.gef.tools.SelectionTool.mouseDoubleClick(SelectionTool.java:501)
at org.eclipse.gef.EditDomain.mouseDoubleClick(EditDomain.java:208)
at org.eclipse.gef.ui.parts.DomainEventDispatcher.dispatchMouseDoubleClicked(DomainEventDispatcher.java:285)
at org.eclipse.draw2d.LightweightSystem$EventHandler.mouseDoubleClick(LightweightSystem.java:508)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:183)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3493)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3112)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
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:194)
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:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
(0008539)
avackova (developer)
2010-07-21 10:23

When clicking the checkbox error message appears in the error log:
java.lang.NullPointerException
at org.eclipse.jface.viewers.ColumnViewerEditor.activateCellEditor(ColumnViewerEditor.java:211)
at org.eclipse.jface.viewers.ColumnViewerEditor.handleEditorActivationEvent(ColumnViewerEditor.java:444)
at org.eclipse.jface.viewers.ColumnViewer.triggerEditorActivationEvent(ColumnViewer.java:680)
at org.eclipse.jface.viewers.ColumnViewer.handleMouseDown(ColumnViewer.java:664)
at org.eclipse.jface.viewers.ColumnViewer.access$0(ColumnViewer.java:660)
at org.eclipse.jface.viewers.ColumnViewer$1.mouseDown(ColumnViewer.java:89)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:179)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3493)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3112)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at com.cloveretl.gui.dialog.EditComponentDialog.open(EditComponentDialog.java:77)
at com.cloveretl.gui.actions.EditComponentAction.run(EditComponentAction.java:98)
at com.cloveretl.gui.graph.edit.ETLComponentEditPart.performRequest(ETLComponentEditPart.java:249)
at org.eclipse.gef.tools.SelectEditPartTracker.performOpen(SelectEditPartTracker.java:187)
at org.eclipse.gef.tools.SelectEditPartTracker.handleDoubleClick(SelectEditPartTracker.java:131)
at org.eclipse.gef.tools.AbstractTool.mouseDoubleClick(AbstractTool.java:955)
at org.eclipse.gef.tools.SelectionTool.mouseDoubleClick(SelectionTool.java:501)
at org.eclipse.gef.EditDomain.mouseDoubleClick(EditDomain.java:208)
at org.eclipse.gef.ui.parts.DomainEventDispatcher.dispatchMouseDoubleClicked(DomainEventDispatcher.java:285)
at org.eclipse.draw2d.LightweightSystem$EventHandler.mouseDoubleClick(LightweightSystem.java:508)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:183)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3493)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3112)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
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:194)
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:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
(0008602)
kjurgowski (developer)
2010-07-26 14:04

The property viewer that is on the bottom of the screen does not work with checkboxes.

- Issue History
Date Modified Username Field Change
2010-07-14 17:12 pnajvar New Issue
2010-07-14 17:12 pnajvar Status new => assigned
2010-07-14 17:12 pnajvar Assigned To => kjurgowski
2010-07-14 17:12 pnajvar File Added: checkbox-request.png
2010-07-14 17:14 pnajvar File Deleted: checkbox-request.png
2010-07-14 17:14 pnajvar File Added: checkbox-request.png
2010-07-14 17:15 pnajvar Additional Information Updated View Revisions
2010-07-15 18:33 kjurgowski Note Added: 0008457
2010-07-15 18:33 kjurgowski Status assigned => resolved
2010-07-15 18:33 kjurgowski Resolution open => fixed
2010-07-16 10:40 avackova Note Added: 0008467
2010-07-16 10:40 avackova Status resolved => feedback
2010-07-16 10:40 avackova Resolution fixed => reopened
2010-07-16 10:41 avackova File Added: BooleanCombo.png
2010-07-16 10:41 avackova Relationship added parent of 0004559
2010-07-16 10:45 kjurgowski Note Added: 0008469
2010-07-16 14:38 avackova Note Added: 0008483
2010-07-20 18:16 kjurgowski Status feedback => resolved
2010-07-20 18:16 kjurgowski Resolution reopened => fixed
2010-07-21 10:23 avackova Note Added: 0008539
2010-07-21 10:23 avackova Status resolved => feedback
2010-07-21 10:23 avackova Resolution fixed => reopened
2010-07-26 14:04 kjurgowski Note Added: 0008602
2010-07-26 14:04 kjurgowski Status feedback => resolved
2010-07-26 14:04 kjurgowski Resolution reopened => fixed


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker