Package org.eclipse.ui.dialogs

Examples of org.eclipse.ui.dialogs.SearchPattern.matches()


            SearchPattern headPattern = new SearchPattern();
            headPattern.setPattern(head);
            if (moduleParts.size() == 0) {
                return false; //we cannot match it anymore
            }
            if (!headPattern.matches(moduleParts.remove(0))) {
                return false;
            }
        }
        //if it got here, we've matched the module correctly... let's go on and check the name.
View Full Code Here


        }
        //if it got here, we've matched the module correctly... let's go on and check the name.

        SearchPattern tailPattern = new SearchPattern();
        tailPattern.setPattern(split.get(0));
        return tailPattern.matches(info.getName());
    }

    /**
     * Checks if equals considering scopes.
     */
 
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.