1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-09 17:25:38 +02:00

[cleanup] fix compiler warnings

This commit is contained in:
Kushal Munir 2006-12-05 01:20:55 +00:00
parent 74abb85c2b
commit 2af9a8635d
3 changed files with 23 additions and 20 deletions

View file

@ -53,7 +53,7 @@ public abstract class SystemBaseSubMenuAction
* @param label
* @param tooltip
* @param image The image to display for this action
* @param shell The owning shell. If you pass null now, be sure to call setShell later
* @param shell the parent shell. If you pass <code>null</code> now, be sure to call {@link #setShell(Shell)} later.
*
* @deprecated use fields from resource class directly now instead of via ResourceBundle
*/
@ -67,8 +67,8 @@ public abstract class SystemBaseSubMenuAction
/**
* Constructor for SystemBaseSubMenuAction when there is just a string
* @param label The label to display
* @param parent The owning shell. If you pass null now, be sure to call setShell later
* @param label the label to display.
* @param shell the parent shell. If you pass <code>null</code> now, be sure to call {@link #setShell(Shell)} later.
*/
protected SystemBaseSubMenuAction(String label, Shell shell)
{
@ -78,9 +78,9 @@ public abstract class SystemBaseSubMenuAction
}
/**
* Constructor for SystemBaseSubMenuAction when there is just a string
* @param label The label to display
* @param tooltip The tooltip to display
* @param parent The owning shell. If you pass null now, be sure to call setShell later
* @param label the label to display.
* @param tooltip the tooltip to display.
* @param shell the parent shell. If you pass <code>null</code> now, be sure to call {@link #setShell(Shell)} later.
*/
protected SystemBaseSubMenuAction(String label, String tooltip, Shell shell)
{
@ -90,8 +90,9 @@ public abstract class SystemBaseSubMenuAction
}
/**
* Constructor for SystemBaseSubMenuAction when there is just a string and image
* @param label The label to display
* @param parent The owning shell. If you pass null now, be sure to call setShell later
* @param label the label to display.
* @param image the image descriptor for the action.
* @param shell the parent shell. If you pass <code>null</code> now, be sure to call {@link #setShell(Shell)} later.
*/
protected SystemBaseSubMenuAction(String label, ImageDescriptor image, Shell shell)
{
@ -102,9 +103,10 @@ public abstract class SystemBaseSubMenuAction
/**
* Constructor for SystemBaseSubMenuAction when there is just a string and image
* @param label The label to display
* @param tooltip the tooltip to display
* @param parent The owning shell. If you pass null now, be sure to call setShell later
* @param label the label to display.
* @param tooltip the tooltip to display.
* @param image the image descriptor for the action.
* @param shell the parent shell. If you pass <code>null</code> now, be sure to call {@link #setShell(Shell)} later.
*/
protected SystemBaseSubMenuAction(String label, String tooltip, ImageDescriptor image, Shell shell)
{

View file

@ -30,6 +30,7 @@ import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Listener;
import org.eclipse.swt.widgets.Text;
import org.eclipse.ui.dialogs.PropertyPage;
@ -132,7 +133,7 @@ public abstract class SystemBasePropertyPage extends PropertyPage
/**
* For setting the default overall help for the dialog.
* This can be overridden per control by calling {@link #setHelp(Control, String)}.
* This can be overridden per control by calling {@link SystemWidgetHelpers#setHelp(Control, String)}
*/
public void setHelp(String helpId)
{
@ -241,7 +242,7 @@ public abstract class SystemBasePropertyPage extends PropertyPage
* <p>
* Subclasses should override to do full error checking on all the widgets on the page. Recommendation:<br>
* <ul>
* <li>If an error is detected, issue a {@link org.eclipse.rse.ui.messages.SystemMessage} via {@link #setErrorMessage(SystemMessage)} or text message via {@link #setErrorMessage(String)}.
* <li>If an error is detected, issue a {@link SystemMessage} via {@link #setErrorMessage(SystemMessage)} or text message via {@link #setErrorMessage(String)}.
* <li>If no errors detected, clear the message line via {@link #clearErrorMessage()}
* </ul>
*
@ -362,7 +363,7 @@ public abstract class SystemBasePropertyPage extends PropertyPage
/**
* Create a labeled label, where the label on the right grabs excess space and has an indent so it
* isn't smashed up against the prompt on the left.
* @see SystemWidgetHelpers#createLabeledLabel(Composite, ResourceBundle, String, boolean)
* @see SystemWidgetHelpers#createLabeledLabel(Composite, String, String, boolean)
* @see #grabExcessSpace(Control)
*/
protected Label createLabeledLabel(Composite c, String label, String tooltip)
@ -379,7 +380,7 @@ public abstract class SystemBasePropertyPage extends PropertyPage
/**
* Create a labeled combo, where the combo on the right grabs excess space and has an indent so it
* isn't smashed up against the prompt on the left.
* @see SystemWidgetHelpers#createLabeledCombo(Composite, Listener, ResourceBundle, String)
* @see SystemWidgetHelpers#createLabeledCombo(Composite, Listener, String, String)
* @see #grabExcessSpace(Control)
*/
protected Combo createLabeledCombo(Composite c, String label, String tooltip)
@ -396,7 +397,7 @@ public abstract class SystemBasePropertyPage extends PropertyPage
/**
* Create a labeled entry field, where the field on the right grabs excess space and has an indent so it
* isn't smashed up against the prompt on the left.
* @see SystemWidgetHelpers#createLabeledTextField(Composite, Listener, ResourceBundle, String)
* @see SystemWidgetHelpers#createLabeledTextField(Composite, Listener, String, String)
* @see #grabExcessSpace(Control)
*/
protected Text createLabeledText(Composite c, String label, String tooltip)
@ -413,7 +414,7 @@ public abstract class SystemBasePropertyPage extends PropertyPage
/**
* Create a labeled verbage field, where the field on the right grabs excess space and has an indent so it
* isn't smashed up against the prompt on the left.
* @see SystemWidgetHelpers#createLabeledTextField(Composite, Listener, ResourceBundle, String)
* @see SystemWidgetHelpers#createLabeledTextField(Composite, Listener, String, String)
* @see #grabExcessSpace(Control)
*/
protected Label createLabeledVerbage(Composite c, String label, String tooltip)

View file

@ -26,9 +26,9 @@ public interface ISystemViewDropDestination
{
/**
* ask source adapter if it supports drop of its type on this target
* @param resource (type) in question
* @return true if copy/move/drop is supported
* Asks source adapter whether it supports dropping it on the given target.
* @param target the target to drop to.
* @return <code>true</code> if the drop destination is supported, <code>false</code> otherwise.
*/
public boolean supportDropDestination(Object target);
}