/* * (non-Javadoc) * @see org.fusesource.ide.camel.model.AbstractNode#addCustomProperties(java.util.Map) */ @Override protected void addCustomProperties(Map<String, PropertyDescriptor> descriptors) { super.addCustomProperties(descriptors); PropertyDescriptor descRef = new TextPropertyDescriptor(PROPERTY_REF, Messages.propertyLabelPolicyRef); descriptors.put(PROPERTY_REF, descRef); }
/* * (non-Javadoc) * @see org.fusesource.ide.camel.model.AbstractNode#addCustomProperties(java.util.Map) */ @Override protected void addCustomProperties(Map<String, PropertyDescriptor> descriptors) { super.addCustomProperties(descriptors); PropertyDescriptor descExpression = new ExpressionPropertyDescriptor(PROPERTY_EXPRESSION, Messages.propertyLabelLoopExpression); PropertyDescriptor descCopy = new BooleanPropertyDescriptor(PROPERTY_COPY, Messages.propertyLabelLoopCopy); descriptors.put(PROPERTY_EXPRESSION, descExpression); descriptors.put(PROPERTY_COPY, descCopy); }
@Override protected void addCustomProperties(Map<String, PropertyDescriptor> descriptors) { super.addCustomProperties(descriptors); PropertyDescriptor descType = new TextPropertyDescriptor(PROPERTY_TYPE, Messages.propertyLabelConvertBodyType); PropertyDescriptor descCharset = new TextPropertyDescriptor(PROPERTY_CHARSET, Messages.propertyLabelConvertBodyCharset); descriptors.put(PROPERTY_TYPE, descType); descriptors.put(PROPERTY_CHARSET, descCharset); }
@Override protected void addCustomProperties(Map<String, PropertyDescriptor> descriptors) { super.addCustomProperties(descriptors); PropertyDescriptor descInheritErrorHandler = new BooleanPropertyDescriptor( PROPERTY_INHERITERRORHANDLER, Messages.propertyLabelLoadBalanceInheritErrorHandler); PropertyDescriptor descRef = new TextPropertyDescriptor(PROPERTY_REF, Messages.propertyLabelLoadBalanceRef); PropertyDescriptor descLoadBalancerType = new ComplexUnionPropertyDescriptor( PROPERTY_LOADBALANCERTYPE, Messages.propertyLabelLoadBalanceLoadBalancerType, LoadBalancerDefinition.class, new UnionTypeValue[] { new UnionTypeValue( "failover", org.apache.camel.model.loadbalancer.FailoverLoadBalancerDefinition.class), new UnionTypeValue( "random", org.apache.camel.model.loadbalancer.RandomLoadBalancerDefinition.class), new UnionTypeValue( "custom", org.apache.camel.model.loadbalancer.CustomLoadBalancerDefinition.class), new UnionTypeValue( "roundRobin", org.apache.camel.model.loadbalancer.RoundRobinLoadBalancerDefinition.class), new UnionTypeValue( "sticky", org.apache.camel.model.loadbalancer.StickyLoadBalancerDefinition.class), new UnionTypeValue( "topic", org.apache.camel.model.loadbalancer.TopicLoadBalancerDefinition.class), new UnionTypeValue( "weighted", org.apache.camel.model.loadbalancer.WeightedLoadBalancerDefinition.class), new UnionTypeValue( "circuitBreaker", org.apache.camel.model.loadbalancer.CircuitBreakerLoadBalancerDefinition.class), }); descriptors.put(PROPERTY_INHERITERRORHANDLER, descInheritErrorHandler); descriptors.put(PROPERTY_REF, descRef); descriptors.put(PROPERTY_LOADBALANCERTYPE, descLoadBalancerType); }
/* * (non-Javadoc) * @see org.fusesource.ide.camel.model.AbstractNode#addCustomProperties(java.util.Map) */ @Override protected void addCustomProperties(Map<String, PropertyDescriptor> descriptors) { super.addCustomProperties(descriptors); PropertyDescriptor descExpression = new ExpressionPropertyDescriptor( PROPERTY_EXPRESSION, Messages.propertyLabelDelayExpression); PropertyDescriptor descExecutorServiceRef = new TextPropertyDescriptor( PROPERTY_EXECUTORSERVICEREF, Messages.propertyLabelDelayExecutorServiceRef); PropertyDescriptor descAsyncDelayed = new BooleanPropertyDescriptor( PROPERTY_ASYNCDELAYED, Messages.propertyLabelDelayAsyncDelayed); PropertyDescriptor descCallerRunsWhenRejected = new BooleanPropertyDescriptor( PROPERTY_CALLERRUNSWHENREJECTED, Messages.propertyLabelDelayCallerRunsWhenRejected); descriptors.put(PROPERTY_EXPRESSION, descExpression); descriptors.put(PROPERTY_EXECUTORSERVICEREF, descExecutorServiceRef); descriptors.put(PROPERTY_ASYNCDELAYED, descAsyncDelayed); descriptors.put(PROPERTY_CALLERRUNSWHENREJECTED, descCallerRunsWhenRejected); }