1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 06:02:11 +02:00

[268230] - [view model] Mark view model API as provisional.

This commit is contained in:
Pawel Piech 2009-03-11 21:40:58 +00:00
parent 03986e7dde
commit fc1da4e112
48 changed files with 15 additions and 80 deletions

View file

@ -28,20 +28,20 @@ Export-Package: org.eclipse.cdt.dsf.debug.internal.ui.viewmodel.update.provision
org.eclipse.cdt.dsf.debug.ui.contexts, org.eclipse.cdt.dsf.debug.ui.contexts,
org.eclipse.cdt.dsf.debug.ui.memory, org.eclipse.cdt.dsf.debug.ui.memory,
org.eclipse.cdt.dsf.debug.ui.sourcelookup, org.eclipse.cdt.dsf.debug.ui.sourcelookup,
org.eclipse.cdt.dsf.debug.ui.viewmodel, org.eclipse.cdt.dsf.debug.ui.viewmodel;x-friends:="org.eclipse.cdt.dsf.gdb.ui,org.eclipse.cdt.examples.dsf,org.eclipse.cdt.examples.dsf.pda.ui",
org.eclipse.cdt.dsf.debug.ui.viewmodel.actions, org.eclipse.cdt.dsf.debug.ui.viewmodel.actions;x-friends:="org.eclipse.cdt.dsf.gdb.ui,org.eclipse.cdt.examples.dsf,org.eclipse.cdt.examples.dsf.pda.ui",
org.eclipse.cdt.dsf.debug.ui.viewmodel.expression;x-internal:=true, org.eclipse.cdt.dsf.debug.ui.viewmodel.expression;x-friends:="org.eclipse.cdt.dsf.gdb.ui,org.eclipse.cdt.examples.dsf,org.eclipse.cdt.examples.dsf.pda.ui",
org.eclipse.cdt.dsf.debug.ui.viewmodel.launch;x-internal:=true, org.eclipse.cdt.dsf.debug.ui.viewmodel.launch;x-friends:="org.eclipse.cdt.dsf.gdb.ui,org.eclipse.cdt.examples.dsf,org.eclipse.cdt.examples.dsf.pda.ui",
org.eclipse.cdt.dsf.debug.ui.viewmodel.launch.actions, org.eclipse.cdt.dsf.debug.ui.viewmodel.launch.actions;x-friends:="org.eclipse.cdt.dsf.gdb.ui,org.eclipse.cdt.examples.dsf,org.eclipse.cdt.examples.dsf.pda.ui",
org.eclipse.cdt.dsf.debug.ui.viewmodel.modules;x-internal:=true, org.eclipse.cdt.dsf.debug.ui.viewmodel.modules;x-friends:="org.eclipse.cdt.dsf.gdb.ui,org.eclipse.cdt.examples.dsf,org.eclipse.cdt.examples.dsf.pda.ui",
org.eclipse.cdt.dsf.debug.ui.viewmodel.modules.detail, org.eclipse.cdt.dsf.debug.ui.viewmodel.modules.detail;x-friends:="org.eclipse.cdt.dsf.gdb.ui,org.eclipse.cdt.examples.dsf,org.eclipse.cdt.examples.dsf.pda.ui",
org.eclipse.cdt.dsf.debug.ui.viewmodel.numberformat, org.eclipse.cdt.dsf.debug.ui.viewmodel.numberformat;x-friends:="org.eclipse.cdt.dsf.gdb.ui,org.eclipse.cdt.examples.dsf,org.eclipse.cdt.examples.dsf.pda.ui",
org.eclipse.cdt.dsf.debug.ui.viewmodel.register;x-internal:=true, org.eclipse.cdt.dsf.debug.ui.viewmodel.register;x-friends:="org.eclipse.cdt.dsf.gdb.ui,org.eclipse.cdt.examples.dsf,org.eclipse.cdt.examples.dsf.pda.ui",
org.eclipse.cdt.dsf.debug.ui.viewmodel.update, org.eclipse.cdt.dsf.debug.ui.viewmodel.update;x-friends:="org.eclipse.cdt.dsf.gdb.ui,org.eclipse.cdt.examples.dsf,org.eclipse.cdt.examples.dsf.pda.ui",
org.eclipse.cdt.dsf.debug.ui.viewmodel.variable;x-internal:=true, org.eclipse.cdt.dsf.debug.ui.viewmodel.variable;x-friends:="org.eclipse.cdt.dsf.gdb.ui,org.eclipse.cdt.examples.dsf,org.eclipse.cdt.examples.dsf.pda.ui",
org.eclipse.cdt.dsf.ui.concurrent, org.eclipse.cdt.dsf.ui.concurrent,
org.eclipse.cdt.dsf.ui.viewmodel, org.eclipse.cdt.dsf.ui.viewmodel;x-friends:="org.eclipse.cdt.dsf.gdb.ui,org.eclipse.cdt.examples.dsf,org.eclipse.cdt.examples.dsf.pda.ui",
org.eclipse.cdt.dsf.ui.viewmodel.datamodel, org.eclipse.cdt.dsf.ui.viewmodel.datamodel;x-friends:="org.eclipse.cdt.dsf.gdb.ui,org.eclipse.cdt.examples.dsf,org.eclipse.cdt.examples.dsf.pda.ui",
org.eclipse.cdt.dsf.ui.viewmodel.properties, org.eclipse.cdt.dsf.ui.viewmodel.properties;x-friends:="org.eclipse.cdt.dsf.gdb.ui,org.eclipse.cdt.examples.dsf,org.eclipse.cdt.examples.dsf.pda.ui",
org.eclipse.cdt.dsf.ui.viewmodel.update org.eclipse.cdt.dsf.ui.viewmodel.update;x-friends:="org.eclipse.cdt.dsf.gdb.ui,org.eclipse.cdt.examples.dsf,org.eclipse.cdt.examples.dsf.pda.ui"
Bundle-RequiredExecutionEnvironment: J2SE-1.5 Bundle-RequiredExecutionEnvironment: J2SE-1.5

View file

@ -26,7 +26,6 @@ import org.eclipse.debug.internal.ui.viewers.model.provisional.IPresentationCont
* *
* @since 1.1 * @since 1.1
*/ */
@SuppressWarnings("restriction")
public class AbstractDebugVMAdapter extends AbstractDMVMAdapter public class AbstractDebugVMAdapter extends AbstractDMVMAdapter
implements ISteppingControlParticipant implements ISteppingControlParticipant
{ {

View file

@ -32,7 +32,6 @@ import org.eclipse.ui.IViewPart;
/** /**
* @since 1.1 * @since 1.1
*/ */
@SuppressWarnings("restriction")
abstract public class AbstractVMProviderActionDelegate implements IViewActionDelegate, IDebugContextListener, IActionDelegate2 { abstract public class AbstractVMProviderActionDelegate implements IViewActionDelegate, IDebugContextListener, IActionDelegate2 {
private IViewPart fView = null; private IViewPart fView = null;

View file

@ -37,7 +37,6 @@ import org.eclipse.ui.services.IServiceLocator;
* *
* @since 1.1 * @since 1.1
*/ */
@SuppressWarnings("restriction")
public class VMHandlerUtils { public class VMHandlerUtils {
/** /**

View file

@ -39,7 +39,6 @@ import org.eclipse.debug.internal.ui.viewers.model.provisional.IChildrenUpdate;
* by the sub-class as well. * by the sub-class as well.
* </p> * </p>
*/ */
@SuppressWarnings("restriction")
public abstract class AbstractExpressionVMNode extends AbstractDMVMNode public abstract class AbstractExpressionVMNode extends AbstractDMVMNode
implements IExpressionVMNode implements IExpressionVMNode
{ {

View file

@ -19,7 +19,6 @@ import org.eclipse.jface.resource.ImageDescriptor;
/** /**
* *
*/ */
@SuppressWarnings("restriction")
public class ExpressionColumnPresentation implements IColumnPresentation { public class ExpressionColumnPresentation implements IColumnPresentation {
public static final String ID = DsfUIPlugin.PLUGIN_ID + ".EXPRESSION_COLUMN_PRESENTATION_ID"; //$NON-NLS-1$ public static final String ID = DsfUIPlugin.PLUGIN_ID + ".EXPRESSION_COLUMN_PRESENTATION_ID"; //$NON-NLS-1$

View file

@ -23,7 +23,6 @@ import org.eclipse.core.runtime.Status;
* *
* @see ExpressionVMProvider * @see ExpressionVMProvider
*/ */
@SuppressWarnings("restriction")
public class ExpressionVMProviderContentStragegy extends DefaultVMContentProviderStrategy { public class ExpressionVMProviderContentStragegy extends DefaultVMContentProviderStrategy {
public ExpressionVMProviderContentStragegy(ExpressionVMProvider provider) { public ExpressionVMProviderContentStragegy(ExpressionVMProvider provider) {
super(provider); super(provider);

View file

@ -28,7 +28,6 @@ import org.eclipse.jface.viewers.TreePath;
* *
* @see ExpressionVMProvider * @see ExpressionVMProvider
*/ */
@SuppressWarnings("restriction")
public class ExpressionVMProviderModelProxyStrategy extends DefaultVMModelProxyStrategy { public class ExpressionVMProviderModelProxyStrategy extends DefaultVMModelProxyStrategy {
public ExpressionVMProviderModelProxyStrategy(ExpressionVMProvider provider, Object rootElement) { public ExpressionVMProviderModelProxyStrategy(ExpressionVMProvider provider, Object rootElement) {

View file

@ -18,7 +18,6 @@ import org.eclipse.debug.internal.ui.viewers.model.provisional.IViewerUpdate;
* this update needs to create an expression element based on the tree path and the * this update needs to create an expression element based on the tree path and the
* expression object in this update. * expression object in this update.
*/ */
@SuppressWarnings("restriction")
public interface IExpressionUpdate extends IViewerUpdate { public interface IExpressionUpdate extends IViewerUpdate {
/** /**

View file

@ -24,7 +24,6 @@ import org.eclipse.jface.resource.JFaceResources;
* *
* @since 1.1 * @since 1.1
*/ */
@SuppressWarnings("restriction")
public class InvalidExpressionVMContext extends AbstractVMContext implements IElementLabelProvider { public class InvalidExpressionVMContext extends AbstractVMContext implements IElementLabelProvider {
final private IExpression fExpression; final private IExpression fExpression;

View file

@ -25,7 +25,6 @@ import org.eclipse.jface.viewers.TreePath;
/** /**
* *
*/ */
@SuppressWarnings("restriction")
class VMExpressionUpdate extends VMViewerUpdate implements IExpressionUpdate { class VMExpressionUpdate extends VMViewerUpdate implements IExpressionUpdate {
private final IExpression fExpression; private final IExpression fExpression;

View file

@ -58,7 +58,6 @@ import org.eclipse.jface.viewers.IStructuredSelection;
/** /**
* @since 1.1 * @since 1.1
*/ */
@SuppressWarnings("restriction")
public class AbstractLaunchVMProvider extends AbstractDMVMProvider public class AbstractLaunchVMProvider extends AbstractDMVMProvider
implements IDebugEventSetListener, ILaunchesListener2 implements IDebugEventSetListener, ILaunchesListener2
{ {

View file

@ -22,7 +22,6 @@ import org.eclipse.debug.ui.IDebugUIConstants;
* Default model selection policy factory for DSF. * Default model selection policy factory for DSF.
* @since 1.1 * @since 1.1
*/ */
@SuppressWarnings("restriction")
public class DefaultDsfModelSelectionPolicyFactory implements IModelSelectionPolicyFactory { public class DefaultDsfModelSelectionPolicyFactory implements IModelSelectionPolicyFactory {
/* /*

View file

@ -32,7 +32,6 @@ import org.eclipse.jface.viewers.TreeSelection;
* (<code>DefaultSelectionPolicy</code>). * (<code>DefaultSelectionPolicy</code>).
* @since 1.1 * @since 1.1
*/ */
@SuppressWarnings("restriction")
public class DefaultDsfSelectionPolicy implements IModelSelectionPolicy { public class DefaultDsfSelectionPolicy implements IModelSelectionPolicy {
private IDMContext fDMContext; private IDMContext fDMContext;

View file

@ -35,7 +35,6 @@ import org.eclipse.debug.internal.ui.viewers.model.provisional.IModelDelta;
* the root of a hierarchy. It does not implement the label provider * the root of a hierarchy. It does not implement the label provider
* functionality, so the default adapters should be used to retrieve the label. * functionality, so the default adapters should be used to retrieve the label.
*/ */
@SuppressWarnings("restriction")
public class LaunchRootVMNode extends RootVMNode public class LaunchRootVMNode extends RootVMNode
implements IRootVMNode implements IRootVMNode
{ {

View file

@ -43,7 +43,6 @@ import org.eclipse.ui.IWorkbenchPart;
* *
* @since 1.0 * @since 1.0
*/ */
@SuppressWarnings("restriction")
public class NumberFormatsPropertyTester extends PropertyTester { public class NumberFormatsPropertyTester extends PropertyTester {
private static final String SUPPORTED = "areNumberFormatsSupported"; //$NON-NLS-1$ private static final String SUPPORTED = "areNumberFormatsSupported"; //$NON-NLS-1$

View file

@ -25,7 +25,6 @@ import org.eclipse.cdt.dsf.ui.viewmodel.update.AbstractCachingVMProvider;
import org.eclipse.cdt.dsf.ui.viewmodel.update.UserEditEvent; import org.eclipse.cdt.dsf.ui.viewmodel.update.UserEditEvent;
import org.eclipse.debug.internal.ui.viewers.model.provisional.IPresentationContext; import org.eclipse.debug.internal.ui.viewers.model.provisional.IPresentationContext;
@SuppressWarnings("restriction")
public class RegisterBitFieldCellModifier extends WatchExpressionCellModifier { public class RegisterBitFieldCellModifier extends WatchExpressionCellModifier {
public static enum BitFieldEditorStyle { NOTHING, BITFIELDCOMBO, BITFIELDTEXT } public static enum BitFieldEditorStyle { NOTHING, BITFIELDCOMBO, BITFIELDTEXT }

View file

@ -24,7 +24,6 @@ import org.eclipse.cdt.dsf.ui.viewmodel.update.AbstractCachingVMProvider;
import org.eclipse.cdt.dsf.ui.viewmodel.update.UserEditEvent; import org.eclipse.cdt.dsf.ui.viewmodel.update.UserEditEvent;
import org.eclipse.debug.internal.ui.viewers.model.provisional.IPresentationContext; import org.eclipse.debug.internal.ui.viewers.model.provisional.IPresentationContext;
@SuppressWarnings("restriction")
public class RegisterCellModifier extends WatchExpressionCellModifier { public class RegisterCellModifier extends WatchExpressionCellModifier {
private AbstractCachingVMProvider fProvider; private AbstractCachingVMProvider fProvider;

View file

@ -19,7 +19,6 @@ import org.eclipse.jface.resource.ImageDescriptor;
/** /**
* *
*/ */
@SuppressWarnings("restriction")
public class RegisterColumnPresentation implements IColumnPresentation { public class RegisterColumnPresentation implements IColumnPresentation {
public static final String ID = DsfUIPlugin.PLUGIN_ID + ".REGISTERS_COLUMN_PRESENTATION_ID"; //$NON-NLS-1$ public static final String ID = DsfUIPlugin.PLUGIN_ID + ".REGISTERS_COLUMN_PRESENTATION_ID"; //$NON-NLS-1$

View file

@ -25,7 +25,6 @@ import org.eclipse.debug.internal.ui.viewers.model.provisional.IElementMementoRe
* Register View does not collapse and redraw when going from frame to frame * Register View does not collapse and redraw when going from frame to frame
* when stepping or just when selecting within the view. * when stepping or just when selecting within the view.
*/ */
@SuppressWarnings("restriction")
public class RegisterRootDMVMNode extends RootDMVMNode implements IElementMementoProvider { public class RegisterRootDMVMNode extends RootDMVMNode implements IElementMementoProvider {
public RegisterRootDMVMNode(AbstractVMProvider provider) { public RegisterRootDMVMNode(AbstractVMProvider provider) {

View file

@ -44,7 +44,6 @@ import org.eclipse.jface.util.PropertyChangeEvent;
/** /**
* Provides the VIEW MODEL for the DEBUG MODEL REGISTER view. * Provides the VIEW MODEL for the DEBUG MODEL REGISTER view.
*/ */
@SuppressWarnings("restriction")
public class RegisterVMProvider extends AbstractDMVMProvider public class RegisterVMProvider extends AbstractDMVMProvider
{ {
private IPropertyChangeListener fPreferencesListener = new IPropertyChangeListener() { private IPropertyChangeListener fPreferencesListener = new IPropertyChangeListener() {

View file

@ -21,7 +21,6 @@ import org.eclipse.cdt.dsf.ui.viewmodel.update.UserEditEvent;
import org.eclipse.core.runtime.IAdaptable; import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.debug.internal.ui.viewers.model.provisional.IPresentationContext; import org.eclipse.debug.internal.ui.viewers.model.provisional.IPresentationContext;
@SuppressWarnings("restriction")
public class VariableCellModifier extends WatchExpressionCellModifier { public class VariableCellModifier extends WatchExpressionCellModifier {
private AbstractCachingVMProvider fProvider; private AbstractCachingVMProvider fProvider;

View file

@ -19,7 +19,6 @@ import org.eclipse.jface.resource.ImageDescriptor;
/** /**
* *
*/ */
@SuppressWarnings("restriction")
public class VariableColumnPresentation implements IColumnPresentation { public class VariableColumnPresentation implements IColumnPresentation {
public static final String ID = DsfUIPlugin.PLUGIN_ID + ".VARIABLES_COLUMN_PRESENTATION_ID"; //$NON-NLS-1$ public static final String ID = DsfUIPlugin.PLUGIN_ID + ".VARIABLES_COLUMN_PRESENTATION_ID"; //$NON-NLS-1$

View file

@ -24,7 +24,6 @@ import org.eclipse.debug.internal.ui.viewers.model.provisional.IViewerUpdate;
* *
* @since 1.0 * @since 1.0
*/ */
@SuppressWarnings("restriction")
public class ViewerCountingRequestMonitor extends CountingRequestMonitor { public class ViewerCountingRequestMonitor extends CountingRequestMonitor {
private final IViewerUpdate fUpdate; private final IViewerUpdate fUpdate;

View file

@ -43,7 +43,6 @@ import org.eclipse.debug.internal.ui.viewers.model.provisional.IViewerUpdate;
* @since 1.0 * @since 1.0
*/ */
@ThreadSafe @ThreadSafe
@SuppressWarnings("restriction")
abstract public class AbstractVMAdapter implements IVMAdapter abstract public class AbstractVMAdapter implements IVMAdapter
{ {

View file

@ -29,7 +29,6 @@ import org.eclipse.debug.internal.ui.viewers.model.provisional.IViewerUpdate;
* *
* @since 1.0 * @since 1.0
*/ */
@SuppressWarnings("restriction")
abstract public class AbstractVMNode implements IVMNode { abstract public class AbstractVMNode implements IVMNode {
private final AbstractVMProvider fProvider; private final AbstractVMProvider fProvider;

View file

@ -44,7 +44,6 @@ import org.eclipse.debug.internal.ui.viewers.model.provisional.IViewerUpdate;
* @since 1.0 * @since 1.0
*/ */
@ConfinedToDsfExecutor("#getExecutor()") @ConfinedToDsfExecutor("#getExecutor()")
@SuppressWarnings("restriction")
public class DefaultVMContentProviderStrategy implements IElementContentProvider { public class DefaultVMContentProviderStrategy implements IElementContentProvider {
private final AbstractVMProvider fVMProvider; private final AbstractVMProvider fVMProvider;

View file

@ -26,7 +26,6 @@ import org.eclipse.jface.viewers.Viewer;
* *
* @since 1.0 * @since 1.0
*/ */
@SuppressWarnings("restriction")
public interface IVMModelProxy extends IModelProxy { public interface IVMModelProxy extends IModelProxy {
/** /**

View file

@ -46,7 +46,6 @@ import org.eclipse.debug.internal.ui.viewers.model.provisional.IModelDelta;
* @since 1.0 * @since 1.0
*/ */
@ConfinedToDsfExecutor("") @ConfinedToDsfExecutor("")
@SuppressWarnings("restriction")
public interface IVMNode extends IElementContentProvider public interface IVMNode extends IElementContentProvider
{ {
/** /**

View file

@ -50,7 +50,6 @@ import org.eclipse.debug.internal.ui.viewers.model.provisional.IViewerInputProvi
* @since 1.0 * @since 1.0
*/ */
@ConfinedToDsfExecutor("#getExecutor()") @ConfinedToDsfExecutor("#getExecutor()")
@SuppressWarnings("restriction")
public interface IVMProvider public interface IVMProvider
extends IElementContentProvider, IModelProxyFactory, IColumnPresentationFactory, IViewerInputProvider extends IElementContentProvider, IModelProxyFactory, IColumnPresentationFactory, IViewerInputProvider
{ {

View file

@ -19,7 +19,6 @@ import org.eclipse.jface.viewers.Viewer;
* *
* @since 1.0 * @since 1.0
*/ */
@SuppressWarnings("restriction")
public class ModelProxyInstalledEvent { public class ModelProxyInstalledEvent {
private final IModelProxy fProxy; private final IModelProxy fProxy;
private final Viewer fViewer; private final Viewer fViewer;

View file

@ -23,7 +23,6 @@ import org.eclipse.debug.internal.ui.viewers.model.provisional.IModelDelta;
* *
* @since 1.0 * @since 1.0
*/ */
@SuppressWarnings("restriction")
public class RootVMNode extends AbstractVMNode implements IRootVMNode { public class RootVMNode extends AbstractVMNode implements IRootVMNode {
public RootVMNode(AbstractVMProvider provider) { public RootVMNode(AbstractVMProvider provider) {

View file

@ -24,7 +24,6 @@ import org.eclipse.jface.viewers.TreePath;
* *
* @since 1.0 * @since 1.0
*/ */
@SuppressWarnings("restriction")
public class VMChildrenCountUpdate extends VMViewerUpdate implements IChildrenCountUpdate { public class VMChildrenCountUpdate extends VMViewerUpdate implements IChildrenCountUpdate {
final private DataRequestMonitor<Integer> fCountRequestMonitor; final private DataRequestMonitor<Integer> fCountRequestMonitor;

View file

@ -27,7 +27,6 @@ import org.eclipse.jface.viewers.TreePath;
* *
* @since 1.0 * @since 1.0
*/ */
@SuppressWarnings("restriction")
public class VMChildrenUpdate extends VMViewerUpdate implements IChildrenUpdate { public class VMChildrenUpdate extends VMViewerUpdate implements IChildrenUpdate {
private final int fOffset; private final int fOffset;
private final int fLength; private final int fLength;

View file

@ -24,7 +24,6 @@ import org.eclipse.debug.internal.ui.viewers.model.provisional.ModelDelta;
* *
* @since 1.0 * @since 1.0
*/ */
@SuppressWarnings("restriction")
public class VMDelta extends ModelDelta { public class VMDelta extends ModelDelta {
private VMDelta fParent; private VMDelta fParent;

View file

@ -24,7 +24,6 @@ import org.eclipse.jface.viewers.TreePath;
* *
* @since 1.0 * @since 1.0
*/ */
@SuppressWarnings("restriction")
public class VMHasChildrenUpdate extends VMViewerUpdate implements IHasChildrenUpdate { public class VMHasChildrenUpdate extends VMViewerUpdate implements IHasChildrenUpdate {
final private DataRequestMonitor<Boolean> fHasElemsRequestMonitor; final private DataRequestMonitor<Boolean> fHasElemsRequestMonitor;

View file

@ -37,7 +37,6 @@ import org.eclipse.jface.viewers.TreePath;
* *
* @since 1.0 * @since 1.0
*/ */
@SuppressWarnings("restriction")
public class VMViewerUpdate implements IViewerUpdate { public class VMViewerUpdate implements IViewerUpdate {
/** /**

View file

@ -48,7 +48,6 @@ import org.eclipse.jface.viewers.TreePath;
* *
* @since 1.0 * @since 1.0
*/ */
@SuppressWarnings("restriction")
abstract public class AbstractDMVMNode extends AbstractVMNode implements IVMNode { abstract public class AbstractDMVMNode extends AbstractVMNode implements IVMNode {
/** /**

View file

@ -25,7 +25,6 @@ import org.eclipse.jface.viewers.TreePath;
* *
* @since 1.0 * @since 1.0
*/ */
@SuppressWarnings("restriction")
public class CompositeDMVMContext extends CompositeDMContext { public class CompositeDMVMContext extends CompositeDMContext {
/** /**

View file

@ -20,7 +20,6 @@ import org.eclipse.debug.internal.ui.viewers.model.provisional.IViewerUpdate;
* *
* @since 1.0 * @since 1.0
*/ */
@SuppressWarnings("restriction")
public interface IPropertiesUpdate extends IViewerUpdate { public interface IPropertiesUpdate extends IViewerUpdate {
/** /**
* Returns the set of element properties that the provider should update. * Returns the set of element properties that the provider should update.

View file

@ -33,7 +33,6 @@ import org.eclipse.debug.internal.ui.viewers.model.provisional.ILabelUpdate;
* *
* @since 1.0 * @since 1.0
*/ */
@SuppressWarnings("restriction")
abstract public class LabelAttribute { abstract public class LabelAttribute {
public static final String[] EMPTY_PROPERTY_NAMES_ARRAY = new String[0]; public static final String[] EMPTY_PROPERTY_NAMES_ARRAY = new String[0];

View file

@ -27,7 +27,6 @@ import org.eclipse.swt.graphics.RGB;
* @since 1.0 * @since 1.0
*/ */
@SuppressWarnings("restriction")
public class LabelColor extends LabelAttribute { public class LabelColor extends LabelAttribute {
private RGB fForeground; private RGB fForeground;
private RGB fBackground; private RGB fBackground;

View file

@ -16,7 +16,6 @@ import java.util.Map;
import org.eclipse.cdt.dsf.concurrent.ThreadSafe; import org.eclipse.cdt.dsf.concurrent.ThreadSafe;
import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.ListenerList;
import org.eclipse.debug.internal.ui.viewers.model.provisional.ILabelUpdate; import org.eclipse.debug.internal.ui.viewers.model.provisional.ILabelUpdate;
/** /**
@ -34,19 +33,6 @@ import org.eclipse.debug.internal.ui.viewers.model.provisional.ILabelUpdate;
*/ */
@ThreadSafe @ThreadSafe
public class LabelColumnInfo { public class LabelColumnInfo {
/**
* @since 2.0
*/
private static final LabelAttribute[] DEFAULT_FAILED_UPDATE_ATTRIBUTES = new LabelAttribute[] {
new LabelText("...", new String[0])
};
/**
* @since 2.0
*/
private static final LabelAttribute[] EMPTY_ATTRIBUTES = new LabelAttribute[0];
/** /**
* Calculated list of property names that need to be retrieved to * Calculated list of property names that need to be retrieved to
* generate the label for this column. * generate the label for this column.
@ -58,11 +44,6 @@ public class LabelColumnInfo {
*/ */
private LabelAttribute[] fLabelAttributes; private LabelAttribute[] fLabelAttributes;
/**
* Listeners for when column attributes are modified.
*/
private ListenerList fListeners = new ListenerList();
/** /**
* Creates the column info object with given array of attributes. * Creates the column info object with given array of attributes.
* @param attributeInfos Attributes for the label. * @param attributeInfos Attributes for the label.

View file

@ -26,7 +26,6 @@ import org.eclipse.swt.graphics.FontData;
* *
* @since 1.0 * @since 1.0
*/ */
@SuppressWarnings("restriction")
public class LabelFont extends LabelAttribute { public class LabelFont extends LabelAttribute {
private static final FontData DEFAULT_FONT = JFaceResources.getDefaultFontDescriptor().getFontData()[0]; private static final FontData DEFAULT_FONT = JFaceResources.getDefaultFontDescriptor().getFontData()[0];

View file

@ -25,7 +25,6 @@ import org.eclipse.jface.resource.ImageDescriptor;
* *
* @since 1.0 * @since 1.0
*/ */
@SuppressWarnings("restriction")
public class LabelImage extends LabelAttribute { public class LabelImage extends LabelAttribute {
private ImageDescriptor fImageDescriptor; private ImageDescriptor fImageDescriptor;

View file

@ -30,7 +30,6 @@ import org.eclipse.debug.internal.ui.viewers.model.provisional.ILabelUpdate;
* *
* @since 1.0 * @since 1.0
*/ */
@SuppressWarnings("restriction")
public class LabelText extends LabelAttribute { public class LabelText extends LabelAttribute {
public static final MessageFormat DEFAULT_MESSAGE = new MessageFormat(MessagesForProperties.DefaultLabelMessage_label); public static final MessageFormat DEFAULT_MESSAGE = new MessageFormat(MessagesForProperties.DefaultLabelMessage_label);

View file

@ -38,7 +38,6 @@ import org.eclipse.debug.internal.ui.viewers.model.provisional.ILabelUpdate;
* *
* @since 2.0 - Renamed from PropertyBasedLabelProvider * @since 2.0 - Renamed from PropertyBasedLabelProvider
*/ */
@SuppressWarnings("restriction")
@ThreadSafe @ThreadSafe
public class PropertiesBasedLabelProvider public class PropertiesBasedLabelProvider
implements IElementLabelProvider implements IElementLabelProvider

View file

@ -41,7 +41,6 @@ import org.eclipse.swt.graphics.RGB;
/** /**
* @since 1.1 * @since 1.1
*/ */
@SuppressWarnings("restriction")
class MultiLevelUpdateHandler extends DataRequestMonitor<List<Object>> { class MultiLevelUpdateHandler extends DataRequestMonitor<List<Object>> {
private static final boolean DEBUG = Boolean.parseBoolean(Platform.getDebugOption("org.eclipse.cdt.dsf.ui/debug/vm/atomicUpdate")); //$NON-NLS-1$ //; private static final boolean DEBUG = Boolean.parseBoolean(Platform.getDebugOption("org.eclipse.cdt.dsf.ui/debug/vm/atomicUpdate")); //$NON-NLS-1$ //;