org.drools.guvnor.client.explorer
Class ExplorerViewCenterPanel

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.drools.guvnor.client.explorer.ExplorerViewCenterPanel
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.IsWidget, TabbedPanel

public class ExplorerViewCenterPanel
extends com.google.gwt.user.client.ui.Composite
implements TabbedPanel

This is the tab panel manager.


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
ExplorerViewCenterPanel(ClientFactory clientFactory, com.google.gwt.event.shared.EventBus eventBus)
           
 
Method Summary
 void addTab(String tabname, com.google.gwt.user.client.ui.IsWidget widget, com.google.gwt.place.shared.Place place)
          Add a new tab.
 void close(com.google.gwt.place.shared.Place key)
           
 boolean contains(com.google.gwt.place.shared.Place key)
           
 Map<String,ModuleEditorWrapper> getOpenedModuleEditors()
           
 void show(com.google.gwt.place.shared.Place key)
           
 
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, 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

ExplorerViewCenterPanel

public ExplorerViewCenterPanel(ClientFactory clientFactory,
                               com.google.gwt.event.shared.EventBus eventBus)
Method Detail

contains

public boolean contains(com.google.gwt.place.shared.Place key)

show

public void show(com.google.gwt.place.shared.Place key)
Specified by:
show in interface TabbedPanel

addTab

public void addTab(String tabname,
                   com.google.gwt.user.client.ui.IsWidget widget,
                   com.google.gwt.place.shared.Place place)
Add a new tab. Should only do this if have checked showIfOpen to avoid dupes being opened.

Specified by:
addTab in interface TabbedPanel
Parameters:
tabname - The displayed tab name.
widget - The contents.
place - A place which is unique.

close

public void close(com.google.gwt.place.shared.Place key)
Specified by:
close in interface TabbedPanel

getOpenedModuleEditors

public Map<String,ModuleEditorWrapper> getOpenedModuleEditors()


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.