com.aptana.ide.editor.css.preview
Class PreviewConfigurationPage

java.lang.Object
  extended by com.aptana.ide.editor.css.preview.PreviewConfigurationPage

public class PreviewConfigurationPage
extends java.lang.Object

Author:
Kevin Sawicki (ksawicki@aptana.com)

Constructor Summary
PreviewConfigurationPage(MultiPageCSSEditor editor)
          Creates a new preview configuration page
 
Method Summary
 void createControl(org.eclipse.swt.widgets.Composite parent)
          Creates the preview page control
 void dispose()
          Disposes this page
 java.lang.String getBrowserLabel()
          Gets the browser label
 org.eclipse.swt.widgets.Control getControl()
          Gets the control of the preview page
 java.lang.String getTitle()
          Gets the title of the preview page
 java.lang.String getURL()
          Gets the URL for this page
 void setBrowser(ContributedBrowser browser, java.lang.String label)
          Sets the browser object and its name albe
 void setIndex(int index)
          Sets the index of this preview page
 void setTitle(java.lang.String title)
          Sets the title of the preview page
 void setURL(java.lang.String url)
          Sets the url of the preview page
 void showBrowserArea()
          Displays the browser area of this preview page
 void showEditArea()
          Displays the edit area of this preview page
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreviewConfigurationPage

public PreviewConfigurationPage(MultiPageCSSEditor editor)
Creates a new preview configuration page

Parameters:
editor -
Method Detail

setIndex

public void setIndex(int index)
Sets the index of this preview page

Parameters:
index - - index of page

createControl

public void createControl(org.eclipse.swt.widgets.Composite parent)
Creates the preview page control

Parameters:
parent - - parent of preview page

getBrowserLabel

public java.lang.String getBrowserLabel()
Gets the browser label

Returns:
- browser label

setBrowser

public void setBrowser(ContributedBrowser browser,
                       java.lang.String label)
Sets the browser object and its name albe

Parameters:
browser -
label -

setTitle

public void setTitle(java.lang.String title)
Sets the title of the preview page

Parameters:
title -

showEditArea

public void showEditArea()
Displays the edit area of this preview page


showBrowserArea

public void showBrowserArea()
Displays the browser area of this preview page


getURL

public java.lang.String getURL()
Gets the URL for this page

Returns:
- string url

setURL

public void setURL(java.lang.String url)
Sets the url of the preview page

Parameters:
url -

getTitle

public java.lang.String getTitle()
Gets the title of the preview page

Returns:
- string title

getControl

public org.eclipse.swt.widgets.Control getControl()
Gets the control of the preview page

Returns:
- control

dispose

public void dispose()
Disposes this page