org.gcube.portlets.user.reportgenerator.client
Class Headerbar

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.gcube.portlets.user.reportgenerator.client.Headerbar
All Implemented Interfaces:
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.HasVisibility, com.google.gwt.user.client.ui.IsRenderable, com.google.gwt.user.client.ui.IsWidget

public class Headerbar
extends com.google.gwt.user.client.ui.Composite

Headerbar class is the top bar component of the UI

Author:
Massimiliano Assante, ISTI-CNR - massimiliano.assante@isti.cnr.it

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.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
Headerbar(Presenter c)
          Constructor
 
Method Summary
 void enableBiblioEntry(com.google.gwt.user.client.ui.RichTextArea d4sArea)
          rewrite with setHTML to remove the gray color
 void enableExports()
          rewrite with setHTML to remove the gray color
 com.google.gwt.user.client.Command getBiblioCommand()
          temporary command
 com.google.gwt.user.client.Command getDisabledExportMenuItemCmd()
           
 com.google.gwt.user.client.ui.CellPanel getMainLayout()
           
 com.google.gwt.user.client.Command getNullCommand()
          temporary command
 void getUrl()
          Get URL from browser
 void setMenuForVME()
           
 void setMenuForWorkflowDocument(boolean canUpdate)
           
 void setModel(TemplateModel model)
           
 
Methods inherited from class com.google.gwt.user.client.ui.Composite
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, 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, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Headerbar

public Headerbar(Presenter c)
Constructor

Parameters:
c - the controller instance for this UI component
Method Detail

setMenuForVME

public void setMenuForVME()

setMenuForWorkflowDocument

public void setMenuForWorkflowDocument(boolean canUpdate)

getUrl

public void getUrl()
Get URL from browser


getNullCommand

public com.google.gwt.user.client.Command getNullCommand()
temporary command

Returns:
the command instance

getDisabledExportMenuItemCmd

public com.google.gwt.user.client.Command getDisabledExportMenuItemCmd()

getBiblioCommand

public com.google.gwt.user.client.Command getBiblioCommand()
temporary command

Returns:
the command instance

enableExports

public void enableExports()
rewrite with setHTML to remove the gray color


enableBiblioEntry

public void enableBiblioEntry(com.google.gwt.user.client.ui.RichTextArea d4sArea)
rewrite with setHTML to remove the gray color

Parameters:
d4sArea -

setModel

public void setModel(TemplateModel model)
Parameters:
model - .

getMainLayout

public com.google.gwt.user.client.ui.CellPanel getMainLayout()
Returns:
.


Copyright © 2014. All Rights Reserved.