Package org.guvnor.common.services.workingset.client.model

Examples of org.guvnor.common.services.workingset.client.model.WorkingSetSettings


//            } ).loadWorkingSetConfig( projectReference.getK1() );
//        }
    }

    public void onWorkingSetDisabled( @Observes final OnWorkingSetDisabled event ) {
        final WorkingSetSettings settings = getActiveSettings( event.getResource() );
        if ( settings != null ) {
            settings.removeWorkingSet( event.getWorkingSet() );
        }
    }
View Full Code Here


     * Returns the active WorkingSets for a package, or null if any.
     * @param resource the resource - part of a project
     * @return the active WorkingSets for a package, or null if any.
     */
    public Collection<WorkingSetConfigData> getActiveWorkingSets( final Path resource ) {
        final WorkingSetSettings result = getActiveSettings( resource );
        if ( result == null ) {
            return null;
        }
        return result.getConfigData();
    }
View Full Code Here

     * @param workingSet the (WorkingSet) RuleSet
     * @return whether the given (WorkingSet) RuleSet is active in a project or not.
     */
    public boolean isWorkingSetActive( final Path resource,
                                       final Path workingSet ) {
        final WorkingSetSettings result = getActiveSettings( resource );
        if ( result == null ) {
            return false;
        }

        return result.getResources().contains( workingSet );
    }
View Full Code Here

        this.sessionInfo = new SafeSessionInfo( sessionInfo );
    }

    public WorkingSetSettings loadWorkingSetConfig( final Path project ) {
        //TODO {porcelli}
        return new WorkingSetSettings();
    }
View Full Code Here

    }

    @Override
    public WorkingSetSettings loadWorkingSetConfig( final Path project ) {
        //TODO {porcelli}
        return new WorkingSetSettings();
    }
View Full Code Here

    }

    @Override
    public WorkingSetSettings loadWorkingSetConfig( final Path project ) {
        //TODO {porcelli}
        return new WorkingSetSettings();
    }
View Full Code Here

//            } ).loadWorkingSetConfig( projectReference.getK1() );
//        }
    }

    public void onWorkingSetDisabled( @Observes final OnWorkingSetDisabled event ) {
        final WorkingSetSettings settings = getActiveSettings( event.getResource() );
        if ( settings != null ) {
            settings.removeWorkingSet( event.getWorkingSet() );
        }
    }
View Full Code Here

     * Returns the active WorkingSets for a package, or null if any.
     * @param resource the resource - part of a project
     * @return the active WorkingSets for a package, or null if any.
     */
    public Collection<WorkingSetConfigData> getActiveWorkingSets( final Path resource ) {
        final WorkingSetSettings result = getActiveSettings( resource );
        if ( result == null ) {
            return null;
        }
        return result.getConfigData();
    }
View Full Code Here

     * @param workingSet the (WorkingSet) RuleSet
     * @return whether the given (WorkingSet) RuleSet is active in a project or not.
     */
    public boolean isWorkingSetActive( final Path resource,
                                       final Path workingSet ) {
        final WorkingSetSettings result = getActiveSettings( resource );
        if ( result == null ) {
            return false;
        }

        return result.getResources().contains( workingSet );
    }
View Full Code Here

//            } ).loadWorkingSetConfig( projectReference.getK1() );
//        }
    }

    public void onWorkingSetDisabled( @Observes final OnWorkingSetDisabled event ) {
        final WorkingSetSettings settings = getActiveSettings( event.getResource() );
        if ( settings != null ) {
            settings.removeWorkingSet( event.getWorkingSet() );
        }
    }
View Full Code Here

TOP

Related Classes of org.guvnor.common.services.workingset.client.model.WorkingSetSettings

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.