Package org.eclipse.search.ui.text

Examples of org.eclipse.search.ui.text.MatchEvent


                //If postUpdate was protected, that'd be a good alternative too.
                Field field = AbstractTextSearchViewPage.class.getDeclaredField("fBatchedUpdates");
                field.setAccessible(true);
                Set set = (Set) field.get(this);

                MatchEvent matchEvent = ((MatchEvent) e);
                Match[] matches = matchEvent.getMatches();
                for (int i = 0; i < matches.length; i++) {
                    set.add(matches[i].getElement());
                }

                evaluateChangedElements(matches, set);
View Full Code Here

TOP

Related Classes of org.eclipse.search.ui.text.MatchEvent

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.