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:
parent
03986e7dde
commit
fc1da4e112
48 changed files with 15 additions and 80 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -37,7 +37,6 @@ import org.eclipse.ui.services.IServiceLocator;
|
||||||
*
|
*
|
||||||
* @since 1.1
|
* @since 1.1
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("restriction")
|
|
||||||
public class VMHandlerUtils {
|
public class VMHandlerUtils {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
@ -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$
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
@ -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$
|
||||||
|
|
|
@ -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 }
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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$
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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$
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -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
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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];
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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];
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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$ //;
|
||||||
|
|
Loading…
Add table
Reference in a new issue