com.ebmwebsourcing.petalsbpm.client.component.bpmn
Class WelcomeComponent

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 com.ebmwebsourcing.geasytools.webeditor.impl.client.component.Component
                  extended by com.ebmwebsourcing.petalsbpm.client.component.bpmn.WelcomeComponent
All Implemented Interfaces:
com.ebmwebsourcing.geasytools.webeditor.api.components.IComponent, com.ebmwebsourcing.geasytools.webeditor.api.components.IContentPanelComponent, com.ebmwebsourcing.geasytools.webeditor.api.components.IProjectAwareComponent, com.ebmwebsourcing.geasytools.webeditor.api.project.content.events.IHasContentHandler, com.google.gwt.event.dom.client.HasClickHandlers, com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.IsWidget

public class WelcomeComponent
extends com.ebmwebsourcing.geasytools.webeditor.impl.client.component.Component
implements com.ebmwebsourcing.geasytools.webeditor.api.components.IContentPanelComponent, com.ebmwebsourcing.geasytools.webeditor.api.components.IComponent

TODO: Replace by built-in system in webEditor

Author:
nfleury

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
 
Fields inherited from class com.ebmwebsourcing.geasytools.webeditor.impl.client.component.Component
handlerManager
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
WelcomeComponent(com.ebmwebsourcing.geasytools.webeditor.api.core.events.IEditorEventBus eventBus)
           
 
Method Summary
 com.google.gwt.event.shared.HandlerRegistration addClickHandler(com.google.gwt.event.dom.client.ClickHandler arg0)
           
 void disableMenuItemsByType(com.ebmwebsourcing.geasytools.webeditor.api.components.menu.IMenuItemActionType type)
           
 void enableMenuItemsByType(com.ebmwebsourcing.geasytools.webeditor.api.components.menu.IMenuItemActionType type)
           
 java.util.List<com.ebmwebsourcing.geasytools.webeditor.api.components.IComponentDispatcherCommand> getAssociatedComponentsDispatcherCommands()
           
 java.lang.String getId()
           
 java.util.List<com.ebmwebsourcing.geasytools.webeditor.api.components.menu.IMenuItem> getMenuItems()
           
 com.ebmwebsourcing.webeditor.api.domain.project.IProjectInstance getProjectInstance()
           
 com.ebmwebsourcing.geasytools.webeditor.api.project.content.events.IUserContentHandler getUserContentHandler()
           
 boolean isSaved()
           
 void loadProjectInstance(com.ebmwebsourcing.webeditor.api.domain.project.IProjectInstance projectInstance)
           
 void onActionRequest(com.ebmwebsourcing.geasytools.webeditor.api.components.menu.IMenuItemAction action)
           
 void setSaved(boolean b)
           
 void validate()
           
 
Methods inherited from class com.ebmwebsourcing.geasytools.webeditor.impl.client.component.Component
addHandler, fireEvent, getPlaceHolder, getQualifiedName, hide, setPlaceHolder, show
 
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
addAttachHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, 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, setStyleDependentName, setStyleName, 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
 
Methods inherited from interface com.ebmwebsourcing.geasytools.webeditor.api.components.IContentPanelComponent
getTitle, setTitle
 
Methods inherited from interface com.ebmwebsourcing.geasytools.webeditor.api.components.IComponent
addHandler, getPlaceHolder, getQualifiedName, hide, isVisible, setPlaceHolder, show
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 

Constructor Detail

WelcomeComponent

public WelcomeComponent(com.ebmwebsourcing.geasytools.webeditor.api.core.events.IEditorEventBus eventBus)
Method Detail

getId

public java.lang.String getId()
Specified by:
getId in interface com.ebmwebsourcing.geasytools.webeditor.api.components.IComponent

disableMenuItemsByType

public void disableMenuItemsByType(com.ebmwebsourcing.geasytools.webeditor.api.components.menu.IMenuItemActionType type)
Specified by:
disableMenuItemsByType in interface com.ebmwebsourcing.geasytools.webeditor.api.components.IContentPanelComponent

enableMenuItemsByType

public void enableMenuItemsByType(com.ebmwebsourcing.geasytools.webeditor.api.components.menu.IMenuItemActionType type)
Specified by:
enableMenuItemsByType in interface com.ebmwebsourcing.geasytools.webeditor.api.components.IContentPanelComponent

getAssociatedComponentsDispatcherCommands

public java.util.List<com.ebmwebsourcing.geasytools.webeditor.api.components.IComponentDispatcherCommand> getAssociatedComponentsDispatcherCommands()
Specified by:
getAssociatedComponentsDispatcherCommands in interface com.ebmwebsourcing.geasytools.webeditor.api.components.IContentPanelComponent

getMenuItems

public java.util.List<com.ebmwebsourcing.geasytools.webeditor.api.components.menu.IMenuItem> getMenuItems()
Specified by:
getMenuItems in interface com.ebmwebsourcing.geasytools.webeditor.api.components.IContentPanelComponent

onActionRequest

public void onActionRequest(com.ebmwebsourcing.geasytools.webeditor.api.components.menu.IMenuItemAction action)
Specified by:
onActionRequest in interface com.ebmwebsourcing.geasytools.webeditor.api.components.IContentPanelComponent

getProjectInstance

public com.ebmwebsourcing.webeditor.api.domain.project.IProjectInstance getProjectInstance()
Specified by:
getProjectInstance in interface com.ebmwebsourcing.geasytools.webeditor.api.components.IProjectAwareComponent

loadProjectInstance

public void loadProjectInstance(com.ebmwebsourcing.webeditor.api.domain.project.IProjectInstance projectInstance)
Specified by:
loadProjectInstance in interface com.ebmwebsourcing.geasytools.webeditor.api.components.IProjectAwareComponent

addClickHandler

public com.google.gwt.event.shared.HandlerRegistration addClickHandler(com.google.gwt.event.dom.client.ClickHandler arg0)
Specified by:
addClickHandler in interface com.google.gwt.event.dom.client.HasClickHandlers

getUserContentHandler

public com.ebmwebsourcing.geasytools.webeditor.api.project.content.events.IUserContentHandler getUserContentHandler()
Specified by:
getUserContentHandler in interface com.ebmwebsourcing.geasytools.webeditor.api.project.content.events.IHasContentHandler

setSaved

public void setSaved(boolean b)
Specified by:
setSaved in interface com.ebmwebsourcing.geasytools.webeditor.api.components.IContentPanelComponent

isSaved

public boolean isSaved()
Specified by:
isSaved in interface com.ebmwebsourcing.geasytools.webeditor.api.components.IContentPanelComponent

validate

public void validate()
              throws com.ebmwebsourcing.webeditor.api.domain.project.ProjectValidationException
Specified by:
validate in interface com.ebmwebsourcing.geasytools.webeditor.api.components.IContentPanelComponent
Throws:
com.ebmwebsourcing.webeditor.api.domain.project.ProjectValidationException


Copyright © 2010-2011 eBM WebSourcing. All Rights Reserved.