# HG changeset patch # User dadubrow # Date 1282920942 18000 # Node ID 33bf7adf7871c1755ff784a50c815bf12014a94f # Parent 346e4625dacb60f7ba5ce12f47888e533620a638 make support page a browser page diff -r 346e4625dacb -r 33bf7adf7871 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 { }