Files
gerrit/gerrit-gwtui/src/main/java/com/google/gerrit/client/patches/CommentEditorContainer.java
Shawn O. Pearce 20855102d9 Fix deletion of comments on the publish comments screen
We were getting a ClassCastException while deleting a comment on
the publish comments screen, because the editor assumed that it
was only contained within the AbstractPatchContentTable.  Instead
use a common interface for the containing UI member.

Bug: issue 376
Change-Id: Id4fb59a85862f935f34c945ee70a0a61d69ec896
Signed-off-by: Shawn O. Pearce <sop@google.com>
2010-01-11 08:46:20 -08:00

22 lines
774 B
Java

// Copyright (C) 2010 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package com.google.gerrit.client.patches;
public interface CommentEditorContainer {
void notifyDraftDelta(int delta);
void remove(CommentEditorPanel panel);
}