Package com.volantis.mcs.eclipse.ab.core

Examples of com.volantis.mcs.eclipse.ab.core.AttributesComposite


    /**
     * Simple test of building the composite using a PolicyAttributesDetails.
     */
    public void testBuildingComposite() throws Exception {
        final Shell shell = new Shell(SWT.NONE);
        AttributesComposite parent = new AttributesComposite(shell, SWT.NONE);

        AttributesDetails attributesDetails =
                new PolicyAttributesDetails("assetGroup", false);

        AttributesComposite result = AttributesCompositeBuilder.getSingleton().
                buildAttributesComposite(parent, attributesDetails,
                        (IProject) null, null);

        assertNotNull("Should not be null", result);
        String [] attributeNames = result.getAttributeNames();
        assertEquals("Size should match: " + result, 2,
                attributeNames.length);

        List properties = new ArrayList();
        properties.add("prefixURL");       
View Full Code Here

TOP

Related Classes of com.volantis.mcs.eclipse.ab.core.AttributesComposite

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.