positionsUpdatingGuard
.entranceRequested(new IReentranceCases() {
@Override
public void ifNewEntrance() {
onNewEntrance(new IAction() {
@Override
public void doAction() {
notifier.setStartDate(
previousStart,
previousEnd, newStart);
onEntrance.setStartDate(
previousStart, previousEnd,
newStart);
}
});
}
@Override
public void ifAlreadyInside() {
notifier.setStartDate(previousStart,
previousEnd, newStart);
}
});
}
@Override
public void setNewEnd(final GanttDate previousEnd,
final GanttDate newEnd) {
positionsUpdatingGuard
.entranceRequested(new IReentranceCases() {
@Override
public void ifNewEntrance() {
onNewEntrance(new IAction() {
@Override
public void doAction() {
notifier.setNewEnd(previousEnd,
newEnd);