1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-03 23:25:26 +02:00

[cleanup] compiler warnings

This commit is contained in:
Martin Oberhuber 2007-01-30 18:18:44 +00:00
parent b174869998
commit c84a668768
6 changed files with 15 additions and 18 deletions

View file

@ -81,10 +81,8 @@ public class LocalSearchHandler implements ISearchHandler
/**
* Constructor for local search handler.
*
* @param shell
* a shell.
* @param searchConfig
* a search configuration.
* @param searchConfig a search configuration.
* @param fileService the file service to search.
*/
public LocalSearchHandler(IHostSearchResultConfiguration searchConfig, IFileService fileService)
{

View file

@ -739,8 +739,7 @@ public class SystemWidgetHelpers {
* Assign the listener to the passed in implementer of Listener.
* @param group composite to put the button into.
* @param listener object to listen for events. Can be null.
* @param bundle ResourceBundle of tooltip text
* @param id bundle key for tooltip text
* @param tooltip the tooltip text
* @deprecated
*/
public static Button createBrowseButton(Composite group, Listener listener, String tooltip) {

View file

@ -36,18 +36,18 @@ import org.eclipse.swt.widgets.Shell;
* The advantages to using this class over the base action class are:
* <ul>
* <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>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>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(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 #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 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 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.
* <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 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>
*
* <p>To use this class:</p>

View file

@ -43,7 +43,7 @@ public class SystemChangePasswordDialog extends SystemPromptDialog
{
private String _hostname;
private String _user;
private String _oldPassword = ""; // $NON_NLS-1$
private String _oldPassword = ""; //$NON-NLS-1$
private String _newPassword = ""; //$NON-NLS-1$
private Text _txtOldPassword;

View file

@ -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)
{
}
/**
* @see IBaseLabelProvider#dispose()
* @see org.eclipse.jface.viewers.IBaseLabelProvider#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)
{
@ -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)
{

View file

@ -186,7 +186,7 @@ public class SystemSelectFileTypesDialog
* will appear on the screen.
* </p>
*
* @param parent the parent composite
* @param composite the parent composite
* @return the message label
*/
protected Label createInstructionArea(Composite composite)
@ -384,7 +384,7 @@ public class SystemSelectFileTypesDialog
* Set the selections made by the user, or <code>null</code> if
* 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
*/
protected void setResult(java.util.List newResult)