diff options
author | Silenio Quarti <silenio> | 2004-02-28 10:52:16 +0000 |
---|---|---|
committer | Silenio Quarti <silenio> | 2004-02-28 10:52:16 +0000 |
commit | 727e2fa329fcf897e006ca1dc484f8800b1b70cd (patch) | |
tree | d3aaf90195c723601ad48b051a3b902e2276662c /bundles | |
parent | 189d9822cdbe3bf15bffa0a34f6c864a31feeac1 (diff) | |
download | eclipse.platform.swt-727e2fa329fcf897e006ca1dc484f8800b1b70cd.tar.gz eclipse.platform.swt-727e2fa329fcf897e006ca1dc484f8800b1b70cd.tar.xz eclipse.platform.swt-727e2fa329fcf897e006ca1dc484f8800b1b70cd.zip |
*** empty log message ***
Diffstat (limited to 'bundles')
-rw-r--r-- | bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIGeneratorAppUI.java | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIGeneratorAppUI.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIGeneratorAppUI.java index 6871514205..17cecf32e5 100644 --- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIGeneratorAppUI.java +++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIGeneratorAppUI.java @@ -696,13 +696,13 @@ void updateClasses() { void updateMembers() { membersLt.removeAll(); MetaData metaData = app.getMetaData(); + membersLt.setHeaderVisible(false); TableColumn[] columns = membersLt.getColumns(); for (int i = 0; i < columns.length; i++) { TableColumn column = columns[i]; column.dispose(); } int[] indices = classesLt.getSelectionIndices(); - membersLt.setHeaderVisible(false); if (indices.length != 1) return; TableItem classItem = classesLt.getItem(indices[0]); ClassData classData = (ClassData)classItem.getData();; @@ -786,9 +786,12 @@ void updateMembers() { void updateParameters() { paramsLt.removeAll(); MetaData metaData = app.getMetaData(); - paramsLt.setHeaderVisible(false); int[] indices = membersLt.getSelectionIndices(); - if (indices.length != 1) return; + if (indices.length != 1) { + paramsLt.setHeaderVisible(false); + return; + } + paramsLt.setRedraw(false); TableItem memberItem = membersLt.getItem(indices[0]); Object data = memberItem.getData(); if (!(data instanceof MethodData)) return; @@ -810,6 +813,7 @@ void updateParameters() { TableColumn column = columns[i]; column.pack(); } + paramsLt.setRedraw(true); paramsLt.setHeaderVisible(true); } |