Package org.neo4j.neoclipse.reltype

Examples of org.neo4j.neoclipse.reltype.RelationshipTypesProvider


            return EMPTY_REL_ARRAY;
        }
        List<Object> relDirList;
        try
        {
            RelationshipTypesProvider relTypesProvider = RelationshipTypesProviderWrapper.getInstance();
            relDirList = relTypesProvider.getFilteredRelTypesDirections();
        }
        catch ( NotFoundException nfe )
        {
            // (no relationship types found by the provider)
            // we'll end up here when the reltypes are not initialized,
View Full Code Here


        commitAction = new CommitAction( graphView );
        rollbackAction = new RollbackAction( graphView );
        syncAction = new SyncAction( graphView );
        refNodeAction = new ShowReferenceNodeAction( graphView );
        refreshAction = new RefreshAction( graphView );
        RelationshipTypesProvider relTypesProvider = RelationshipTypesProviderWrapper.getInstance();
        addNewActionSet = new ActionSet( relTypesProvider );
        makeContributions();
        registerChangeHandlers();
        showRelationshipColors = graphView.getLabelProvider().getViewSettings().isShowRelationshipColors();
    }
View Full Code Here

    /**
     * Register listeners.
     */
    private void registerChangeHandlers()
    {
        final RelationshipTypesProvider typeProvider = RelationshipTypesProviderWrapper.getInstance();
        typeProvider.addTypeChangeListener( new RelTypesChangeHandler() );
        typeProvider.addTypeRefreshListener( new RelTypeRefreshHandler() );
        graphView.addRelColorChangeListener( new RelTypesColorChangeHandler() );
    }
View Full Code Here

TOP

Related Classes of org.neo4j.neoclipse.reltype.RelationshipTypesProvider

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.