org.eaglei.model.webapp.client
Class CommentForm

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Composite
              extended by org.eaglei.model.webapp.client.CommentForm
All Implemented Interfaces:
com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener

public abstract class CommentForm
extends com.google.gwt.user.client.ui.Composite


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
 
Field Summary
protected static CommentServiceAsync commentService
           
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
CommentForm(java.lang.String subjectPrefix)
           
 
Method Summary
static java.lang.String generateClassLabel(org.eaglei.model.EIClass c)
          MUST be called inside a ClientModelManager.INSTANCE.getSuperClasses callback.
protected abstract  void onCancel()
           
 void setResource(org.eaglei.model.EIClass c)
           
 void setSending(boolean visible)
           
protected abstract  void submitComment(Comment comment)
           
 
Methods inherited from class com.google.gwt.user.client.ui.Composite
getWidget, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, setWidget
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addDomHandler, addHandler, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

commentService

protected static final CommentServiceAsync commentService
Constructor Detail

CommentForm

public CommentForm(java.lang.String subjectPrefix)
Method Detail

onCancel

protected abstract void onCancel()

submitComment

protected abstract void submitComment(Comment comment)

setSending

public void setSending(boolean visible)

setResource

public void setResource(org.eaglei.model.EIClass c)

generateClassLabel

public static java.lang.String generateClassLabel(org.eaglei.model.EIClass c)
MUST be called inside a ClientModelManager.INSTANCE.getSuperClasses callback.

Parameters:
c -
Returns:


Copyright © 2009-2010 Eagle-I. All Rights Reserved.