Package org.eclipse.core.internal.resources

Examples of org.eclipse.core.internal.resources.File.createMarker()


                    HashMap map = new HashMap();
                    map.put(IMarker.LINE_NUMBER, new Integer(myFile));
                    map.put(IWorkbenchPage.EDITOR_ID_ATTR,
                            "org.eclipse.wst.xml.ui.internal.tabletree.XMLMultiPageEditorPart");
                    IMarker marker = file.createMarker(IMarker.TEXT);
                    marker.setAttributes(map);
                    //page.openEditor(marker); //2.1 API
                    IDE.openEditor(activePage, marker);

                }
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.