forked from External/mage
* UI: fixed error message window for long text (auto-size), improved wrong version message;
This commit is contained in:
parent
410fd68996
commit
2a0d2d125b
3 changed files with 40 additions and 46 deletions
|
|
@ -1,19 +1,18 @@
|
|||
|
||||
package mage.view;
|
||||
|
||||
import mage.constants.PlayerAction;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.UUID;
|
||||
import mage.constants.PlayerAction;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author LevelX2
|
||||
*/
|
||||
public class UserRequestMessage implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private final String titel;
|
||||
private final String title;
|
||||
private final String message;
|
||||
private UUID relatedUserId;
|
||||
private String relatedUserName;
|
||||
|
|
@ -32,8 +31,8 @@ public class UserRequestMessage implements Serializable {
|
|||
private String button3Text;
|
||||
private PlayerAction button3Action;
|
||||
|
||||
public UserRequestMessage(String titel, String message) {
|
||||
this.titel = titel;
|
||||
public UserRequestMessage(String title, String message) {
|
||||
this.title = title;
|
||||
this.message = message;
|
||||
this.button1Action = null;
|
||||
this.button2Action = null;
|
||||
|
|
@ -68,8 +67,8 @@ public class UserRequestMessage implements Serializable {
|
|||
this.button3Action = buttonAction;
|
||||
}
|
||||
|
||||
public String getTitel() {
|
||||
return titel;
|
||||
public String getTitle() {
|
||||
return title;
|
||||
}
|
||||
|
||||
public static long getSerialVersionUID() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue