blob: 6c30369ab737d1e81c56927f43c7bc03ba0cd3d1 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2009, 2011 Tasktop Technologies and others.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* https://www.eclipse.org/legal/epl-2.0
*
* SPDX-License-Identifier: EPL-2.0
*
* Tasktop Technologies - initial API and implementation
*******************************************************************************/
package org.eclipse.mylyn.commons.ui.dialogs;
/**
* Event sent with an {@link IInPlaceDialogListener} that contains information about the close event that occurred
*
* @author Shawn Minto
* @since 3.7
*/
public class InPlaceDialogEvent {
private final int returnCode;
private final boolean isClosing;
public InPlaceDialogEvent(int returnCode, boolean isClosing) {
this.returnCode = returnCode;
this.isClosing = isClosing;
}
public boolean isClosing() {
return isClosing;
}
public int getReturnCode() {
return returnCode;
}
}