Package org.eclipse.ui.views.properties

Examples of org.eclipse.ui.views.properties.PropertyDescriptor


    @Override
    protected List<IPropertyDescriptor> getCustomPropertyDescriptors() {
        List<IPropertyDescriptor> list = new ArrayList<IPropertyDescriptor>();
        list.add(new StartImagePropertyDescriptor("startProcessImage", Messages.getString("ProcessDefinition.property.startImage")));
        list.add(new PropertyDescriptor(PROPERTY_JPDL_VERSION, Messages.getString("ProcessDefinition.property.jpdlVersion")));
        return list;
    }
View Full Code Here


    }

    @Override
    public List<IPropertyDescriptor> getCustomPropertyDescriptors() {
        List<IPropertyDescriptor> list = new ArrayList<IPropertyDescriptor>();
        list.add(new PropertyDescriptor(PROPERTY_PUBLIC_VISIBILITY, Messages.getString("Variable.property.publicVisibility")));
        return list;
    }
View Full Code Here

    public List<IPropertyDescriptor> getCustomPropertyDescriptors() {
        List<IPropertyDescriptor> list = super.getCustomPropertyDescriptors();
        if (timerExist() && !hasTimeoutTransition()) {
            list.add(new TimerActionPropertyDescriptor(PROPERTY_TIMER_ACTION, Messages.getString("Timer.action"), this));
        }
        list.add(new PropertyDescriptor(PROPERTY_IGNORE_SUBSTITUTION, Messages.getString("property.ignoreSubstitution")));
        return list;
    }
View Full Code Here

            if (pd != null)
              result.add(new PropertyDescriptorWrapper(_element,
                  pd));// ,
              // getStatusLineManager()));
            else {
              final PropertyDescriptor pd1 = new TextPropertyDescriptor(
                  attr.getName(), attr.getName());
              pd1.setDescription(attr.getDescription());
              pd1.setCategory(ITabbedPropertiesConstants.OTHER_CATEGORY);
              result.add(new PropertyDescriptorWrapper(_element,
                  pd1));// ,
              // getStatusLineManager()));
            }
View Full Code Here

            if (pd != null)
              result.add(new PropertyDescriptorWrapper(_element,
                  pd));// ,
              // getStatusLineManager()));
            else {
              final PropertyDescriptor pd1 = new TextPropertyDescriptor(
                  attr.getName(), attr.getName());
              pd1.setDescription(attr.getDescription());
              pd1.setCategory(ITabbedPropertiesConstants.OTHER_CATEGORY);
              result.add(new PropertyDescriptorWrapper(_element,
                  pd1));// ,
              // getStatusLineManager()));
            }
View Full Code Here

        Constraint constraint = vertex.getConstraint();
        if ( constraint == null ) {
            return;
        }
        IPropertyDescriptor prop = new PropertyDescriptor( CONSTRAINT,
                                                           CONSTRAINT_CAP );
        addProperty( prop,
                     constraint.toString(),
                     descriptorList,
                     valueMap );
View Full Code Here

        if ( constraints == null ) {
            return;
        }

        for ( int i = 0, length = constraints.length; i < length; i++ ) {
            PropertyDescriptor prop = new PropertyDescriptor( CONSTRAINT + (i + 1),
                                                              CONSTRAINT_CAP + " " + (i + 1) );
            addOther( prop,
                      constraints[i].toString(),
                      descriptorList,
                      valueMap );
View Full Code Here

  @Override
  public IPropertyDescriptor[] getPropertyDescriptors() {
    List<PropertyDescriptor> descriptors = new ArrayList<PropertyDescriptor>();

    PropertyDescriptor descriptor = new PropertyDescriptor(PROP_NAME, PROP_NAME);
    descriptor.setAlwaysIncompatible(true);
    descriptors.add(descriptor);

    descriptor = new PropertyDescriptor(PROP_NAMESPACE, PROP_NAMESPACE);
    descriptor.setAlwaysIncompatible(true);
    descriptors.add(descriptor);


    for (ProcessingElementParameter parameter :
      processingElement.getProcessingElementParameters()) {

      descriptor = new PropertyDescriptor(parameter, parameter.getName());
      descriptor.setAlwaysIncompatible(true);


      if (parameter instanceof InputConnection) descriptor.setCategory(PROP_INPUTS);
      if (parameter instanceof OutputConnection) descriptor.setCategory(PROP_OUTPUTS);


      descriptors.add(descriptor);

      for (AdditionalParameter ap : parameter.getAdditionalParameter() ) {           


        descriptor = new PropertyDescriptor(parameter, ap.getName());
        descriptor.setAlwaysIncompatible(true);

        if (parameter instanceof InputConnection) descriptor.setCategory(PROP_INPUTS);
        if (parameter instanceof OutputConnection) descriptor.setCategory(PROP_OUTPUTS);

        descriptors.add(descriptor);
      }

View Full Code Here

    @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),
View Full Code Here

    @Override
    protected void addCustomProperties(Map<String, PropertyDescriptor> descriptors) {
        super.addCustomProperties(descriptors);

        PropertyDescriptor descUri = new TextPropertyDescriptor(PROPERTY_URI, Messages.propertyLabelInOutUri);

        descriptors.put(PROPERTY_URI, descUri);
    }
View Full Code Here

TOP

Related Classes of org.eclipse.ui.views.properties.PropertyDescriptor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.