Class LiveControlsViewFactory

java.lang.Object
uk.ac.gda.client.livecontrol.LiveControlsViewFactory
All Implemented Interfaces:
org.eclipse.core.runtime.IExecutableExtension, org.eclipse.core.runtime.IExecutableExtensionFactory

public class LiveControlsViewFactory extends Object implements org.eclipse.core.runtime.IExecutableExtensionFactory, org.eclipse.core.runtime.IExecutableExtension
View factory for creating a LiveControlsView using a specific controlSet object. To use it, add a view to the org.eclipse.ui.views extension points in the client plugin.xml. e.g. :
  
	<view
        category="uk.ac.gda.client.exafs.category"
        class="uk.ac.gda.client.livecontrol.LiveControlsViewFactory:controlSetName"
        icon="platform:/plugin/uk.ac.gda.client.exafs/icons/control_play_blue.png"
        id="uk.ac.gda.client.livecontrol.liveControlSet"
        name="Live controls"
    	restorable="true">
    </view>
      
 
'controlSetName' should be replaced with the ID of the controlSet object in the client side spring configuration that you want the view to use. The view can then be referenced in the usual way from menu items etc.
  • Constructor Details

    • LiveControlsViewFactory

      public LiveControlsViewFactory()
  • Method Details

    • setInitializationData

      public void setInitializationData(org.eclipse.core.runtime.IConfigurationElement config, String propertyName, Object data) throws org.eclipse.core.runtime.CoreException
      Specified by:
      setInitializationData in interface org.eclipse.core.runtime.IExecutableExtension
      Throws:
      org.eclipse.core.runtime.CoreException
    • create

      public org.eclipse.ui.part.ViewPart create()
      Specified by:
      create in interface org.eclipse.core.runtime.IExecutableExtensionFactory