I have the code to show a property in the designer, but it requries a corresponding property in the blocks editor. Is there any way to only show the property in the designer?
For example, I have this, which I want:
@DesignerProperty
//(description = "The AppID to use")
public void AppId(String id) {
if (!appId.equals(id)) {
appId = id;
}
if (appId.equals("")){
throw new RuntimeException("appID property cannot be blank.");
}
}
but I also have to have this, which I do not want:
@SimpleProperty(description = "The AppID to use")
public String AppId() {
return appId;
}
What do I need to change in my @SimpleProperty ? I am using RUSH as my extension builder.