org.opensubsystems.inventory.application.swt
Class SWTInventoryModule

java.lang.Object
  extended by org.opensubsystems.core.application.ThickClientModuleImpl
      extended by org.opensubsystems.inventory.application.InventoryModule
          extended by org.opensubsystems.inventory.application.swt.SWTInventoryModule
All Implemented Interfaces:
org.opensubsystems.core.application.swt.SWTThickClientModule, org.opensubsystems.core.application.ThickClientModule

public class SWTInventoryModule
extends InventoryModule
implements org.opensubsystems.core.application.swt.SWTThickClientModule

SWT specific implementation of InventoryModule. TODO: ThickClient: Currently this module allows to display only items in one inventory and doesn't allow to change inventories. We may need to rethink it.

Version:
$Id: SWTInventoryModule.java,v 1.4 2007/01/07 06:14:07 bastafidli Exp $
Author:
Miro Halas
Code reviewer:
Miro Halas
Code reviewed:
1.2 2006/03/13 16:29:50 bastafidli

Field Summary
protected  ViewInventory m_screen1
          View items in the inventory.
 
Fields inherited from class org.opensubsystems.inventory.application.InventoryModule
m_inventory, m_selectedCategories, m_selectedSubCategories
 
Fields inherited from class org.opensubsystems.core.application.ThickClientModuleImpl
m_bInitialized, m_client
 
Constructor Summary
SWTInventoryModule()
           
 
Method Summary
 org.eclipse.swt.widgets.Composite getClientArea()
          
 org.eclipse.swt.graphics.Image[] getToolbarImages(org.opensubsystems.core.application.swt.SWTThickClientGui gui)
          
 void refresh()
          
 
Methods inherited from class org.opensubsystems.inventory.application.InventoryModule
changeAvailableCount, displayCreateCategoryDialog, displayCreateItemDialog, displayModifyCategoryDialog, displayModifyItemDialog, getCategoryController, getItemController, getName, getOutCount, init
 
Methods inherited from class org.opensubsystems.core.application.ThickClientModuleImpl
activate, destroy, displayMessage, getClient, pasivate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opensubsystems.core.application.ThickClientModule
activate, destroy, displayMessage, getClient, getName, init, pasivate
 

Field Detail

m_screen1

protected ViewInventory m_screen1
View items in the inventory.

Constructor Detail

SWTInventoryModule

public SWTInventoryModule()
Method Detail

getClientArea

public org.eclipse.swt.widgets.Composite getClientArea()

Specified by:
getClientArea in interface org.opensubsystems.core.application.swt.SWTThickClientModule

getToolbarImages

public org.eclipse.swt.graphics.Image[] getToolbarImages(org.opensubsystems.core.application.swt.SWTThickClientGui gui)

Specified by:
getToolbarImages in interface org.opensubsystems.core.application.swt.SWTThickClientModule

refresh

public void refresh()

Specified by:
refresh in interface org.opensubsystems.core.application.ThickClientModule
Overrides:
refresh in class org.opensubsystems.core.application.ThickClientModuleImpl


Copyright © 2003 - 2006 OpenSubsystems s.r.o.