diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/AbstractExportTab.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/AbstractExportTab.java index 937b0d40515..ba1c59593a9 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/AbstractExportTab.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/AbstractExportTab.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2007, 2008 Intel Corporation and others. + * Copyright (c) 2007, 2009 Intel Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -7,6 +7,7 @@ * * Contributors: * Intel Corporation - initial API and implementation + * James Blackburn (Broadcom Corp.) *******************************************************************************/ package org.eclipse.cdt.ui.newui; @@ -168,8 +169,8 @@ public abstract class AbstractExportTab extends AbstractCPropertyTab { public abstract boolean hasValues(); /** - * Called when item added/edited/removed. - * Refreshes whole table contwnts + * Called when item added/edited/removed or Tab is changed. + * Refreshes whole table contents */ protected void update() { int x = table.getSelectionIndex(); @@ -262,7 +263,7 @@ public abstract class AbstractExportTab extends AbstractCPropertyTab { getKind(), names_ls, names_ts, null, isWsp); if (dlg.open()) { ent[0] = doEdit(dlg.text1.trim(), dlg.text2.trim(), dlg.check2); - ICSettingEntry[] ls = old.setting.getEntries(getKind()); + ICSettingEntry[] ls = old.setting.getEntries(); ICSettingEntry[] ls2 = new ICLanguageSettingEntry[ls.length]; for (int x=0; x