Creates the composite flydown used by this rating control

@see SwatWidget::createCompositeWidgets()
508131
protected function createCompositeWidgets()
    {
        $flydown = new SwatFlydown();
        $flydown->id = $this->id . '_flydown';
        $flydown->serialize_values = false;
        $this->addCompositeWidget($flydown, 'flydown');
    }
44101
public function setCompositeId($v)
    {
        if ($v !== null) {
            $v = (int) $v;
        }

        if ($this->composite_id !== $v) {
            $this->composite_id = $v;
            $this->modifiedColumns[SkillPartTableMap::COL_COMPOSITE_ID] = true;
        }

        if ($this->aSkillRelatedByCompositeId !== null && $this->aSkillRelatedByCompositeId->getId() !== $v) {
            $this->aSkillRelatedByCompositeId = null;
        }

        return $this;
    }
377581
private void useCompositeCheckActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_useCompositeCheckActionPerformed
        // TODO add your handling code here:
        if (useCompositeCheck.isSelected()) {
            compositeLabel.setEnabled(true);
            compositeInputField.setEnabled(true);
            addCompositeButton.setEnabled(true);
        } else {
            compositeLabel.setEnabled(false);
            compositeInputField.setEnabled(false);
            addCompositeButton.setEnabled(false);
        }
        encodeData();
    }
930876
protected Control createContents(Composite parent)
	{
		setTitle("TODO: property title (VdmBreakpointPropertyPage)");
		noDefaultAndApplyButton();
		Composite mainComposite = createComposite(parent, 1);
		createLabels(mainComposite);
		try
		{
			createEnabledButton(mainComposite);
			createHitValueEditor(mainComposite);
			createTypeSpecificEditors(mainComposite);
			// createSuspendPolicyEditor(mainComposite); // Suspend policy is considered uncommon. Add it last.
		} catch (CoreException e)
		{
			;
		}
		setValid(true);
		// if this breakpoint is being created, change the shell title to indicate 'creation'
		try
		{
			if (getBreakpoint().getMarker().getAttribute(ATTR_DELETE_ON_CANCEL) != null)
			{
				getShell().addShellListener(new ShellListener()
				{
					public void shellActivated(ShellEvent e)
					{
						Shell shell = (Shell) e.getSource();
						shell.setText("TEXT HERE (VdmBreakpointPropertyPage)");// MessageFormat.format("TODO: property page 10 (VdmBreakpointPropertyPage)",
																				// new
																				// String[]{getName(getBreakpoint())}));
						shell.removeShellListener(this);
					}

					public void shellClosed(ShellEvent e)
					{
					}

					public void shellDeactivated(ShellEvent e)
					{
					}

					public void shellDeiconified(ShellEvent e)
					{
					}

					public void shellIconified(ShellEvent e)
					{
					}
				});
			}
		} catch (CoreException e)
		{
		}
		return mainComposite;
	}
795058
private JoinableResourceBundleContent postProcessJoinedCompositeBundle(CompositeResourceBundle composite,
			StringBuffer content, BundleProcessingStatus status) {

		JoinableResourceBundleContent store = new JoinableResourceBundleContent();
		StringBuffer processedContent = null;
		status.setProcessingType(BundleProcessingStatus.BUNDLE_PROCESSING_TYPE);
		ResourceBundlePostProcessor bundlePostProcessor = composite.getBundlePostProcessor();
		if (null != bundlePostProcessor) {

			processedContent = bundlePostProcessor.postProcessBundle(status, content);
		} else if (null != this.compositePostProcessor) {

			processedContent = this.compositePostProcessor.postProcessBundle(status, content);
		} else {
			processedContent = content;
		}

		store.setContent(processedContent);

		return store;
	}
1115090
protected function createCompositeWidgets()
    {
        if ($this->display_parts & self::YEAR) {
            $this->addCompositeWidget(
                $this->createYearFlydown(),
                'year_flydown'
            );
        }

        if ($this->display_parts & self::MONTH) {
            $this->addCompositeWidget(
                $this->createMonthFlydown(),
                'month_flydown'
            );
        }

        if ($this->display_parts & self::DAY) {
            $this->addCompositeWidget($this->createDayFlydown(), 'day_flydown');
        }

        if ($this->display_parts & self::TIME) {
            $this->addCompositeWidget($this->createTimeEntry(), 'time_entry');
        }

        if ($this->display_parts & self::CALENDAR) {
            $this->addCompositeWidget($this->createCalendar(), 'calendar');
        }
    }
49522
public function createFromScratch($options = [
    'base-branch' => self::BLT_DEV_BRANCH,
    'project-dir' => self::BLT_PROJECT_DIR,
    'vm' => TRUE,
  ]) {
    $test_project_dir = $this->bltRoot . "/" . $options['project-dir'];
    $bin = $test_project_dir . "/vendor/bin";
    $this->prepareTestProjectDir($test_project_dir);
    $this->taskFilesystemStack()->mkdir("$test_project_dir")->run();
    $this->taskExecStack()
      ->dir($test_project_dir)
      ->exec("composer init --name=acme/project --stability=dev --no-interaction")
      ->exec("composer config prefer-stable true")
      ->exec("git init")
      ->exec("git add -A")
      ->exec("git commit -m \"Initial commit.\"")
      ->run();
    $task = $this->taskExecStack()
      ->dir($test_project_dir)
      // BLT is the only dependency at this point. Install it.
      ->exec("composer require acquia/blt {$options['base-branch']}-dev");
    if ($options['vm']) {
      $task->exec("$bin/blt vm --no-boot --no-interaction -v");
    }
    $task->run();
  }
405680
protected Composite createComposite(Composite parent, int numColumns)
	{
		return SWTFactory.createComposite(parent, parent.getFont(), numColumns, 1, GridData.FILL_HORIZONTAL, 0, 0);
	}
657100
public function createComposite(array $names)
    {
        if (empty($names)) {
            throw new \InvalidArgumentException('Reporter names cannot be empty.');
        }

        return new CompositeReporter(
            array_merge(
                [$this->createWithOutput($this->output, array_shift($names))],
                array_map(function ($name) {
                    return $this->createWithOutput(new BufferedOutput(), $name);
                }, $names)
            ),
            $this->configuration,
            $this->output,
            $this->eventEmitter
        );
    }
83324
private JoinableResourceBundle buildCompositeResourcebundle(ResourceBundleDefinition definition,
			List<JoinableResourceBundle> childBundles) {

		if (LOGGER.isDebugEnabled())
			LOGGER.debug("Init composite bundle with id:" + definition.getBundleId());

		validateBundleId(definition);

		InclusionPattern include = new InclusionPattern(definition.isGlobal(), definition.getInclusionOrder(),
				DebugInclusion.get(definition.isDebugOnly(), definition.isDebugNever()));

		CompositeResourceBundle composite = new CompositeResourceBundle(definition.getBundleId(),
				definition.getBundleName(), childBundles, include, resourceReaderHandler, definition.getBundlePrefix(),
				fileExtension, jawrConfig.getGeneratorRegistry());
		if (null != definition.getBundlePostProcessorKeys())
			composite.setBundlePostProcessor(
					chainFactory.buildPostProcessorChain(definition.getBundlePostProcessorKeys()));

		if (null != definition.getUnitaryPostProcessorKeys())
			composite.setUnitaryPostProcessor(
					chainFactory.buildPostProcessorChain(definition.getUnitaryPostProcessorKeys()));

		if (null != definition.getIeConditionalExpression())
			composite.setExplorerConditionalExpression(definition.getIeConditionalExpression());

		if (null != definition.getAlternateProductionURL())
			composite.setAlternateProductionURL(definition.getAlternateProductionURL());

		// if (null != definition.getVariants())
		// composite.setVariants(definition.getVariants());

		if (null != definition.getDependencies() && !definition.getDependencies().isEmpty())
			bundleDefinitionsWithDependencies.add(definition);

		return composite;
	}
142376
private static function create_composite_command( $parent, $name, $callable ) {
		$reflection  = new ReflectionClass( $callable );
		$doc_comment = self::get_doc_comment( $reflection );
		if ( ! $doc_comment ) {
			\WP_CLI::debug( null === $doc_comment ? "Failed to get doc comment for {$name}." : "No doc comment for {$name}.", 'commandfactory' );
		}
		$docparser = new \WP_CLI\DocParser( $doc_comment );

		$container = new CompositeCommand( $parent, $name, $docparser );

		foreach ( $reflection->getMethods() as $method ) {
			if ( ! self::is_good_method( $method ) ) {
				continue;
			}

			$class      = is_object( $callable ) ? $callable : $reflection->name;
			$subcommand = self::create_subcommand( $container, false, array( $class, $method->name ), $method );

			$subcommand_name = $subcommand->get_name();

			$container->add_subcommand( $subcommand_name, $subcommand );
		}

		return $container;
	}
233766
public function createComponentAction()
    {
        $componentData = Binput::get('component');
        $tags = Arr::pull($componentData, 'tags');

        try {
            $component = execute(new CreateComponentCommand(
                $componentData['name'],
                $componentData['description'],
                $componentData['status'],
                $componentData['link'],
                $componentData['order'],
                $componentData['group_id'],
                $componentData['enabled'],
                null // Meta data cannot be supplied through the dashboard yet.
            ));
        } catch (ValidationException $e) {
            return cachet_redirect('dashboard.components.create')
                ->withInput(Binput::all())
                ->withTitle(sprintf('%s %s', trans('dashboard.notifications.whoops'), trans('dashboard.components.add.failure')))
                ->withErrors($e->getMessageBag());
        }

        // The component was added successfully, so now let's deal with the tags.
        Collection::make(preg_split('/ ?, ?/', $tags))->map(function ($tag) {
            return trim($tag);
        })->map(function ($tag) {
            return execute(new CreateTagCommand($tag));
        })->each(function ($tag) use ($component) {
            execute(new ApplyTagCommand($component, $tag));
        });

        return cachet_redirect('dashboard.components')
            ->withSuccess(sprintf('%s %s', trans('dashboard.notifications.awesome'), trans('dashboard.components.add.success')));
    }
1006856
private function prepareReplacements()
    {
        $usesString = '';
        foreach ($this->modelReplacements[':uses'] as $use) {
            $usesString .= 'use '.$use.';'.PHP_EOL;
        }
        $this->modelReplacements[':uses'] = $usesString;

        $this->modelReplacements[':implementations'] = ! empty($this->modelReplacements[':implementations']) ?
            'implements '.implode(', ', $this->modelReplacements[':implementations']) : '';

        $this->modelReplacements[':traits'] = ! empty($this->modelReplacements[':traits']) ?
            'use '.implode(', ', $this->modelReplacements[':traits']).';' : '';
    }
983713
private void onCompositeColumns(CQLTranslator translator, List<ColumnInfo> compositeColumns,
            StringBuilder queryBuilder, List<ColumnInfo> columns, boolean isCounterColumnFamily)
    {
        MetamodelImpl metaModel = (MetamodelImpl) kunderaMetadata.getApplicationMetadata().getMetamodel(
                puMetadata.getPersistenceUnitName());
        for (ColumnInfo colInfo : compositeColumns)
        {
            if (columns == null || (columns != null && !columns.contains(colInfo)))
            {
                String cqlType = null;
                if (isCounterColumnFamily)
                {
                    cqlType = "counter";
                    translator.appendColumnName(queryBuilder, colInfo.getColumnName(), cqlType);
                    queryBuilder.append(Constants.SPACE_COMMA);
                }
                // check for composite partition keys #734
                else if (colInfo.getType().isAnnotationPresent(Embeddable.class))
                {
                    EmbeddableType embeddedObject = (EmbeddableType) metaModel.embeddable(colInfo.getType());
                    for (Field embeddedColumn : colInfo.getType().getDeclaredFields())
                    {
                        if (!ReflectUtils.isTransientOrStatic(embeddedColumn))
                        {
                            validateAndAppendColumnName(translator, queryBuilder,
                                    ((AbstractAttribute) embeddedObject.getAttribute(embeddedColumn.getName()))
                                            .getJPAColumnName(), embeddedColumn.getType());
                        }
                    }

                }
                else
                {
                    validateAndAppendColumnName(translator, queryBuilder, colInfo.getColumnName(), colInfo.getType());
                }

            }
        }
    }
86642
public static ByComposite composite(By.ByTagName b0, By.ByClassName b1) {
        return new ByComposite(b0, b1);
    }
561618
private void fillCompositeWithGivenValues(CompositeType pType, Map<String, Object> pCompositeValues, Map<String, Object> pSourceJson) {
        for (Map.Entry<String,Object> entry : pSourceJson.entrySet()) {
            String key = entry.getKey();
            Object value = entry.getValue();

            if (!pType.containsKey(key)) {
                throw new IllegalArgumentException(
                        "Conversion to CompositeType failed because " + key + " is not known as composite attribute key.");
            }
            if (value != null) {
                Object convertedValue = getDispatcher().convertToObject(pType.getType(key),value);
                pCompositeValues.put(key, convertedValue);
            }
        }
    }
517376
protected function createComponentPageAddModal() : object
    {
        $control = $this->IPage_AddModal->create();

        $control->onOpen[] = function () use ($control)
        {
            $control->redrawControl('pageAddForm');
        };

        return $control;
    }