mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-23 08:13:50 +02:00
[cleanup] compiler warnings
This commit is contained in:
parent
b174869998
commit
c84a668768
6 changed files with 15 additions and 18 deletions
|
@ -81,10 +81,8 @@ public class LocalSearchHandler implements ISearchHandler
|
||||||
/**
|
/**
|
||||||
* Constructor for local search handler.
|
* Constructor for local search handler.
|
||||||
*
|
*
|
||||||
* @param shell
|
* @param searchConfig a search configuration.
|
||||||
* a shell.
|
* @param fileService the file service to search.
|
||||||
* @param searchConfig
|
|
||||||
* a search configuration.
|
|
||||||
*/
|
*/
|
||||||
public LocalSearchHandler(IHostSearchResultConfiguration searchConfig, IFileService fileService)
|
public LocalSearchHandler(IHostSearchResultConfiguration searchConfig, IFileService fileService)
|
||||||
{
|
{
|
||||||
|
|
|
@ -739,8 +739,7 @@ public class SystemWidgetHelpers {
|
||||||
* Assign the listener to the passed in implementer of Listener.
|
* Assign the listener to the passed in implementer of Listener.
|
||||||
* @param group composite to put the button into.
|
* @param group composite to put the button into.
|
||||||
* @param listener object to listen for events. Can be null.
|
* @param listener object to listen for events. Can be null.
|
||||||
* @param bundle ResourceBundle of tooltip text
|
* @param tooltip the tooltip text
|
||||||
* @param id bundle key for tooltip text
|
|
||||||
* @deprecated
|
* @deprecated
|
||||||
*/
|
*/
|
||||||
public static Button createBrowseButton(Composite group, Listener listener, String tooltip) {
|
public static Button createBrowseButton(Composite group, Listener listener, String tooltip) {
|
||||||
|
|
|
@ -36,18 +36,18 @@ import org.eclipse.swt.widgets.Shell;
|
||||||
* The advantages to using this class over the base action class are:
|
* The advantages to using this class over the base action class are:
|
||||||
* <ul>
|
* <ul>
|
||||||
* <li>Supports setting the label, description, image and tooltip text for this action, via constructors.
|
* <li>Supports setting the label, description, image and tooltip text for this action, via constructors.
|
||||||
* <li>Sets {@link org.eclipse.rse.ui.SystemBaseAction#allowOnMultipleSelection(boolean)} to false, since most wizard actions are not permitted on multiple selection.
|
* <li>Sets {@link org.eclipse.rse.ui.actions.SystemBaseAction#allowOnMultipleSelection(boolean)} to false, since most wizard actions are not permitted on multiple selection.
|
||||||
* <li>Supports setting whether the wizard requires a {@link org.eclipse.rse.ui.actions.SystemBaseDialogAction#setNeedsProgressMonitor() progress-monitor} or not, which is propogated to the wizard.
|
* <li>Supports setting whether the wizard requires a {@link org.eclipse.rse.ui.actions.SystemBaseDialogAction#setNeedsProgressMonitor(boolean) progress-monitor} or not, which is propogated to the wizard.
|
||||||
* <li>Supports setting the overall wizard {@link #setWizardTitle(String) title}, which is propogated to the wizard.
|
* <li>Supports setting the overall wizard {@link #setWizardTitle(String) title}, which is propogated to the wizard.
|
||||||
* <li>Supports setting the overall wizard {@link #setWizardImage(ImageDescriptor) image}, which is propogated to the wizard.
|
* <li>Supports setting the overall wizard {@link #setWizardImage(ImageDescriptor) image}, which is propogated to the wizard.
|
||||||
* <li>Supports setting the default wizard {@link #setWizardPageTitle(String) page-title}, which is propogated to the wizard and the wizard pages.
|
* <li>Supports setting the default wizard {@link #setWizardPageTitle(String) page-title}, which is propogated to the wizard and the wizard pages.
|
||||||
* <li>Supports setting the wizard;s default {@link #setHelp(String) contextual-help}, which is propogated to the wizard and the wizard pages.
|
* <li>Supports setting the wizard;s default {@link #setHelp(String) contextual-help}, which is propogated to the wizard and the wizard pages.
|
||||||
* <li>Supports setting the wizard's {@link #setMinimumPageSize(int,int) minimum-size}, which is propogated and applied to the wizard.
|
* <li>Supports setting the wizard's {@link #setMinimumPageSize(int,int) minimum-size}, which is propogated and applied to the wizard.
|
||||||
* <li>Supports setting an {@link org.eclipse.rse.ui.SystemBaseAction#setInputObject(Object) input-object}, which is propogated to the wizard and wizard pages. By default, this
|
* <li>Supports setting an {@link org.eclipse.rse.ui.actions.SystemBaseAction#setInputObject(Object) input-object}, which is propogated to the wizard and wizard pages. By default, this
|
||||||
* is set the current StructuredSelection.
|
* is set the current StructuredSelection.
|
||||||
* <li>Supports querying a {@link org.eclipse.rse.ui.SystemBaseAction#getOutputObject() output-object} which is set by the wizard class.
|
* <li>Supports querying a {@link org.eclipse.rse.ui.actions.SystemBaseAction#getOutputObject() output-object} which is set by the wizard class.
|
||||||
* <li>Supports a {@link #wasCancelled()} method so the caller can easily determine if the wizard was dismissed or cancelled by the user.
|
* <li>Supports a {@link #wasCancelled()} method so the caller can easily determine if the wizard was dismissed or cancelled by the user.
|
||||||
* <li>Supports propogation of the {@link org.eclipse.rse.ui.SystemBaseAction#getViewer() current-viewer}.
|
* <li>Supports propogation of the {@link org.eclipse.rse.ui.actions.SystemBaseAction#getViewer() current-viewer}.
|
||||||
* </ul>
|
* </ul>
|
||||||
*
|
*
|
||||||
* <p>To use this class:</p>
|
* <p>To use this class:</p>
|
||||||
|
|
|
@ -43,7 +43,7 @@ public class SystemChangePasswordDialog extends SystemPromptDialog
|
||||||
{
|
{
|
||||||
private String _hostname;
|
private String _hostname;
|
||||||
private String _user;
|
private String _user;
|
||||||
private String _oldPassword = ""; // $NON_NLS-1$
|
private String _oldPassword = ""; //$NON-NLS-1$
|
||||||
private String _newPassword = ""; //$NON-NLS-1$
|
private String _newPassword = ""; //$NON-NLS-1$
|
||||||
|
|
||||||
private Text _txtOldPassword;
|
private Text _txtOldPassword;
|
||||||
|
|
|
@ -120,14 +120,14 @@ public class SystemRenameTableProvider implements ITableLabelProvider, IStructur
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see IBaseLabelProvider#addListener(org.eclipse.jface.viewers.ILabelProviderListener)
|
* @see org.eclipse.jface.viewers.IBaseLabelProvider#addListener(org.eclipse.jface.viewers.ILabelProviderListener)
|
||||||
*/
|
*/
|
||||||
public void addListener(ILabelProviderListener listener)
|
public void addListener(ILabelProviderListener listener)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see IBaseLabelProvider#dispose()
|
* @see org.eclipse.jface.viewers.IBaseLabelProvider#dispose()
|
||||||
*/
|
*/
|
||||||
public void dispose()
|
public void dispose()
|
||||||
{
|
{
|
||||||
|
@ -147,7 +147,7 @@ public class SystemRenameTableProvider implements ITableLabelProvider, IStructur
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see IBaseLabelProvider#isLabelProperty(java.lang.Object, java.lang.String)
|
* @see org.eclipse.jface.viewers.IBaseLabelProvider#isLabelProperty(java.lang.Object, java.lang.String)
|
||||||
*/
|
*/
|
||||||
public boolean isLabelProperty(Object element, String property)
|
public boolean isLabelProperty(Object element, String property)
|
||||||
{
|
{
|
||||||
|
@ -155,7 +155,7 @@ public class SystemRenameTableProvider implements ITableLabelProvider, IStructur
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see IBaseLabelProvider#removeListener(org.eclipse.jface.viewers.ILabelProviderListener)
|
* @see org.eclipse.jface.viewers.IBaseLabelProvider#removeListener(org.eclipse.jface.viewers.ILabelProviderListener)
|
||||||
*/
|
*/
|
||||||
public void removeListener(ILabelProviderListener listener)
|
public void removeListener(ILabelProviderListener listener)
|
||||||
{
|
{
|
||||||
|
|
|
@ -186,7 +186,7 @@ public class SystemSelectFileTypesDialog
|
||||||
* will appear on the screen.
|
* will appear on the screen.
|
||||||
* </p>
|
* </p>
|
||||||
*
|
*
|
||||||
* @param parent the parent composite
|
* @param composite the parent composite
|
||||||
* @return the message label
|
* @return the message label
|
||||||
*/
|
*/
|
||||||
protected Label createInstructionArea(Composite composite)
|
protected Label createInstructionArea(Composite composite)
|
||||||
|
@ -384,7 +384,7 @@ public class SystemSelectFileTypesDialog
|
||||||
* Set the selections made by the user, or <code>null</code> if
|
* Set the selections made by the user, or <code>null</code> if
|
||||||
* the selection was canceled.
|
* the selection was canceled.
|
||||||
*
|
*
|
||||||
* @param the list of selected elements, or <code>null</code> if Cancel was
|
* @param newResult list of selected elements, or <code>null</code> if Cancel was
|
||||||
* pressed
|
* pressed
|
||||||
*/
|
*/
|
||||||
protected void setResult(java.util.List newResult)
|
protected void setResult(java.util.List newResult)
|
||||||
|
|
Loading…
Add table
Reference in a new issue