org.eclipse.wst.sse.ui.views.properties
Class PropertySheetConfiguration

java.lang.Object
  extended by org.eclipse.wst.sse.ui.views.properties.PropertySheetConfiguration
Direct Known Subclasses:
CSSPropertySheetConfiguration, XMLPropertySheetConfiguration

public abstract class PropertySheetConfiguration
extends java.lang.Object

Configuration class for Property Sheet Pages. Not finalized.

Since:
1.0

Constructor Summary
PropertySheetConfiguration()
          Create new instance of PropertySheetConfiguration
 
Method Summary
 void addContributions(org.eclipse.jface.action.IMenuManager menuManager, org.eclipse.jface.action.IToolBarManager toolBarManager, org.eclipse.jface.action.IStatusLineManager statusLineManager)
          Adds contribution menu items to the given menuManager, toolbarManager, statusLineManager.
 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.
abstract  org.eclipse.ui.views.properties.IPropertySourceProvider getPropertySourceProvider(org.eclipse.ui.views.properties.IPropertySheetPage page)
          Returns the correct IPropertySourceProvider.
 void removeContributions(org.eclipse.jface.action.IMenuManager menuManager, org.eclipse.jface.action.IToolBarManager toolBarManager, org.eclipse.jface.action.IStatusLineManager statusLineManager)
          Removes contribution menu items from the given menuManager, toolbarManager, statusLineManager.
 void unconfigure()
          General hook for resource releasing and listener removal when configurations change.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertySheetConfiguration

public PropertySheetConfiguration()
Create new instance of PropertySheetConfiguration

Method Detail

addContributions

public void addContributions(org.eclipse.jface.action.IMenuManager menuManager,
                             org.eclipse.jface.action.IToolBarManager toolBarManager,
                             org.eclipse.jface.action.IStatusLineManager statusLineManager)
Adds contribution menu items to the given menuManager, toolbarManager, statusLineManager.

Parameters:
menuManager - the local menu manager of the property sheet
toolBarManager - the local toolbar manager of the property sheet
statusLineManager - the status line manager of the property sheet

getInputSelection

public 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.

Parameters:
selectingPart - may be null
selection - model selection
Returns:
the (filtered) selection to be sent to the viewer

getPropertySourceProvider

public abstract org.eclipse.ui.views.properties.IPropertySourceProvider getPropertySourceProvider(org.eclipse.ui.views.properties.IPropertySheetPage page)
Returns the correct IPropertySourceProvider.

Parameters:
page - the page to be configured by this configuration
Returns:
the IPropertySourceProvider for the given page

removeContributions

public void removeContributions(org.eclipse.jface.action.IMenuManager menuManager,
                                org.eclipse.jface.action.IToolBarManager toolBarManager,
                                org.eclipse.jface.action.IStatusLineManager statusLineManager)
Removes contribution menu items from the given menuManager, toolbarManager, statusLineManager.

Parameters:
menuManager - the local menu manager of the property sheet
toolBarManager - the local toolbar manager of the property sheet
statusLineManager - the status line manager of the property sheet

unconfigure

public void unconfigure()
General hook for resource releasing and listener removal when configurations change.