*/\r
public void init(IEditorSite site, IEditorInput input)\r
throws PartInitException {\r
- // bind the session\r
- \r
- \r
if (!(input instanceof IEditorInput))\r
throw new PartInitException(\r
"Invalid Input: Must be IEditorInput");\r
this.provider = new SimpleSelectionProvider();\r
this.getSite().setSelectionProvider(provider);\r
\r
+ \r
+ logger.trace("New Editor instance created.");\r
}\r
\r
public IUndoContext getUndoContext() {\r
this.selectedObject = selectedObject;\r
\r
// set background on selection TODO wanted to move this to setFocus() on the selectedObject but that doesn't work (infinite loop)\r
-// ((GroupedComposite) selectedObject).setSelected();\r
((GroupedComposite) selectedObject).setBackground(Resources.getColor(Resources.COLOR_COMPOSITE_SELECTED));\r
\r
\r
}\r
\r
/**\r
- * \r
+ * Redraws this editor\r
*/\r
public boolean redraw() {\r
\r
public GroupedComposite getFirstGroupedComposite() {\r
return firstGroupedComposite;\r
}\r
- \r
+\r
class EditorPropertySheetPage extends PropertySheetPage {\r
\r
EditorPropertySheetPage() {\r