org.vectomatic.client.rep.controller
Class GroupController

java.lang.Object
  extended by org.vectomatic.client.rep.controller.ControllerBase
      extended by org.vectomatic.client.rep.controller.GroupController
All Implemented Interfaces:
EventListener, IController, IShapeSelectionListener

public class GroupController
extends ControllerBase
implements IShapeSelectionListener

Controller to respond to grouping requests and turn them into GroupCommand


Field Summary
 
Fields inherited from class org.vectomatic.client.rep.controller.ControllerBase
_app
 
Constructor Summary
GroupController(RepApplication app)
           
 
Method Summary
 void activate(DrawingView view)
           
 com.google.gwt.user.client.ui.MenuItem getGroupContextItem()
           
 com.google.gwt.user.client.ui.MenuItem getGroupMenuItem()
           
 void selectionChanged(ShapeSelection selection)
           
 
Methods inherited from class org.vectomatic.client.rep.controller.ControllerBase
deactivate, keyDown, keyPress, keyUp, mouseDown, mouseMove, mouseUp, render
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupController

public GroupController(RepApplication app)
Method Detail

activate

public void activate(DrawingView view)
Specified by:
activate in interface IController
Overrides:
activate in class ControllerBase

selectionChanged

public void selectionChanged(ShapeSelection selection)
Specified by:
selectionChanged in interface IShapeSelectionListener

getGroupMenuItem

public com.google.gwt.user.client.ui.MenuItem getGroupMenuItem()

getGroupContextItem

public com.google.gwt.user.client.ui.MenuItem getGroupContextItem()


Copyright © 2010. All Rights Reserved.