Package org.apache.sling.ide.eclipse.ui.nav.model

Examples of org.apache.sling.ide.eclipse.ui.nav.model.JcrNode.validateDrop()


    @Override
    public IStatus validateDrop(Object target, int operation,
            TransferData transferType) {
        if (target instanceof JcrNode) {
            JcrNode jcrNode = (JcrNode)target;
            IStatus result = jcrNode.validateDrop(operation, transferType);
            if (!result.isOK()) {
                // check for details to be shown in the status bar
                final String message = result.getMessage();
                if (message!=null && message.trim().length()>0) {
                    StatusLineUtils.setErrorMessage(2000, message);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.