Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

irate.swt.plugin
Class SWTPluginUIFactory  view SWTPluginUIFactory download SWTPluginUIFactory.java

java.lang.Object
  extended byirate.plugin.PluginUIFactory
      extended byirate.swt.plugin.SWTPluginUIFactory

public class SWTPluginUIFactory
extends irate.plugin.PluginUIFactory

Base class for factory that finds user interface objects for plugins. Subclasses are for specific user-interface implementations.


Field Summary
private  irate.plugin.PluginApplication app
           
private  org.eclipse.swt.widgets.Display display
           
 
Fields inherited from class irate.plugin.PluginUIFactory
CONFIGURATOR
 
Constructor Summary
SWTPluginUIFactory(org.eclipse.swt.widgets.Display display, irate.plugin.PluginApplication app)
           
 
Method Summary
 java.lang.Object lookup(irate.plugin.Plugin plugin, java.lang.String type)
          Look up a UI object based on the class of the plugin and the specified type of object required.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

display

private org.eclipse.swt.widgets.Display display

app

private irate.plugin.PluginApplication app
Constructor Detail

SWTPluginUIFactory

public SWTPluginUIFactory(org.eclipse.swt.widgets.Display display,
                          irate.plugin.PluginApplication app)
Method Detail

lookup

public java.lang.Object lookup(irate.plugin.Plugin plugin,
                               java.lang.String type)
Look up a UI object based on the class of the plugin and the specified type of object required. The implementation should pass the plugin instance to the object.