make support page a browser page
authordadubrow
Fri, 27 Aug 2010 09:55:42 -0500
changeset 1901 33bf7adf7871
parent 1900 346e4625dacb
child 1902 0dee9df9d770
make support page a browser page
core/com.nokia.carbide.discovery.ui/src/com/nokia/carbide/internal/discovery/ui/view/SupportPage.java
--- a/core/com.nokia.carbide.discovery.ui/src/com/nokia/carbide/internal/discovery/ui/view/SupportPage.java	Fri Aug 27 09:34:09 2010 -0500
+++ b/core/com.nokia.carbide.discovery.ui/src/com/nokia/carbide/internal/discovery/ui/view/SupportPage.java	Fri Aug 27 09:55:42 2010 -0500
@@ -16,37 +16,7 @@
 */
 package com.nokia.carbide.internal.discovery.ui.view;
 
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.layout.FillLayout;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Control;
-import org.eclipse.ui.IEditorPart;
-
-import com.nokia.carbide.internal.discovery.ui.extension.IActionBar;
-import com.nokia.carbide.internal.discovery.ui.extension.IActionUIUpdater;
-import com.nokia.carbide.internal.discovery.ui.extension.IPortalPageLayer;
-
-public class SupportPage implements IPortalPageLayer {
+import com.nokia.carbide.internal.discovery.ui.extension.AbstractBrowserPortalPageLayer;
 
-	@Override
-	public Control createControl(Composite parent, IEditorPart part) {
-		Composite composite = new Composite(parent, SWT.NONE);
-		composite.setBackground(parent.getDisplay().getSystemColor(SWT.COLOR_WIDGET_BACKGROUND));
-		composite.setLayout(new FillLayout());
-
-		return composite;
-	}
-
-	@Override
-	public void init() {
-	}
-
-	@Override
-	public IActionBar[] createCommandBars(IEditorPart part, IActionUIUpdater updater) {
-		return null;
-	}
-
-	@Override
-	public void dispose() {
-	}
+public class SupportPage extends AbstractBrowserPortalPageLayer {
 }