org.objectweb.fractal.gui.model
Interface VetoableConfigurationListener

All Known Implementing Classes:
BasicAdminModel

public interface VetoableConfigurationListener

An interface to veto changes in a Configuration model.


Method Summary
 void canAddClientInterface(Component component, ClientInterface i)
          Notifies this listener that a client interface is about to be added to a component.
 void canAddServerInterface(Component component, ServerInterface i)
          Notifies this listener that a server interface is about to be added to a component.
 void canAddSubComponent(Component parent, Component child)
          Notifies this listener that a sub component is about to be added to a component.
 void canBindInterface(ClientInterface citf)
          Notifies this listener that an interface is about to be bound.
 void canChangeAttribute(Component component, java.lang.String attributeName)
          Notifies this listener that the value of an attribute is about to change.
 void canChangeAttributeController(Component component)
          Notifies this listener that the attribute controller of a component is about to change.
 void canChangeComponentControllerDescriptor(Component component)
          Notifies this listener that the component controller descriptor of a component is about to change.
 void canChangeImplementation(Component component)
          Notifies this listener that the implementation of a component is about to change.
 void canChangeInterfaceCardinality(Interface i)
          Notifies this listener that the cardinality of an interface is about to change.
 void canChangeInterfaceContingency(Interface i)
          Notifies this listener that the contigency of an interface is about to change.
 void canChangeInterfaceName(Interface i)
          Notifies this listener that the name of an interface is about to change.
 void canChangeInterfaceSignature(Interface i)
          Notifies this listener that the signature of an interface is about to change.
 void canChangeName(Component component)
          Notifies this listener that the name of a component is about to change.
 void canChangeRootComponent()
          Notifies this listener that the root component is about to change.
 void canChangeTemplateControllerDescriptor(Component component)
          Notifies this listener that the template controller descriptor of a component is about to change.
 void canChangeType(Component component)
          Notifies this listener that the type of a component is about to change.
 void canRebindInterface(ClientInterface citf)
          Notifies this listener that an interface is about to be rebound.
 void canRemoveClientInterface(Component component, ClientInterface i)
          Notifies this listener that a client interface is about to be removed from a component.
 void canRemoveServerInterface(Component component, ServerInterface i)
          Notifies this listener that a server interface is about to be removed from a component.
 void canRemoveSubComponent(Component parent, Component child)
          Notifies this listener that a sub component is about to be removed from a component.
 void canUnbindInterface(ClientInterface citf)
          Notifies this listener that an interface is about to be unbound.
 

Method Detail

canChangeRootComponent

public void canChangeRootComponent()
Notifies this listener that the root component is about to change.


canChangeName

public void canChangeName(Component component)
Notifies this listener that the name of a component is about to change.

Parameters:
component - the component whose name is about to change.

canChangeType

public void canChangeType(Component component)
Notifies this listener that the type of a component is about to change.

Parameters:
component - the component whose type is about to change.

canChangeImplementation

public void canChangeImplementation(Component component)
Notifies this listener that the implementation of a component is about to change.

Parameters:
component - the component whose implementation is about to change.

canChangeInterfaceName

public void canChangeInterfaceName(Interface i)
Notifies this listener that the name of an interface is about to change.

Parameters:
i - the interface whose name is about to change.

canChangeInterfaceSignature

public void canChangeInterfaceSignature(Interface i)
Notifies this listener that the signature of an interface is about to change.

Parameters:
i - the interface whose signature is about to change.

canChangeInterfaceContingency

public void canChangeInterfaceContingency(Interface i)
Notifies this listener that the contigency of an interface is about to change.

Parameters:
i - the interface whose contingency is about to change.

canChangeInterfaceCardinality

public void canChangeInterfaceCardinality(Interface i)
Notifies this listener that the cardinality of an interface is about to change.

Parameters:
i - the interface whose cardinality is about to change.

canAddClientInterface

public void canAddClientInterface(Component component,
                                  ClientInterface i)
Notifies this listener that a client interface is about to be added to a component.

Parameters:
component - the component into which the new interface is about to be added.
i - the interface that is about to be added.

canRemoveClientInterface

public void canRemoveClientInterface(Component component,
                                     ClientInterface i)
Notifies this listener that a client interface is about to be removed from a component.

Parameters:
component - the component from which the interface is about to be removed.
i - the interface that is about to be removed.

canAddServerInterface

public void canAddServerInterface(Component component,
                                  ServerInterface i)
Notifies this listener that a server interface is about to be added to a component.

Parameters:
component - the component into which the new interface is about to be added.
i - the interface that is about to be added.

canRemoveServerInterface

public void canRemoveServerInterface(Component component,
                                     ServerInterface i)
Notifies this listener that a server interface is about to be removed from a component.

Parameters:
component - the component from which the interface is about to be removed.
i - the interface that is about to be removed.

canBindInterface

public void canBindInterface(ClientInterface citf)
Notifies this listener that an interface is about to be bound.

Parameters:
citf - the client interface that is about to be bound.

canRebindInterface

public void canRebindInterface(ClientInterface citf)
Notifies this listener that an interface is about to be rebound.

Parameters:
citf - the client interface that is about to be rebound.

canUnbindInterface

public void canUnbindInterface(ClientInterface citf)
Notifies this listener that an interface is about to be unbound.

Parameters:
citf - the client interface that is about to be unbound.

canChangeAttributeController

public void canChangeAttributeController(Component component)
Notifies this listener that the attribute controller of a component is about to change.

Parameters:
component - the component whose attribute controller is about to change.

canChangeAttribute

public void canChangeAttribute(Component component,
                               java.lang.String attributeName)
Notifies this listener that the value of an attribute is about to change.

Parameters:
component - the component whose attribute is about to change.
attributeName - the name of the attribute whose value is about to change.

canChangeTemplateControllerDescriptor

public void canChangeTemplateControllerDescriptor(Component component)
Notifies this listener that the template controller descriptor of a component is about to change.

Parameters:
component - the component whose template contoller descriptor is about to change.

canChangeComponentControllerDescriptor

public void canChangeComponentControllerDescriptor(Component component)
Notifies this listener that the component controller descriptor of a component is about to change.

Parameters:
component - the component whose component contoller descriptor is about to change.

canAddSubComponent

public void canAddSubComponent(Component parent,
                               Component child)
Notifies this listener that a sub component is about to be added to a component.

Parameters:
parent - the component into which the sub component is about to be added.
child - the sub component that is about to be added.

canRemoveSubComponent

public void canRemoveSubComponent(Component parent,
                                  Component child)
Notifies this listener that a sub component is about to be removed from a component.

Parameters:
parent - the component from which the sub component is about to be removed.
child - the sub component that is about to be removed.