title: How to create user input field in Eclipse plugin using Eclipse Nebula Grid?
body: <p>I am simply trying to create a Grid plugin that can have each cell be edited by a user. I found Eclipse Nebula and it seems pretty close to what I want to do except I can't figure out a way to make the cells editable. So far I have something simple like this:</p>
  
  <pre><code>public class SampleView2 extends ViewPart {
    public SampleView2() {
    }
    public void createPartControl(Composite parent) {
  
        // create Grid
        Grid grid = new Grid(parent,SWT.BORDER | SWT.V_SCROLL | SWT.H_SCROLL);
        grid.setHeaderVisible(true);
  
        // create column
        GridColumn col = new GridColumn(grid, 0);
        col.setText("First Column");
        col.setWidth(140);      
  
        // write text in row
        GridItem item = new GridItem(grid, 0);
        item.setText("This is my first cell"); // &lt;--- I want the user to be able to edit this
    }
  </code></pre>
  
  <p>This code produces this:</p>
  
  <p><a href="https://i.stack.imgur.com/km1gO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/km1gO.png" alt="enter image description here"></a></p>
  
  <p>As you can see, I can manually set the text in the cell but I want the user to be able to edit it. </p>