01-10-2013 12:59 PM
package demo;
import org.activiti.designer.integration.servicetask.AbstractCustomServiceTask;
import org.activiti.designer.integration.servicetask.PropertyType;
import org.activiti.designer.integration.servicetask.annotation.Help;
import org.activiti.designer.integration.servicetask.annotation.Property;
import org.activiti.designer.integration.servicetask.annotation.PropertyItems;
@Help(displayHelpShort = "Demo", displayHelpLong = "Demo")
public class DemoTask extends AbstractCustomServiceTask {
@Help(displayHelpShort="bla", displayHelpLong="bla bla bla")
@Property(order=1, required=true, type=PropertyType.RADIO_CHOICE, displayName="Option", defaultValue="c")
@PropertyItems({"A", "a", "B", "b", "C", "c"})
private String option;
@Override
public String contributeToPaletteDrawer() {
return "Demo";
}
@Override
public String getDescription() {
return "Demo";
}
@Override
public String getLargeIconPath() {
return getSmallIconPath();
}
@Override
public String getName() {
return "Demo";
}
@Override
public Integer getOrder() {
return 1;
}
@Override
public String getShapeIconPath() {
return getSmallIconPath();
}
@Override
public String getSmallIconPath() {
return "archiv16.png";
}
}
01-10-2013 02:09 PM
01-11-2013 04:07 AM
01-11-2013 04:26 AM
01-11-2013 09:48 AM
01-11-2013 11:05 AM
01-11-2013 11:24 AM
01-11-2013 11:30 AM
01-11-2013 12:07 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.