2023-09-17 22:13:42 +03:00
|
|
|
package Repository.Component.UI;
|
|
|
|
|
import Common.UI.Editor.BaseEditor;
|
|
|
|
|
import Common.UI.Windows.Dialog.DialogFields;
|
|
|
|
|
|
|
|
|
|
import javax.swing.*;
|
|
|
|
|
import java.awt.*;
|
|
|
|
|
import java.awt.event.ActionEvent;
|
|
|
|
|
import java.awt.event.ActionListener;
|
|
|
|
|
public class PublishFields implements DialogFields {
|
|
|
|
|
public JPanel content;
|
|
|
|
|
public JCheckBox cbNeedsBroadcast;
|
|
|
|
|
public JTextArea taBroadcast;
|
|
|
|
|
public JCheckBox cbForceMail;
|
|
|
|
|
public JCheckBox cbUpdateMinimalVersion;
|
|
|
|
|
public JLabel lMinimalVersion;
|
|
|
|
|
public JLabel lPublishingVersion;
|
2023-11-14 00:56:05 +03:00
|
|
|
public JCheckBox cbAssemblyOnServer;
|
2023-09-17 22:13:42 +03:00
|
|
|
public PublishFields() {
|
|
|
|
|
cbNeedsBroadcast.addActionListener(new ActionListener() {
|
|
|
|
|
@Override
|
|
|
|
|
public void actionPerformed(ActionEvent e) {
|
|
|
|
|
taBroadcast.setEnabled(cbNeedsBroadcast.isSelected());
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
private void createUIComponents() {
|
|
|
|
|
// TODO: place custom component creation code here
|
|
|
|
|
taBroadcast = new BaseEditor();
|
|
|
|
|
}
|
|
|
|
|
@Override
|
|
|
|
|
public Component getContent() {
|
|
|
|
|
return content;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|