org.drools.guvnor.client.admin
Class PerspectivesManagerViewImpl

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.admin.PerspectivesManagerViewImpl
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, PerspectivesManagerView

public class PerspectivesManagerViewImpl
extends com.google.gwt.user.client.ui.Composite
implements PerspectivesManagerView


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
 
Nested classes/interfaces inherited from interface org.drools.guvnor.client.admin.PerspectivesManagerView
PerspectivesManagerView.Presenter
 
Field Summary
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
PerspectivesManagerViewImpl()
           
 
Method Summary
 void addNewPerspective(com.google.gwt.event.dom.client.ClickEvent event)
           
 void addPerspective(String uuid, String name)
           
 void closePopUp()
           
 void editPerspective(com.google.gwt.event.dom.client.ClickEvent event)
           
 Collection<String> getListOfPerspectiveNames()
           
 String getSelectedPerspectiveUuid()
           
 void openPopUp(SaveCommand<IFramePerspectiveConfiguration> saveCommand)
           
 void openPopUp(SaveCommand<IFramePerspectiveConfiguration> saveCommand, IFramePerspectiveConfiguration iFramePerspectiveConfiguration)
           
 void removePerspective(com.google.gwt.event.dom.client.ClickEvent event)
           
 void removePerspective(String uuid)
           
 void setPresenter(PerspectivesManagerView.Presenter presenter)
           
 void showNameTakenError(String name)
           
 void showNoSelectedPerspectiveError()
           
 
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, 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, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.gwt.user.client.ui.IsWidget
asWidget
 

Constructor Detail

PerspectivesManagerViewImpl

public PerspectivesManagerViewImpl()
Method Detail

setPresenter

public void setPresenter(PerspectivesManagerView.Presenter presenter)
Specified by:
setPresenter in interface PerspectivesManagerView

getSelectedPerspectiveUuid

public String getSelectedPerspectiveUuid()
Specified by:
getSelectedPerspectiveUuid in interface PerspectivesManagerView

addPerspective

public void addPerspective(String uuid,
                           String name)
Specified by:
addPerspective in interface PerspectivesManagerView

openPopUp

public void openPopUp(SaveCommand<IFramePerspectiveConfiguration> saveCommand)
Specified by:
openPopUp in interface PerspectivesManagerView

openPopUp

public void openPopUp(SaveCommand<IFramePerspectiveConfiguration> saveCommand,
                      IFramePerspectiveConfiguration iFramePerspectiveConfiguration)
Specified by:
openPopUp in interface PerspectivesManagerView

closePopUp

public void closePopUp()
Specified by:
closePopUp in interface PerspectivesManagerView

removePerspective

public void removePerspective(String uuid)
Specified by:
removePerspective in interface PerspectivesManagerView

getListOfPerspectiveNames

public Collection<String> getListOfPerspectiveNames()
Specified by:
getListOfPerspectiveNames in interface PerspectivesManagerView

showNameTakenError

public void showNameTakenError(String name)
Specified by:
showNameTakenError in interface PerspectivesManagerView

showNoSelectedPerspectiveError

public void showNoSelectedPerspectiveError()
Specified by:
showNoSelectedPerspectiveError in interface PerspectivesManagerView

addNewPerspective

@UiHandler(value="newPerspective")
public void addNewPerspective(com.google.gwt.event.dom.client.ClickEvent event)

editPerspective

@UiHandler(value="editPerspective")
public void editPerspective(com.google.gwt.event.dom.client.ClickEvent event)

removePerspective

@UiHandler(value="removePerspective")
public void removePerspective(com.google.gwt.event.dom.client.ClickEvent event)


Copyright © 2001-2011 JBoss Inc.. All Rights Reserved.