Examples of ListProperty


Examples of org.eclipse.sapphire.ListProperty

                    {
                        for( PropertyDef dropTargetChildProperty : dropTargetNode.getChildNodeFactoryProperties() )
                        {
                            if( dropTargetChildProperty instanceof ListProperty && ! dropTargetChildProperty.isReadOnly() )
                            {
                                final ListProperty dropTargetChildListProperty = (ListProperty) dropTargetChildProperty;
                               
                                boolean compatible = true;
                               
                                final Set<ElementType> possibleListElementTypes = dropTargetChildListProperty.service( PossibleTypesService.class ).types();
                               
                                for( final ElementData droppedElement : droppedElements )
                                {
                                    if( ! possibleListElementTypes.contains( droppedElement.type() ) )
                                    {
View Full Code Here

Examples of org.eclipse.sapphire.ListProperty

    private boolean refreshing;
   
    @Override
    protected void initPossibleValuesService()
    {
        final ListProperty listProperty = context( ListProperty.class );
        final ValueProperty listMemberValueProperty = (ValueProperty) listProperty.getType().properties().first();
       
        this.base = listMemberValueProperty.service( PossibleValuesService.class );
       
        this.listener = new Listener()
        {
View Full Code Here

Examples of org.eclipse.sapphire.ListProperty

    private boolean refreshing;
   
    @Override
    protected void initCollationService()
    {
        final ListProperty listProperty = context( ListProperty.class );
        final ValueProperty listMemberValueProperty = (ValueProperty) listProperty.getType().properties().first();
       
        this.base = listMemberValueProperty.service( CollationService.class );
       
        this.listener = new Listener()
        {
View Full Code Here

Examples of org.rhq.core.clientapi.descriptor.configuration.ListProperty

            return ret;
        }

        private static ListProperty convertList(PropertyDefinitionList def) {
            ListProperty ret = new ListProperty();
            setCommonProps(ret, def, false);
            ConfigurationProperty memberDefinition = convertDefinition(def.getMemberDefinition());
            ret.setConfigurationProperty(new JAXBElement<ConfigurationProperty>(getTagName(memberDefinition),
                ConfigurationProperty.class, memberDefinition));

            return ret;
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.