org.eclipse.wst.xml.ui.views.properties
Class XMLPropertySheetConfiguration

java.lang.Object
  extended by org.eclipse.wst.sse.ui.views.properties.PropertySheetConfiguration
      extended by org.eclipse.wst.xml.ui.views.properties.XMLPropertySheetConfiguration

public class XMLPropertySheetConfiguration
extends PropertySheetConfiguration

Configuration for property sheet page which shows XML content.

Since:
1.0
See Also:
PropertySheetConfiguration

Constructor Summary
XMLPropertySheetConfiguration()
          Create new instance of XMLPropertySheetConfiguration
 
Method Summary
 org.eclipse.jface.viewers.ISelection getInputSelection(org.eclipse.ui.IWorkbenchPart selectingPart, org.eclipse.jface.viewers.ISelection selection)
          Allows for filteration of selection before being sent to the viewer.
 org.eclipse.ui.views.properties.IPropertySourceProvider getPropertySourceProvider(org.eclipse.ui.views.properties.IPropertySheetPage page)
          Returns the correct IPropertySourceProvider.
 void unconfigure()
          General hook for resource releasing and listener removal when configurations change.
 
Methods inherited from class org.eclipse.wst.sse.ui.views.properties.PropertySheetConfiguration
addContributions, removeContributions
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLPropertySheetConfiguration

public XMLPropertySheetConfiguration()
Create new instance of XMLPropertySheetConfiguration

Method Detail

getInputSelection

public org.eclipse.jface.viewers.ISelection getInputSelection(org.eclipse.ui.IWorkbenchPart selectingPart,
                                                              org.eclipse.jface.viewers.ISelection selection)
Description copied from class: PropertySheetConfiguration
Allows for filteration of selection before being sent to the viewer.

Overrides:
getInputSelection in class PropertySheetConfiguration
Parameters:
selectingPart - may be null
selection - model selection
Returns:
the (filtered) selection to be sent to the viewer

getPropertySourceProvider

public org.eclipse.ui.views.properties.IPropertySourceProvider getPropertySourceProvider(org.eclipse.ui.views.properties.IPropertySheetPage page)
Description copied from class: PropertySheetConfiguration
Returns the correct IPropertySourceProvider.

Specified by:
getPropertySourceProvider in class PropertySheetConfiguration
Parameters:
page - the page to be configured by this configuration
Returns:
the IPropertySourceProvider for the given page

unconfigure

public void unconfigure()
Description copied from class: PropertySheetConfiguration
General hook for resource releasing and listener removal when configurations change.

Overrides:
unconfigure in class PropertySheetConfiguration