| author | Ingo Weigelt | 2012-03-28 07:59:28 (EDT) |
|---|---|---|
| committer | Michael Jastram | 2012-04-05 06:42:21 (EDT) |
| commit | 4fff8ee6912914d319e874cade58b8d4f4865080 (patch) (side-by-side diff) | |
| tree | 0ce07662209d57c8db7c343418ccc764cb3216c0 | |
| parent | 8a4eebaadd4d748398228b45e83a63eabbc5ae62 (diff) | |
| download | org.eclipse.rmf-4fff8ee6912914d319e874cade58b8d4f4865080.zip org.eclipse.rmf-4fff8ee6912914d319e874cade58b8d4f4865080.tar.gz org.eclipse.rmf-4fff8ee6912914d319e874cade58b8d4f4865080.tar.bz2 | |
fixed Bug 375502 - Deleting a SpecHierarchy deletes description of all
copies
| -rw-r--r-- | org.eclipse.rmf.pror.reqif10.editor/src/org/eclipse/rmf/pror/reqif10/editor/agilegrid/ProrCellEditor.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/org.eclipse.rmf.pror.reqif10.editor/src/org/eclipse/rmf/pror/reqif10/editor/agilegrid/ProrCellEditor.java b/org.eclipse.rmf.pror.reqif10.editor/src/org/eclipse/rmf/pror/reqif10/editor/agilegrid/ProrCellEditor.java index e15dd7b..47a26b5 100644 --- a/org.eclipse.rmf.pror.reqif10.editor/src/org/eclipse/rmf/pror/reqif10/editor/agilegrid/ProrCellEditor.java +++ b/org.eclipse.rmf.pror.reqif10.editor/src/org/eclipse/rmf/pror/reqif10/editor/agilegrid/ProrCellEditor.java @@ -142,13 +142,17 @@ public abstract class ProrCellEditor extends TextCellEditor { KeyEvent keyEvent = (KeyEvent) activationEvent.sourceEvent;
if (isValidCellEditorCharacter(keyEvent) && keyEvent.character != SWT.DEL) {
text.setText("" + keyEvent.character);
- // this.fireApplyEditorValue();
+ //this.fireApplyEditorValue();
super.activate(activationEvent);
text.setSelection(1, 1);
return;
}
+ if (keyEvent.character != SWT.DEL){
+ super.activate(activationEvent);
+ }
+ }else{
+ super.activate(activationEvent);
}
- super.activate(activationEvent);
}
/**
|

