commit | 2c85c2c0256e11f8a1c4096bf42639ec58e20e18 | [log] [tgz] |
---|---|---|
author | jpasch <juergen.pasch@sap.com> | Wed May 09 11:24:12 2012 +0200 |
committer | jpasch <juergen.pasch@sap.com> | Wed May 09 11:24:46 2012 +0200 |
tree | 5042ce66be0697b9ccc7084a93cd6db38903ba42 | |
parent | 9e90917840434fdf8a550f71c6c7f35d5c73fcc9 [diff] |
Bug 359227: provide link to activate editor; add JavaDoc
diff --git a/examples/org.eclipse.graphiti.examples.common/src/org/eclipse/graphiti/examples/common/navigator/EditorLinkHelper.java b/examples/org.eclipse.graphiti.examples.common/src/org/eclipse/graphiti/examples/common/navigator/EditorLinkHelper.java index c22cc9b..a8b46b9 100644 --- a/examples/org.eclipse.graphiti.examples.common/src/org/eclipse/graphiti/examples/common/navigator/EditorLinkHelper.java +++ b/examples/org.eclipse.graphiti.examples.common/src/org/eclipse/graphiti/examples/common/navigator/EditorLinkHelper.java
@@ -59,6 +59,9 @@ return StructuredSelection.EMPTY; } + /** + * Links IFile to FileEditorInput. + */ public void activateEditor(IWorkbenchPage aPage, IStructuredSelection aSelection) { if (aSelection == null || aSelection.isEmpty()) { return;