NLSSubstitution s= (NLSSubstitution)widgetSel.get(0); Integer value= (Integer)getCellModifier().getValue(s, PROPERTIES[STATE_PROP]);
NLSSubstitution substitution= (NLSSubstitution)widgetSel.get(0); Integer value= (Integer)getCellModifier().getValue(substitution, PROPERTIES[STATE_PROP]);
				protected void hookControl(Control control) {					super.hookControl(control);					((Table) control).addMouseListener(new MouseAdapter() {						public void mouseDoubleClick(MouseEvent e) {							if (getTable().getSelection().length == 0)								return;							TableItem item= getTable().getSelection()[0];							if (item.getBounds(STATE_PROP).contains(e.x, e.y)){								List widgetSel= getSelectionFromWidget();								if (widgetSel == null || widgetSel.size() != 1)									return;								NLSSubstitution s= (NLSSubstitution)widgetSel.get(0);								Integer value= (Integer)getCellModifier().getValue(s, PROPERTIES[STATE_PROP]);								int newValue= MultiStateCellEditor.getNextValue(NLSSubstitution.STATE_COUNT, value.intValue());								getCellModifier().modify(item, PROPERTIES[STATE_PROP], new Integer(newValue));							}							}					});				}