org.objectweb.proactive.ic2d.gui.components.model
Class ProActiveComponentImpl

java.lang.Object
  extended by org.objectweb.fractal.gui.model.AbstractComponent
      extended by org.objectweb.fractal.gui.model.BasicComponent
          extended by org.objectweb.proactive.ic2d.gui.components.model.ProActiveComponentImpl
All Implemented Interfaces:
org.objectweb.fractal.gui.model.Component, ProActiveComponent

public class ProActiveComponentImpl
extends org.objectweb.fractal.gui.model.BasicComponent
implements ProActiveComponent

Author:
Matthieu Morel

Field Summary
 
Fields inherited from class org.objectweb.fractal.gui.model.BasicComponent
serverInterfaces
 
Fields inherited from class org.objectweb.fractal.gui.model.AbstractComponent
parent
 
Fields inherited from interface org.objectweb.proactive.ic2d.gui.components.model.ProActiveComponent
VIRTUAL_NODE_INCORRECT_SYNTAX
 
Fields inherited from interface org.objectweb.fractal.gui.model.Component
ATTRIBUTE_CONTROLLER_CLASS_INVALID, ATTRIBUTE_CONTROLLER_CLASS_NOT_FOUND, ATTRIBUTE_CONTROLLER_MISSING, IMPLEMENTATION_CLASS_INVALID, IMPLEMENTATION_CLASS_NOT_FOUND, IMPLEMENTATION_MISSING, INTERFACES_INVALID, NAME_MISSING, OK
 
Constructor Summary
ProActiveComponentImpl(org.objectweb.fractal.gui.model.BasicConfiguration owner)
          Constructs a new component.
 
Method Summary
 void addExportedVirtualNode(java.lang.String virtualNodeName, java.lang.String composingVirtualNodes)
           
 java.util.List getComposingVirtualNodes(java.lang.String exportedVirtualNodeName)
           
 java.lang.String getComposingVirtualNodesAsString(java.lang.String virtualNodeName)
           
 java.lang.String getCurrentlyEditedComposingVirtualNodesNames()
           
 java.lang.String getCurrentlyEditedExportedVirtualNodeName()
           
 java.lang.String getExportedVirtualNodeNameAfterComposition(java.lang.String exportedVNName)
           
 java.lang.String getExportedVirtualNodesAfterComposition()
           
 java.lang.String getExportedVirtualNodesBeforeComposition()
           
 java.util.List getExportedVirtualNodesNames()
           
 org.objectweb.fractal.gui.model.Interface getServerInterface(java.lang.String name)
          In ProActive, a collective server interface can be seen as one group.
 java.lang.String getVirtualNode()
           
 boolean isParallel()
           
 void removeExportedVirtualNode(java.lang.String exportedVirtualNodeName)
           
 void setComposingVirtualNodes(java.lang.String virtualNodeName, java.lang.String composingVirtualNodes)
           
 void setCurrentlyEditedComposingVirtualNodesNames(java.lang.String composingVirtualNodesNames)
           
 void setCurrentlyEditedExportedVirtualNodeName(java.lang.String exportedVirtualNodeName)
           
 void setParallel()
           
 void setVirtualNode(java.lang.String virtualNode)
           
 
Methods inherited from class org.objectweb.fractal.gui.model.BasicComponent
addClientInterface, addServerInterface, addSubComponent, bind, getAttribute, getAttributeController, getAttributeNames, getClientInterface, getClientInterfaces, getComponentControllerDescriptor, getConfiguration, getImplementation, getMasterComponent, getName, getOwner, getServerInterfaces, getSlaveComponents, getStatus, getSubComponent, getSubComponents, getTemplateControllerDescriptor, getType, isComposite, isShared, rebind, removeClientInterface, removeServerInterface, removeSubComponent, setAttribute, setAttributeController, setComponentControllerDescriptor, setImplementation, setName, setStatus, setTemplateControllerDescriptor, setType, unbind
 
Methods inherited from class org.objectweb.fractal.gui.model.AbstractComponent
contains, containsMasterOfExternalComponent, containsSlaveOfExternalComponent, getParent, getPath, getRootComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.objectweb.fractal.gui.model.Component
addClientInterface, addServerInterface, addSubComponent, bind, contains, containsMasterOfExternalComponent, containsSlaveOfExternalComponent, getAttribute, getAttributeController, getAttributeNames, getClientInterface, getClientInterfaces, getComponentControllerDescriptor, getConfiguration, getImplementation, getMasterComponent, getName, getParent, getPath, getRootComponent, getServerInterfaces, getSlaveComponents, getStatus, getSubComponent, getSubComponents, getTemplateControllerDescriptor, getType, isComposite, isShared, rebind, removeClientInterface, removeServerInterface, removeSubComponent, setAttribute, setAttributeController, setComponentControllerDescriptor, setImplementation, setName, setStatus, setTemplateControllerDescriptor, setType, unbind
 

Constructor Detail

ProActiveComponentImpl

public ProActiveComponentImpl(org.objectweb.fractal.gui.model.BasicConfiguration owner)
Constructs a new component.

Parameters:
owner - the configuration to which the component will belong.
Method Detail

getServerInterface

public org.objectweb.fractal.gui.model.Interface getServerInterface(java.lang.String name)
In ProActive, a collective server interface can be seen as one group.

Specified by:
getServerInterface in interface org.objectweb.fractal.gui.model.Component
Overrides:
getServerInterface in class org.objectweb.fractal.gui.model.BasicComponent

getVirtualNode

public java.lang.String getVirtualNode()
Specified by:
getVirtualNode in interface ProActiveComponent

setVirtualNode

public void setVirtualNode(java.lang.String virtualNode)
Specified by:
setVirtualNode in interface ProActiveComponent

getExportedVirtualNodesAfterComposition

public java.lang.String getExportedVirtualNodesAfterComposition()
Specified by:
getExportedVirtualNodesAfterComposition in interface ProActiveComponent

getExportedVirtualNodesBeforeComposition

public java.lang.String getExportedVirtualNodesBeforeComposition()
Specified by:
getExportedVirtualNodesBeforeComposition in interface ProActiveComponent

addExportedVirtualNode

public void addExportedVirtualNode(java.lang.String virtualNodeName,
                                   java.lang.String composingVirtualNodes)
Specified by:
addExportedVirtualNode in interface ProActiveComponent

getExportedVirtualNodesNames

public java.util.List getExportedVirtualNodesNames()
Specified by:
getExportedVirtualNodesNames in interface ProActiveComponent

getExportedVirtualNodeNameAfterComposition

public java.lang.String getExportedVirtualNodeNameAfterComposition(java.lang.String exportedVNName)
Specified by:
getExportedVirtualNodeNameAfterComposition in interface ProActiveComponent

getComposingVirtualNodes

public java.util.List getComposingVirtualNodes(java.lang.String exportedVirtualNodeName)
Specified by:
getComposingVirtualNodes in interface ProActiveComponent

setComposingVirtualNodes

public void setComposingVirtualNodes(java.lang.String virtualNodeName,
                                     java.lang.String composingVirtualNodes)
Specified by:
setComposingVirtualNodes in interface ProActiveComponent

removeExportedVirtualNode

public void removeExportedVirtualNode(java.lang.String exportedVirtualNodeName)
Specified by:
removeExportedVirtualNode in interface ProActiveComponent

getComposingVirtualNodesAsString

public java.lang.String getComposingVirtualNodesAsString(java.lang.String virtualNodeName)
Specified by:
getComposingVirtualNodesAsString in interface ProActiveComponent

setCurrentlyEditedComposingVirtualNodesNames

public void setCurrentlyEditedComposingVirtualNodesNames(java.lang.String composingVirtualNodesNames)
Specified by:
setCurrentlyEditedComposingVirtualNodesNames in interface ProActiveComponent

setCurrentlyEditedExportedVirtualNodeName

public void setCurrentlyEditedExportedVirtualNodeName(java.lang.String exportedVirtualNodeName)
Specified by:
setCurrentlyEditedExportedVirtualNodeName in interface ProActiveComponent

getCurrentlyEditedComposingVirtualNodesNames

public java.lang.String getCurrentlyEditedComposingVirtualNodesNames()
Specified by:
getCurrentlyEditedComposingVirtualNodesNames in interface ProActiveComponent

getCurrentlyEditedExportedVirtualNodeName

public java.lang.String getCurrentlyEditedExportedVirtualNodeName()
Specified by:
getCurrentlyEditedExportedVirtualNodeName in interface ProActiveComponent

setParallel

public void setParallel()
Specified by:
setParallel in interface ProActiveComponent

isParallel

public boolean isParallel()
Specified by:
isParallel in interface ProActiveComponent


Copyright 2001-2007 INRIA All Rights Reserved.