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.
28 lines
525 B
28 lines
525 B
package de.srsoftware.web4rail.actions; |
|
|
|
import de.srsoftware.web4rail.BaseClass; |
|
import de.srsoftware.web4rail.tags.Label; |
|
|
|
public class ShowText extends TextAction{ |
|
|
|
|
|
public ShowText(BaseClass parent) { |
|
super(parent); |
|
} |
|
|
|
@Override |
|
public boolean fire(Context context) { |
|
plan.stream(fill(text,context)); |
|
return true; |
|
} |
|
|
|
@Override |
|
protected Label label() { |
|
return new Label(t("Text to display on clients:")+NBSP); |
|
} |
|
|
|
@Override |
|
public String toString() { |
|
return t("Display \"{}\" on clients.",text); |
|
} |
|
}
|
|
|