Package org.eclipse.ui.views.properties

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


          descriptors = new IPropertyDescriptor[] {
              new TextPropertyDescriptor(NAME, "Name"),
              new TextPropertyDescriptor(VERSION, "Version"),
              new TextPropertyDescriptor(ID, "Id"),
              new TextPropertyDescriptor(PACKAGE_NAME, "Package"),
              new ComboBoxPropertyDescriptor(ROUTER_LAYOUT, "Connection Layout",
                  new String[] { "Manual", "Manhattan", "Shortest Path" }),
              new ListPropertyDescriptor(VARIABLES, "Variables", VariableListCellEditor.class),
              new ListPropertyDescriptor(SWIMLANES, "Swimlanes",
                  SwimlanesCellEditor.class),
              new ExceptionHandlersPropertyDescriptor(EXCEPTION_HANDLERS,
View Full Code Here


            descriptors[oldDescriptors.length + (i++)] =
                new TextPropertyDescriptor(def.getName(), def.getName());
        }
        if (fullProps) {
          descriptors[descriptors.length - 5] =
              new ComboBoxPropertyDescriptor(WAIT_FOR_COMPLETION, "Wait for completion", new String[] {"true", "false"});
        }
        descriptors[descriptors.length - 4] = getOnEntryPropertyDescriptor();
        descriptors[descriptors.length - 3] = getOnExitPropertyDescriptor();
        descriptors[descriptors.length - 2] =
            new WorkItemParameterMappingPropertyDescriptor(PARAMETER_MAPPING, "Parameter Mapping", getWorkItemNode());
View Full Code Here

    
    private void setDescriptors() {
        descriptors = new IPropertyDescriptor[AbstractNodeWrapper.DESCRIPTORS.length + 1];
        System.arraycopy(AbstractNodeWrapper.DESCRIPTORS, 0, descriptors, 0, AbstractNodeWrapper.DESCRIPTORS.length);
        descriptors[descriptors.length - 1] =
            new ComboBoxPropertyDescriptor(TYPE, "Type",
                new String[] { "", "AND", "XOR", "OR" });
    }
View Full Code Here

        descriptors = new IPropertyDescriptor[] {
            new TextPropertyDescriptor(NAME, "Name"),
            new TextPropertyDescriptor(VERSION, "Version"),
            new TextPropertyDescriptor(ID, "Id"),
            new TextPropertyDescriptor(PACKAGE_NAME, "Package"),
            new ComboBoxPropertyDescriptor(ROUTER_LAYOUT, "Connection Layout",
                new String[] { "Manual", "Manhattan", "Shortest Path" }),
            new ListPropertyDescriptor(VARIABLES, "Variables", VariableListCellEditor.class),
            new ListPropertyDescriptor(SWIMLANES, "Swimlanes",
                SwimlanesCellEditor.class),
            new ExceptionHandlersPropertyDescriptor(EXCEPTION_HANDLERS,
View Full Code Here

    private void setDescriptors() {
        descriptors = new IPropertyDescriptor[AbstractNodeWrapper.DESCRIPTORS.length + 1];
        System.arraycopy(AbstractNodeWrapper.DESCRIPTORS, 0, descriptors, 0, AbstractNodeWrapper.DESCRIPTORS.length);
        descriptors[descriptors.length - 1] =
            new ComboBoxPropertyDescriptor(TYPE, "Type", new String[] { "", "AND", "XOR", "Discriminator", "n-of-m" });
    }
View Full Code Here

                new TextPropertyDescriptor(def.getName(), def.getName());
        }
        descriptors[descriptors.length - 5] = getOnEntryPropertyDescriptor();
        descriptors[descriptors.length - 4] = getOnExitPropertyDescriptor();
        descriptors[descriptors.length - 3] =
            new ComboBoxPropertyDescriptor(WAIT_FOR_COMPLETION, "Wait for completion", new String[] {"true", "false"});
        descriptors[descriptors.length - 2] =
            new WorkItemParameterMappingPropertyDescriptor(PARAMETER_MAPPING, "Parameter Mapping", getWorkItemNode());
        descriptors[descriptors.length - 1] =
            new WorkItemResultMappingPropertyDescriptor(RESULT_MAPPING, "Result Mapping", getWorkItemNode());
    }
View Full Code Here

        descriptors[descriptors.length - 5] =
            new SubProcessParameterInMappingPropertyDescriptor(PARAMETER_IN_MAPPING, "Parameter In Mapping", getSubProcessNode());
        descriptors[descriptors.length - 4] =
            new SubProcessParameterOutMappingPropertyDescriptor(PARAMETER_OUT_MAPPING, "Parameter Out Mapping", getSubProcessNode());
        descriptors[descriptors.length - 3] =
            new ComboBoxPropertyDescriptor(INDEPENDENT, "Independent", new String[] {"true", "false"});
        descriptors[descriptors.length - 2] =
            new TextPropertyDescriptor(PROCESS_ID, "ProcessId");
        descriptors[descriptors.length - 1] =
            new ComboBoxPropertyDescriptor(WAIT_FOR_COMPLETION, "Wait for completion", new String[] {"true", "false"});
    }
View Full Code Here

            
             desc = new TextPropertyDescriptor(rotateID, "Rotate");
             desc.setCategory("Geometry");
             properties.add(desc);
            
             ComboBoxPropertyDescriptor combo = new ComboBoxPropertyDescriptor(flipHorizontal, "Flip horizontal", bool);
             desc.setCategory("Geometry");
             properties.add(combo);
            
             combo = new ComboBoxPropertyDescriptor(flipVertical, "Flip vertical", bool);
             desc.setCategory("Geometry");
             properties.add(combo);
         }
         return properties.toArray(new IPropertyDescriptor[0]);
View Full Code Here

    @Override
    public List<IPropertyDescriptor> getCustomPropertyDescriptors() {
        List<IPropertyDescriptor> list = super.getCustomPropertyDescriptors();
        List<String> definitionNames = ProcessCache.getAllProcessDefinitionNames();
        String[] items = definitionNames.toArray(new String[definitionNames.size()]);
        list.add(new ComboBoxPropertyDescriptor(PROPERTY_SUBPROCESS, Messages.getString("Subprocess.Name"), items));
        return list;
    }
View Full Code Here

    @Override
    protected List<IPropertyDescriptor> getCustomPropertyDescriptors() {
        List<IPropertyDescriptor> list = super.getCustomPropertyDescriptors();
        List<String> swimlaneNames = getProcessDefinition().getSwimlaneNames();
        String[] arr = swimlaneNames.toArray(new String[swimlaneNames.size()]);
        list.add(new ComboBoxPropertyDescriptor(PROPERTY_SWIMLANE, Messages.getString("SwimlanedNode.property.swimlane"), arr));
        return list;
    }
View Full Code Here

TOP

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

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.