Package org.locationtech.udig.project

Examples of org.locationtech.udig.project.ILegendItem


        @Override
        public void checkStateChanged( CheckStateChangedEvent event ) {
            final Object eventObj = event.getElement();
            if (eventObj instanceof ILegendItem) {
                final ILegendItem item = (ILegendItem) eventObj;
                final boolean isChecked = event.getChecked();
                setVisibilityState(item, isChecked);
                LegendViewCheckboxUtils.updateCheckboxes(LegendView.this);
            }
        }
View Full Code Here


     * Performs moving in the source object into a folder.
     *
     * @param source
     */
    private void moveIn(Object source) {
        final ILegendItem sourceItem = (ILegendItem) source;
        final Folder folder = (Folder) target;
        folder.getItems().add(sourceItem);
    }
View Full Code Here

     * @param source
     * @param location
     */
    private void move(Object source, ViewerDropLocation location) {

        final ILegendItem sourceItem = (ILegendItem) source;
       
        final List<ILegendItem> sourceSiblings = getSiblings(source);
        final List<ILegendItem> targetSiblings = getSiblings(target);

        if (sourceSiblings == targetSiblings) {
View Full Code Here

TOP

Related Classes of org.locationtech.udig.project.ILegendItem

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.