mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-30 21:55:31 +02:00
removed unused variable
This commit is contained in:
parent
701ca1a50c
commit
927436127c
4 changed files with 18 additions and 18 deletions
|
@ -10,7 +10,6 @@
|
|||
*******************************************************************************/
|
||||
package org.eclipse.cdt.ui.newui;
|
||||
|
||||
import org.eclipse.cdt.core.resources.IPathEntryStore;
|
||||
import org.eclipse.cdt.core.resources.IPathEntryStoreListener;
|
||||
import org.eclipse.cdt.core.resources.PathEntryStoreChangedEvent;
|
||||
import org.eclipse.cdt.core.settings.model.CLibraryPathEntry;
|
||||
|
@ -21,7 +20,6 @@ import org.eclipse.cdt.core.settings.model.ICSettingEntry;
|
|||
* @noextend This class is not intended to be subclassed by clients.
|
||||
*/
|
||||
public class ExpLibraryPathTab extends AbstractExportTab implements IPathEntryStoreListener {
|
||||
IPathEntryStore fStore;
|
||||
|
||||
public void pathEntryStoreChanged(PathEntryStoreChangedEvent event) {
|
||||
updateData(getResDesc());
|
||||
|
@ -37,9 +35,14 @@ public class ExpLibraryPathTab extends AbstractExportTab implements IPathEntrySt
|
|||
public ICLanguageSettingEntry doEdit(String s1, String s2, boolean isWsp) {
|
||||
return doAdd(s1, s2, isWsp);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public int getKind() { return ICSettingEntry.LIBRARY_PATH; }
|
||||
public int getKind() {
|
||||
return ICSettingEntry.LIBRARY_PATH;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasValues() { return false; }
|
||||
public boolean hasValues() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
*******************************************************************************/
|
||||
package org.eclipse.cdt.ui.newui;
|
||||
|
||||
import org.eclipse.cdt.core.resources.IPathEntryStore;
|
||||
import org.eclipse.cdt.core.resources.IPathEntryStoreListener;
|
||||
import org.eclipse.cdt.core.resources.PathEntryStoreChangedEvent;
|
||||
import org.eclipse.cdt.core.settings.model.CLibraryFileEntry;
|
||||
|
@ -21,7 +20,6 @@ import org.eclipse.cdt.core.settings.model.ICSettingEntry;
|
|||
* @noextend This class is not intended to be subclassed by clients.
|
||||
*/
|
||||
public class ExpLibraryTab extends AbstractExportTab implements IPathEntryStoreListener {
|
||||
IPathEntryStore fStore;
|
||||
|
||||
public void pathEntryStoreChanged(PathEntryStoreChangedEvent event) {
|
||||
updateData(getResDesc());
|
||||
|
@ -39,9 +37,14 @@ public class ExpLibraryTab extends AbstractExportTab implements IPathEntryStoreL
|
|||
}
|
||||
|
||||
@Override
|
||||
public int getKind() { return ICSettingEntry.LIBRARY_FILE; }
|
||||
public int getKind() {
|
||||
return ICSettingEntry.LIBRARY_FILE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasValues() { return false; }
|
||||
public boolean hasValues() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -15,7 +15,6 @@ import org.eclipse.swt.SWT;
|
|||
import org.eclipse.swt.widgets.Composite;
|
||||
import org.eclipse.swt.widgets.TableColumn;
|
||||
|
||||
import org.eclipse.cdt.core.resources.IPathEntryStore;
|
||||
import org.eclipse.cdt.core.resources.IPathEntryStoreListener;
|
||||
import org.eclipse.cdt.core.resources.PathEntryStoreChangedEvent;
|
||||
import org.eclipse.cdt.core.settings.model.CLibraryPathEntry;
|
||||
|
@ -28,18 +27,17 @@ import org.eclipse.cdt.internal.ui.newui.Messages;
|
|||
* @noextend This class is not intended to be subclassed by clients.
|
||||
*/
|
||||
public class LibraryPathTab extends AbstractLangsListTab implements IPathEntryStoreListener {
|
||||
IPathEntryStore fStore;
|
||||
private static final int[] PRIVATE_SASH_WEIGHTS = new int[] { 0, 30 };
|
||||
|
||||
@Override
|
||||
public void additionalTableSet() {
|
||||
columnToFit = new TableColumn(table, SWT.NONE);
|
||||
columnToFit = new TableColumn(table, SWT.NONE);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void createControls(Composite parent) {
|
||||
super.createControls(parent);
|
||||
sashForm.setWeights(PRIVATE_SASH_WEIGHTS);
|
||||
sashForm.setWeights(PRIVATE_SASH_WEIGHTS);
|
||||
langTree.setVisible(false);
|
||||
}
|
||||
|
||||
|
|
|
@ -14,7 +14,6 @@ import org.eclipse.swt.SWT;
|
|||
import org.eclipse.swt.widgets.Composite;
|
||||
import org.eclipse.swt.widgets.TableColumn;
|
||||
|
||||
import org.eclipse.cdt.core.resources.IPathEntryStore;
|
||||
import org.eclipse.cdt.core.resources.IPathEntryStoreListener;
|
||||
import org.eclipse.cdt.core.resources.PathEntryStoreChangedEvent;
|
||||
import org.eclipse.cdt.core.settings.model.CLibraryFileEntry;
|
||||
|
@ -27,7 +26,6 @@ import org.eclipse.cdt.internal.ui.newui.Messages;
|
|||
* @noextend This class is not intended to be subclassed by clients.
|
||||
*/
|
||||
public class LibraryTab extends AbstractLangsListTab implements IPathEntryStoreListener {
|
||||
IPathEntryStore fStore;
|
||||
private static final int[] PRIVATE_SASH_WEIGHTS = new int[] { 0, 30 };
|
||||
|
||||
@Override
|
||||
|
@ -38,7 +36,7 @@ public class LibraryTab extends AbstractLangsListTab implements IPathEntryStoreL
|
|||
@Override
|
||||
public void createControls(Composite parent) {
|
||||
super.createControls(parent);
|
||||
sashForm.setWeights(PRIVATE_SASH_WEIGHTS);
|
||||
sashForm.setWeights(PRIVATE_SASH_WEIGHTS);
|
||||
langTree.setVisible(false);
|
||||
}
|
||||
|
||||
|
@ -87,5 +85,3 @@ public class LibraryTab extends AbstractLangsListTab implements IPathEntryStoreL
|
|||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue