| Summary: | [widget] create a datetime picker widget for EDate types | ||
|---|---|---|---|
| Product: | [Modeling] EEF | Reporter: | Bouchet Stéphane <sbouchet> |
| Component: | General | Assignee: | EEF Inbox <emft.eef-inbox> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | goulwen.lefur, stephane.begaudeau |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
The Eclipse EEF team has worked over the past few months on a brand new runtime using a reflective approach which can be used more easily with Eclipse Sirius. Since we do not plan to continue to work on the old runtime and its code generation approach, I will close this issue for now. If you want to contribute, you can reopen this issue and submit a contribution to the project thanks to our Gerrit: https://git.eclipse.org/r/#/admin/projects/eef/org.eclipse.eef |
hi, a simple widget could be created for date time datatypes, that should handle date times more friendly. example : new ExtendedDialogCellEditor(composite, getEditLabelProvider()) { protected Object openDialogBox(Control cellEditorWindow) { final DateTime dateTime[] = new DateTime[1]; final Date[] date = new Date[1]; Dialog d = new Dialog(cellEditorWindow.getShell()) { protected Control createDialogArea(Composite parent) { Composite dialogArea = (Composite)super.createDialogArea(parent); dateTime[0] = new DateTime(dialogArea, SWT.CALENDAR); dateTime[0].addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { Date dateValue = new Date(); dateValue.setYear(dateTime[0].getYear()); dateValue.setMonth(dateTime[0].getMonth()); dateValue.setDate(dateTime[0].getDay()); date[0] = dateValue; } }); return dialogArea; } }; d.setBlockOnOpen(true); d.open(); };