Package org.locationtech.udig.jconsole

Examples of org.locationtech.udig.jconsole.JavaFileEditorInput$WorkbenchAdapter


            File parentFolder = f.getParentFile();
            JConsolePlugin.getDefault().setLastOpenFolder(parentFolder.getAbsolutePath());

            for( String fileName : fileNames ) {
                File tmpFile = new File(parentFolder, fileName);
                JavaFileEditorInput jFile = new JavaFileEditorInput(tmpFile);
                PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().openEditor(jFile, JavaEditor.ID);
            }
        } catch (Exception e) {
            e.printStackTrace();
        }
View Full Code Here


            }

            File parentFolder = f.getParentFile();
            JConsolePlugin.getDefault().setLastOpenFolder(parentFolder.getAbsolutePath());

            JavaFileEditorInput jFile = new JavaFileEditorInput(f);
            PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().openEditor(jFile, JavaEditor.ID);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
View Full Code Here

TOP

Related Classes of org.locationtech.udig.jconsole.JavaFileEditorInput$WorkbenchAdapter

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.