Enhancement #4901

Support for defining editing column(s) for modeled SWTExplorer views

Added by Tuukka Lehtonen almost 4 years ago. Updated over 3 years ago.

Status:ClosedStart date:2014-05-05
Priority:4Due date:2014-06-13
Assignee:Tuukka Lehtonen% Done:


Category:Modelled SWTSpent time:1.00 hour
Target version:1.13.3
Release notes:
Story pointsS
Velocity based estimate-
ReleaseSimantics 1.13.3Release relationshipAuto


Currently org.simantics.views.ontology does not make it possible to define which column(s) the created SWTExplorer will try to edit when user presses a shortcut that usually starts inline editing if possible (F2).

We need to add this to the ontology:

  >-- Views.Explorer.editingColumns ==> "[ColumnBean]" <R SG.Node.HasProperty : L0.FunctionalRelation

and a corresponding field / synchronization method to SWTExplorer.

At the same time the default selection view defined in org.simantics.selectionview.ui.ontology should define its SWTExplorer using this new editingColumns property to allow users to start inline editing with F2.

Associated revisions

Revision 29530
Added by Tuukka Lehtonen almost 4 years ago

New property for modelled SWT widget SWTExplorer: editingColumns.
It can be used for defining which column the SWTExplorer tries to start editing if user presses the inline editing shortcut (F2).

SelectionViewUi.pgraph uses it to define the HasDisplayValue column as the editing column.

refs #4901


#1 Updated by Tuukka Lehtonen almost 4 years ago

  • Tracker changed from Bug to Enhancement

#2 Updated by Tuukka Lehtonen almost 4 years ago

  • Description updated (diff)
  • Category set to Modelled SWT
  • Status changed from New to In Progress
  • Assignee set to Tuukka Lehtonen

#3 Updated by Tuukka Lehtonen almost 4 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

#4 Updated by Tuukka Lehtonen over 3 years ago

  • Due date set to 2014-06-13
  • Status changed from Resolved to Closed
  • Start date set to 2014-05-05
  • Release changed from 15 to 18

Also available in: Atom PDF