uk.ac.soton.itinnovation.grid.client.registry
Class CltMgtRegistryClientPluginSwing

java.lang.Object
  extended by uk.ac.soton.itinnovation.grid.client.swing.AbstractConversationBrowserPlugin
      extended by uk.ac.soton.itinnovation.grid.client.registry.CltMgtRegistryClientPluginSwing
All Implemented Interfaces:
RegistryResourcePlugin, ConversationBrowserPlugin

public class CltMgtRegistryClientPluginSwing
extends AbstractConversationBrowserPlugin
implements RegistryResourcePlugin


Field Summary
 
Fields inherited from class uk.ac.soton.itinnovation.grid.client.swing.AbstractConversationBrowserPlugin
browser
 
Fields inherited from interface uk.ac.soton.itinnovation.grid.client.swing.ConversationBrowserPlugin
PROVIDER_RESOURCE_NAME
 
Constructor Summary
CltMgtRegistryClientPluginSwing()
           
 
Method Summary
 void addProperties(ResourcePropertiesPanel panel)
          Create a Panel to display a resource
 boolean doDragDrop(Object source, Object target)
          Object 'source' has been dragged on to 'target'.
 Icon getTreeIcon(org.apache.axis.message.addressing.EndpointReferenceType resource)
           
 void registerResource(org.apache.axis.message.addressing.EndpointReferenceType resourceToRegister, CltMgtRegistryResourceConversation registry)
           
 void registerResource(org.apache.axis.message.addressing.EndpointReferenceType resourceToRegister, org.apache.axis.message.addressing.EndpointReferenceType registryResource)
          Deprecated. 
 void showPopupMenu(JPopupMenu menu, Class itemClass, org.apache.axis.message.addressing.EndpointReferenceType[] items)
          Add extra menu items.
 
Methods inherited from class uk.ac.soton.itinnovation.grid.client.swing.AbstractConversationBrowserPlugin
addFilters, addFilters, addPluginMenu, addPluginMenu, compare, doDoubleClick, doDoubleClick, doDragDrop, getState, getState, getTreeIcon, init, showPopupMenu
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.client.swing.ConversationBrowserPlugin
addFilters, addPluginMenu, compare, doDoubleClick, getState, init
 

Constructor Detail

CltMgtRegistryClientPluginSwing

public CltMgtRegistryClientPluginSwing()
Method Detail

showPopupMenu

public void showPopupMenu(JPopupMenu menu,
                          Class itemClass,
                          org.apache.axis.message.addressing.EndpointReferenceType[] items)
Description copied from interface: ConversationBrowserPlugin
Add extra menu items. This is called when the user opens the popup menu. All selected items have the same class.

Specified by:
showPopupMenu in interface ConversationBrowserPlugin
Overrides:
showPopupMenu in class AbstractConversationBrowserPlugin
Parameters:
menu - the menu being created
itemClass - an interface that all the items implement (usually the interface of the first item)
items - the objects currently selected

addProperties

public void addProperties(ResourcePropertiesPanel panel)
Description copied from interface: ConversationBrowserPlugin
Create a Panel to display a resource

Specified by:
addProperties in interface ConversationBrowserPlugin
Overrides:
addProperties in class AbstractConversationBrowserPlugin

doDragDrop

public boolean doDragDrop(Object source,
                          Object target)
Description copied from interface: ConversationBrowserPlugin
Object 'source' has been dragged on to 'target'. Source and target are often, but not always, of type StorableInStateRepository.

Specified by:
doDragDrop in interface ConversationBrowserPlugin
Overrides:
doDragDrop in class AbstractConversationBrowserPlugin
Parameters:
source - the item being dropped, this may be another object in the repository, a URI, a local File, etc.
target - the item which source was dropped on
Returns:
true if the drag has been handled, or false to try other handlers

registerResource

@Deprecated
public void registerResource(org.apache.axis.message.addressing.EndpointReferenceType resourceToRegister,
                                        org.apache.axis.message.addressing.EndpointReferenceType registryResource)
                      throws RemoteException
Deprecated. 

Specified by:
registerResource in interface RegistryResourcePlugin
Throws:
RemoteException

registerResource

public void registerResource(org.apache.axis.message.addressing.EndpointReferenceType resourceToRegister,
                             CltMgtRegistryResourceConversation registry)
                      throws RemoteException
Throws:
RemoteException

getTreeIcon

public Icon getTreeIcon(org.apache.axis.message.addressing.EndpointReferenceType resource)
Specified by:
getTreeIcon in interface ConversationBrowserPlugin
Overrides:
getTreeIcon in class AbstractConversationBrowserPlugin


Copyright © 2001-2008 University of Southampton IT Innovation Centre. All Rights Reserved.