Package org.neo4j.neoclipse.property.action

Examples of org.neo4j.neoclipse.property.action.NewAction


     */
    private MenuManager createNewSubmenu( final Composite parent )
    {
        MenuManager addMenuMgr = new MenuManager( "New",
                Icons.NEW_ENABLED.descriptor(), "propertiesAddSubmenu" );
        addMenuMgr.add( new NewAction( parent, this,
                PropertyTransform.getHandler( String.class ) ) );
        addMenuMgr.add( new NewAction( parent, this,
                PropertyTransform.getHandler( Character.class ) ) );
        addMenuMgr.add( new NewAction( parent, this,
                PropertyTransform.getHandler( Long.class ) ) );
        addMenuMgr.add( new NewAction( parent, this,
                PropertyTransform.getHandler( Integer.class ) ) );
        addMenuMgr.add( new NewAction( parent, this,
                PropertyTransform.getHandler( Short.class ) ) );
        addMenuMgr.add( new NewAction( parent, this,
                PropertyTransform.getHandler( Byte.class ) ) );
        addMenuMgr.add( new NewAction( parent, this,
                PropertyTransform.getHandler( Double.class ) ) );
        addMenuMgr.add( new NewAction( parent, this,
                PropertyTransform.getHandler( Float.class ) ) );
        addMenuMgr.add( new NewAction( parent, this,
                PropertyTransform.getHandler( Boolean.class ) ) );
        return addMenuMgr;
    }
View Full Code Here


     */
    private MenuManager createNewArraySubmenu( final Composite parent )
    {
        MenuManager addMenuMgr = new MenuManager( "New[]",
                Icons.NEW_ENABLED.descriptor(), "propertiesArrayAddSubmenu" );
        addMenuMgr.add( new NewAction( parent, this,
                PropertyTransform.getHandler( String[].class ) ) );
        addMenuMgr.add( new NewAction( parent, this,
                PropertyTransform.getHandler( char[].class ) ) );
        addMenuMgr.add( new NewAction( parent, this,
                PropertyTransform.getHandler( long[].class ) ) );
        addMenuMgr.add( new NewAction( parent, this,
                PropertyTransform.getHandler( int[].class ) ) );
        addMenuMgr.add( new NewAction( parent, this,
                PropertyTransform.getHandler( short[].class ) ) );
        addMenuMgr.add( new NewAction( parent, this,
                PropertyTransform.getHandler( byte[].class ) ) );
        addMenuMgr.add( new NewAction( parent, this,
                PropertyTransform.getHandler( double[].class ) ) );
        addMenuMgr.add( new NewAction( parent, this,
                PropertyTransform.getHandler( float[].class ) ) );
        addMenuMgr.add( new NewAction( parent, this,
                PropertyTransform.getHandler( boolean[].class ) ) );
        return addMenuMgr;
    }
View Full Code Here

TOP

Related Classes of org.neo4j.neoclipse.property.action.NewAction

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.