forked from FR-Global/plugin-event-manager
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
754 B
36 lines
754 B
package com.fr.plugin.event.manager.ui; |
|
|
|
import com.fr.design.gui.frpane.LoadingBasicPane; |
|
|
|
import javax.swing.JPanel; |
|
|
|
/** |
|
* 普通报表和表单事件管理器的父类 |
|
* @author Joe |
|
* Created by Joe on 12/11/2020 |
|
*/ |
|
public abstract class EventManagerPane<T> extends LoadingBasicPane { |
|
protected EventConfigPane eventConfigPane; |
|
private T target; |
|
|
|
@Override |
|
protected void initComponents(JPanel container) { |
|
initData(target); |
|
} |
|
|
|
public void setTarget(T target) { |
|
this.target = target; |
|
} |
|
|
|
@Override |
|
protected String title4PopupWindow() { |
|
return "event manager"; |
|
} |
|
|
|
protected abstract void initData(T target); |
|
|
|
public void update() { |
|
eventConfigPane.update(); |
|
} |
|
|
|
}
|
|
|