Questions tagged [ccombo]

The CCombo class is part of Eclipse Platform API and it represents a selectable user interface object that combines a text field and a list and issues notification when an item is selected from the list.

6 questions
1
vote
1 answer

Text selection in CCombo

When a user selects an item in a CCombo (or CCombo gains focus), the text in the field becomes selected. How can I programmatically remove this selection and set the cursor position at the end of the text?
Joel
  • 473
  • 2
  • 7
  • 22
1
vote
1 answer

using an if statement inside button

I am currently stuck on a bit of program, I'm sure there is a way to do it but just can't think of it, so here it goes. so I am using eclipse window viewer and I made a GUI to how I want and I got a Ccombo with a few options to select from, and what…
Andrew D
  • 11
  • 4
1
vote
1 answer

Removing duplicate items from the CCombo

I have one "CCombo" box and one List. i want all the items of List gets loaded into it when user clicks on its dropdown. but the problem is that if user clicks many times on the drop down then items gets added into it again and again. And while…
User_86
  • 265
  • 1
  • 4
  • 13
0
votes
1 answer

How to find the event type from the swt.SelectionListener?

I have a scenario like in a CCombo box if we select the list option using UP and Down arrow keys then it should select the value and still in editing mode for confirmation until we click enter(This is acceptable for user). Where if we select the…
mahesh bhagirath
  • 151
  • 1
  • 1
  • 11
0
votes
1 answer

How to display CCombo combo box inside SWT Table

I am not able to populate a CCombo box inside a SWT Table. When a new TableItem is added, it should get added with CCombo in the first column. Please find the code below. Thanks in advance! GridData rightTableData = new…
Kutty
  • 712
  • 1
  • 5
  • 22
0
votes
2 answers

Want to select multiple item in Ccombo box In Tree Editor in SWT

In a Tree Viewer, I have five Columns and in this columns except first I am using CCombo Box with the help of tree editor. Now in CCombo box I need to select all items. How is it possible? Please find the below code implementation of CCombo box in…
Biswabir
  • 19
  • 8