Package net.sourceforge.torchlight.core.data

Examples of net.sourceforge.torchlight.core.data.ITorchlightEditorInput


                ExtensionManager extMgr = ExtensionManager.getExtensionManager();

                String editorId = extMgr.findEditor("org.eclipse.ui.editors", (Campaign)item);
                logger.debug("editorId: " + editorId);

                ITorchlightEditorInput input = extMgr.createEditorInput(editorId, (Campaign)item);
                logger.trace("input: " + input);

                PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().openEditor(input, editorId, true, IWorkbenchPage.MATCH_ID | IWorkbenchPage.MATCH_INPUT);
            }
            catch(Exception e)
View Full Code Here

TOP

Related Classes of net.sourceforge.torchlight.core.data.ITorchlightEditorInput

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.