Skip to content

Commit

Permalink
wip: add LabelBlockElementBean as Serializable
Browse files Browse the repository at this point in the history
  • Loading branch information
SyntaxGalaxy committed Nov 21, 2024
1 parent 2307057 commit 53d8713
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,14 @@

package com.icst.android.appstudio.beans;

import com.icst.android.appstudio.beans.utils.SerializationUIDConstants;
import java.io.Serializable;

/** A simple BlockElement that just display text on block */
public class LabelBlockElementBean implements BlockElementBean {
public class LabelBlockElementBean implements BlockElementBean, Serializable {

public static final long serialVersionUID = SerializationUIDConstants.LABEL_BLOCK_ELEMENT_BEAN;

private String label;

public String getLabel() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,5 @@ public class SerializationUIDConstants {
public static final long ACTION_ELEMENT_LAYER_BEAN = 1L;
public static final long DATATYPE_BEAN_BEAN = 1L;
public static final long EVENT_BEAN = 1L;
public static final long LABEL_BLOCK_ELEMENT_BEAN = 1L;
}

0 comments on commit 53d8713

Please sign in to comment.