package devopsdistilled.operp.client.abstracts;

import javax.swing.JComponent;
import javax.swing.JDialog;

import devopsdistilled.operp.server.data.entity.Entiti;

public abstract class AbstractEntityDetailsPane<E extends Entiti> {

	protected final JDialog dialog;

	public AbstractEntityDetailsPane() {
		dialog = new JDialog();
		dialog.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);
		dialog.setTitle("Details");
		dialog.setSize(400, 300);
	}

	public abstract JComponent getPane();

	public abstract void show(E entity);

	public JDialog getDialog() {
		return dialog;
	}
}

@@ -409,17 +409,18 @@
 tle(
-%22Details%22
+getTitle()
 );%0A%09
@@ -525,24 +525,61 @@
 E entity);%0A%0A
+%09public abstract String getTitle();%0A%0A
 %09public JDia

Declare abstract getTitle()