diff options
author | kwilk | 2011-01-11 20:40:39 +0000 |
---|---|---|
committer | Ryan D. Brooks | 2011-01-11 20:40:39 +0000 |
commit | e2214eee6e3126d291381989234dd6f92c157d12 (patch) | |
tree | 109889b99cbaeffeda38887c8b155bb288308986 /plugins/org.eclipse.osee.framework.ui.branch.graph/src/org/eclipse | |
parent | 65da98278455193b5f4dfd5664371015e3e48c44 (diff) | |
download | org.eclipse.osee-e2214eee6e3126d291381989234dd6f92c157d12.tar.gz org.eclipse.osee-e2214eee6e3126d291381989234dd6f92c157d12.tar.xz org.eclipse.osee-e2214eee6e3126d291381989234dd6f92c157d12.zip |
bug[bgz_333909]: Fix for setFocus() problem in widgets inheriting from XWidget and ViewPart
Diffstat (limited to 'plugins/org.eclipse.osee.framework.ui.branch.graph/src/org/eclipse')
-rw-r--r-- | plugins/org.eclipse.osee.framework.ui.branch.graph/src/org/eclipse/osee/framework/ui/branch/graph/core/BranchGraphEditor.java | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.framework.ui.branch.graph/src/org/eclipse/osee/framework/ui/branch/graph/core/BranchGraphEditor.java b/plugins/org.eclipse.osee.framework.ui.branch.graph/src/org/eclipse/osee/framework/ui/branch/graph/core/BranchGraphEditor.java index a923a3bf918..f61c3df8a8f 100644 --- a/plugins/org.eclipse.osee.framework.ui.branch.graph/src/org/eclipse/osee/framework/ui/branch/graph/core/BranchGraphEditor.java +++ b/plugins/org.eclipse.osee.framework.ui.branch.graph/src/org/eclipse/osee/framework/ui/branch/graph/core/BranchGraphEditor.java @@ -44,6 +44,7 @@ import org.eclipse.osee.framework.ui.branch.graph.model.GraphCache; import org.eclipse.osee.framework.ui.branch.graph.operation.LoadGraphOperation; import org.eclipse.osee.framework.ui.branch.graph.parts.GraphEditPartFactory; import org.eclipse.swt.SWT; +import org.eclipse.swt.widgets.Control; import org.eclipse.ui.IEditorInput; import org.eclipse.ui.IEditorSite; import org.eclipse.ui.PartInitException; @@ -78,6 +79,10 @@ public class BranchGraphEditor extends GraphicalEditorWithFlyoutPalette { @Override public void setFocus() { + Control control = overviewOutlinePage.getControl(); + if (control != null) { + control.setFocus(); + } } public void showGraphFor(BranchGraphEditorInput editorInput) { @@ -107,14 +112,16 @@ public class BranchGraphEditor extends GraphicalEditorWithFlyoutPalette { @Override public void doSave(IProgressMonitor monitor) { + OseeLog.log(BranchGraphEditor.class, Level.WARNING, "method not implemented!"); } @Override public void doSaveAs() { + OseeLog.log(BranchGraphEditor.class, Level.WARNING, "method not implemented!"); } @Override - public void init(IEditorSite site, IEditorInput input) throws PartInitException { + public void init(IEditorSite site, IEditorInput input) { setSite(site); setInput(input); } @@ -204,6 +211,7 @@ public class BranchGraphEditor extends GraphicalEditorWithFlyoutPalette { @Override protected void initializeGraphicalViewer() { + OseeLog.log(BranchGraphEditor.class, Level.WARNING, "method not implemented!"); } @Override |