classpathhelper.eclipse.tomcat.preferences
Class PreferencesPage

java.lang.Object
  extended byPreferencePage
      extended byclasspathhelper.eclipse.tomcat.preferences.PreferencesPage

public class PreferencesPage
extends PreferencePage

Preference Page for the Tomcat configuration points. For the purposes of generating a classloader Tomcat has 3 values of interest.

The applications available is dynamically loaded based on the version/home directory for Tomcat. Any changes to either value leads to a refresh of the app names.

Since:
1.0
Author:
bharris
See Also:
Serialized Form

Constructor Summary
PreferencesPage()
          Basic constructor, loads initial values from preference store.
 
Method Summary
protected  Control createContents(Composite parent)
           
protected  void fireNewTomcatProperties(TomcatProperties newProps)
          Internal method used to propogate a change that effects the tomcat properties that would be returned by this preferences page.
 void init(IWorkbench workbench)
           
 boolean performOk()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreferencesPage

public PreferencesPage()
Basic constructor, loads initial values from preference store.

Since:
1.0
Method Detail

createContents

protected Control createContents(Composite parent)

fireNewTomcatProperties

protected void fireNewTomcatProperties(TomcatProperties newProps)

Internal method used to propogate a change that effects the tomcat properties that would be returned by this preferences page.

Currently this involves refreshing the apps combo box with the apps running in the given Tomcat instance.

Parameters:
newProps - The new properties.
Since:
1.0

init

public void init(IWorkbench workbench)

performOk

public boolean performOk()