Package org.apache.ivyde.eclipse.ui.core.model

Examples of org.apache.ivyde.eclipse.ui.core.model.IvyTagAttribute


            errorMessage = null;
            List atts = tag.getAttributes();
            Map existingAtts = ivyfile.getAllAttsValues();
            // Loop through all proposals
            for (Iterator iter = atts.iterator(); iter.hasNext();) {
                IvyTagAttribute att = (IvyTagAttribute) iter.next();
                if (att.getName().startsWith(qualifier) && !existingAtts.containsKey(att.getName())) {
                    // Yes -- compute whole proposal text
                    String text = att.getName() + "=\"\"";
                    // Construct proposal
                    CompletionProposal proposal = new CompletionProposal(text, ivyfile.getOffset()
                            - qlen, qlen + selectedRange.y, text.length() - 1, null, att.getName(),
                            null, att.getDoc());
                    // and add to result list
                    propList.add(proposal);
                }
            }
        }
View Full Code Here

TOP

Related Classes of org.apache.ivyde.eclipse.ui.core.model.IvyTagAttribute

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.