public class CommandFactorySelector extends Object implements HasCommandFactorySelectorChangeHandlers, SelectionChangedProcessor<SVGElementModel>
Constructor and Description |
---|
CommandFactorySelector() |
Modifier and Type | Method and Description |
---|---|
com.google.gwt.event.shared.HandlerRegistration |
addCommandFactoryChangeHandler(CommandFactorySelectorChangeHandler handler) |
void |
fireEvent(com.google.gwt.event.shared.GwtEvent<?> event) |
void |
fireFactoryStackChangedEvent() |
ICommandFactory |
getActiveFactory()
Returns the currently active factory
|
boolean |
isSuspended() |
void |
popFactory()
Pops the current factory from the stack.
|
boolean |
processSelectionChanged(com.extjs.gxt.ui.client.event.SelectionChangedEvent<SVGElementModel> se)
Processes a selection change event
|
void |
pushFactory(ICommandFactory factory)
Pushes the factory on the stack.
|
void |
resumeAll() |
int |
size() |
void |
suspendAll() |
String |
toString() |
public ICommandFactory getActiveFactory()
public void popFactory()
public void pushFactory(ICommandFactory factory)
public int size()
public void fireFactoryStackChangedEvent()
public void fireEvent(com.google.gwt.event.shared.GwtEvent<?> event)
fireEvent
in interface com.google.gwt.event.shared.HasHandlers
public com.google.gwt.event.shared.HandlerRegistration addCommandFactoryChangeHandler(CommandFactorySelectorChangeHandler handler)
addCommandFactoryChangeHandler
in interface HasCommandFactorySelectorChangeHandlers
public void suspendAll()
public void resumeAll()
public boolean isSuspended()
public boolean processSelectionChanged(com.extjs.gxt.ui.client.event.SelectionChangedEvent<SVGElementModel> se)
SelectionChangedProcessor
processSelectionChanged
in interface SelectionChangedProcessor<SVGElementModel>
Copyright © 2018. All Rights Reserved.