cvm.uci.ui.gui.creator
Class ApplicationComposite

java.lang.Object
  extended by org.eclipse.swt.widgets.Widget
      extended by org.eclipse.swt.widgets.Control
          extended by org.eclipse.swt.widgets.Scrollable
              extended by org.eclipse.swt.widgets.Composite
                  extended by cvm.uci.ui.gui.creator.ApplicationComposite
All Implemented Interfaces:
org.eclipse.swt.graphics.Drawable

public class ApplicationComposite
extends org.eclipse.swt.widgets.Composite

This is the main communication composite. It holds the FormComposite, ChatComposite, etc. Date: February 03, 2010

Author:
Frank Hernandez, The Fallen of CVM

Field Summary
 
Fields inherited from class org.eclipse.swt.widgets.Control
handle
 
Constructor Summary
ApplicationComposite(org.eclipse.swt.widgets.Composite parent, int style)
           
 
Method Summary
 boolean addFileToApp(java.lang.String fileName)
           
 boolean addFormToApp(java.lang.String formName)
          This method adds a form the the applications form list.
 boolean addMemberToApplication(java.lang.String userName)
          This method adds a participant to the application.
 void addTextToChat(java.lang.String text)
           
 void disableSendSchema()
           
 void dispose()
           
 Application getApp()
           
 boolean isParticipantInApplication(java.lang.String userName)
          This method checks if the participant is in the application.
 void populateData(Application app)
           
 boolean removeMemberFromApplication(java.lang.String userName)
          This method removes a participant from the application.
 
Methods inherited from class org.eclipse.swt.widgets.Composite
changed, computeSize, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList
 
Methods inherited from class org.eclipse.swt.widgets.Scrollable
computeTrim, getClientArea, getHorizontalBar, getVerticalBar
 
Methods inherited from class org.eclipse.swt.widgets.Control
addControlListener, addDragDetectListener, addFocusListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTraverseListener, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getParent, getRegion, getShell, getSize, getToolTipText, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTraverseListener, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setEnabled, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setParent, setRedraw, setRegion, setSize, setSize, setToolTipText, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, update
 
Methods inherited from class org.eclipse.swt.widgets.Widget
addDisposeListener, addListener, getData, getData, getDisplay, getListeners, getStyle, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, setData, setData, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApplicationComposite

public ApplicationComposite(org.eclipse.swt.widgets.Composite parent,
                            int style)
Method Detail

populateData

public void populateData(Application app)

dispose

public void dispose()
Overrides:
dispose in class org.eclipse.swt.widgets.Widget

getApp

public Application getApp()

addMemberToApplication

public boolean addMemberToApplication(java.lang.String userName)
This method adds a participant to the application.

Parameters:
userName -
Returns:
true if party was added to GUI

removeMemberFromApplication

public boolean removeMemberFromApplication(java.lang.String userName)
This method removes a participant from the application.

Parameters:
userName -
Returns:
true on success

isParticipantInApplication

public boolean isParticipantInApplication(java.lang.String userName)
This method checks if the participant is in the application.

Parameters:
userName -
Returns:
true if participant is already in communication

addFormToApp

public boolean addFormToApp(java.lang.String formName)
This method adds a form the the applications form list.

Parameters:
formName -

addFileToApp

public boolean addFileToApp(java.lang.String fileName)

addTextToChat

public void addTextToChat(java.lang.String text)

disableSendSchema

public void disableSendSchema()