1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Some API breaking changes slipped in during the non-stop effort. These changes were not needed so I have reverted them. Mostly it is about protected classes becoming package-private.

This commit is contained in:
Marc Khouzam 2008-07-31 01:21:10 +00:00
parent c928924a21
commit 8a7f805c57

View file

@ -136,7 +136,7 @@ public class MIRunControl extends AbstractDsfService implements IMIRunControl
} }
@Immutable @Immutable
static class ExecutionData implements IExecutionDMData { private static class ExecutionData implements IExecutionDMData {
private final StateChangeReason fReason; private final StateChangeReason fReason;
ExecutionData(StateChangeReason reason) { ExecutionData(StateChangeReason reason) {
fReason = reason; fReason = reason;
@ -154,7 +154,7 @@ public class MIRunControl extends AbstractDsfService implements IMIRunControl
* @see MIRunControl * @see MIRunControl
*/ */
@Immutable @Immutable
static class RunControlEvent<V extends IDMContext, T extends MIEvent<? extends IDMContext>> extends AbstractDMEvent<V> protected static class RunControlEvent<V extends IDMContext, T extends MIEvent<? extends IDMContext>> extends AbstractDMEvent<V>
implements IDMEvent<V>, IMIDMEvent implements IDMEvent<V>, IMIDMEvent
{ {
final private T fMIInfo; final private T fMIInfo;
@ -170,7 +170,7 @@ public class MIRunControl extends AbstractDsfService implements IMIRunControl
* Indicates that the given thread has been suspended. * Indicates that the given thread has been suspended.
*/ */
@Immutable @Immutable
static class SuspendedEvent extends RunControlEvent<IExecutionDMContext, MIStoppedEvent> protected static class SuspendedEvent extends RunControlEvent<IExecutionDMContext, MIStoppedEvent>
implements ISuspendedDMEvent implements ISuspendedDMEvent
{ {
SuspendedEvent(IExecutionDMContext ctx, MIStoppedEvent miInfo) { SuspendedEvent(IExecutionDMContext ctx, MIStoppedEvent miInfo) {
@ -197,7 +197,7 @@ public class MIRunControl extends AbstractDsfService implements IMIRunControl
} }
@Immutable @Immutable
static class ContainerSuspendedEvent extends SuspendedEvent protected static class ContainerSuspendedEvent extends SuspendedEvent
implements IContainerSuspendedDMEvent implements IContainerSuspendedDMEvent
{ {
final IExecutionDMContext[] triggeringDmcs; final IExecutionDMContext[] triggeringDmcs;
@ -213,15 +213,7 @@ public class MIRunControl extends AbstractDsfService implements IMIRunControl
} }
@Immutable @Immutable
static class ThreadSuspendedEvent extends SuspendedEvent protected static class ResumedEvent extends RunControlEvent<IExecutionDMContext, MIRunningEvent>
{
ThreadSuspendedEvent(IExecutionDMContext executionDmc, MIStoppedEvent miInfo) {
super(executionDmc, miInfo);
}
}
@Immutable
static class ResumedEvent extends RunControlEvent<IExecutionDMContext, MIRunningEvent>
implements IResumedDMEvent implements IResumedDMEvent
{ {
ResumedEvent(IExecutionDMContext ctx, MIRunningEvent miInfo) { ResumedEvent(IExecutionDMContext ctx, MIRunningEvent miInfo) {
@ -249,7 +241,7 @@ public class MIRunControl extends AbstractDsfService implements IMIRunControl
} }
@Immutable @Immutable
static class ContainerResumedEvent extends ResumedEvent protected static class ContainerResumedEvent extends ResumedEvent
implements IContainerResumedDMEvent implements IContainerResumedDMEvent
{ {
final IExecutionDMContext[] triggeringDmcs; final IExecutionDMContext[] triggeringDmcs;
@ -266,15 +258,7 @@ public class MIRunControl extends AbstractDsfService implements IMIRunControl
} }
@Immutable @Immutable
static class ThreadResumedEvent extends ResumedEvent protected static class StartedDMEvent extends RunControlEvent<IExecutionDMContext,MIThreadCreatedEvent>
{
ThreadResumedEvent(IExecutionDMContext executionDmc, MIRunningEvent miInfo) {
super(executionDmc, miInfo);
}
}
@Immutable
static class StartedDMEvent extends RunControlEvent<IExecutionDMContext,MIThreadCreatedEvent>
implements IStartedDMEvent implements IStartedDMEvent
{ {
StartedDMEvent(IMIExecutionDMContext executionDmc, MIThreadCreatedEvent miInfo) { StartedDMEvent(IMIExecutionDMContext executionDmc, MIThreadCreatedEvent miInfo) {
@ -283,7 +267,7 @@ public class MIRunControl extends AbstractDsfService implements IMIRunControl
} }
@Immutable @Immutable
static class ExitedDMEvent extends RunControlEvent<IExecutionDMContext,MIThreadExitEvent> protected static class ExitedDMEvent extends RunControlEvent<IExecutionDMContext,MIThreadExitEvent>
implements IExitedDMEvent implements IExitedDMEvent
{ {
ExitedDMEvent(IMIExecutionDMContext executionDmc, MIThreadExitEvent miInfo) { ExitedDMEvent(IMIExecutionDMContext executionDmc, MIThreadExitEvent miInfo) {