|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jfb.tools.activitymgr.ui.util.AbstractTableMgr jfb.tools.activitymgr.ui.CollaboratorsUI
public class CollaboratorsUI
IHM de gestion des collaborateurs.
Nested Class Summary | |
---|---|
static interface |
CollaboratorsUI.ICollaboratorListener
Interface utilisée pour permettre l'écoute de la suppression ou de l'ajout de collaborateurs. |
Field Summary | |
---|---|
static int |
FIRST_NAME_COLUMN_IDX
|
static int |
IDENTIFIER_COLUMN_IDX
|
static int |
IS_ACTIVE_COLUMN_IDX
Constantes associées aux colonnes |
static int |
LAST_NAME_COLUMN_IDX
|
Fields inherited from class jfb.tools.activitymgr.ui.util.AbstractTableMgr |
---|
ROOT_NODE |
Constructor Summary | |
---|---|
CollaboratorsUI(org.eclipse.swt.widgets.Composite parentComposite)
Constructeur par défaut. |
|
CollaboratorsUI(org.eclipse.swt.widgets.TabItem tabItem)
Constructeur permettant de placer l'IHM dans un onglet. |
Method Summary | |
---|---|
void |
addCollaboratorListener(CollaboratorsUI.ICollaboratorListener listener)
Ajoute un listener. |
boolean |
canModify(java.lang.Object element,
java.lang.String property)
|
void |
databaseClosed()
Notifie de l'ouverture de la fermeture. |
void |
databaseOpened()
Notifie de l'ouverture de l'accès à la base de données. |
org.eclipse.swt.graphics.Image |
getColumnImage(java.lang.Object element,
int columnIndex)
|
java.lang.String |
getColumnText(java.lang.Object element,
int columnIndex)
|
java.lang.Object[] |
getElements(java.lang.Object inputElement)
|
java.lang.Object |
getValue(java.lang.Object element,
java.lang.String property)
|
void |
menuHidden(org.eclipse.swt.events.MenuEvent e)
|
void |
menuShown(org.eclipse.swt.events.MenuEvent e)
|
void |
modify(java.lang.Object element,
java.lang.String property,
java.lang.Object value)
|
void |
removeCollaboratorListener(CollaboratorsUI.ICollaboratorListener listener)
Ajoute un listener. |
void |
widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent e)
|
void |
widgetSelected(org.eclipse.swt.events.SelectionEvent e)
|
Methods inherited from class jfb.tools.activitymgr.ui.util.AbstractTableMgr |
---|
addListener, dispose, inputChanged, isLabelProperty, notifyLabelProviderListener, removeListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int FIRST_NAME_COLUMN_IDX
public static final int IDENTIFIER_COLUMN_IDX
public static final int IS_ACTIVE_COLUMN_IDX
public static final int LAST_NAME_COLUMN_IDX
Constructor Detail |
---|
public CollaboratorsUI(org.eclipse.swt.widgets.Composite parentComposite)
parentComposite
- composant parent.public CollaboratorsUI(org.eclipse.swt.widgets.TabItem tabItem)
tabItem
- item parent.Method Detail |
---|
public void addCollaboratorListener(CollaboratorsUI.ICollaboratorListener listener)
listener
- le nouveau listener.public boolean canModify(java.lang.Object element, java.lang.String property)
canModify
in interface org.eclipse.jface.viewers.ICellModifier
public void databaseClosed()
DatabaseUI.IDbStatusListener
databaseClosed
in interface DatabaseUI.IDbStatusListener
public void databaseOpened()
DatabaseUI.IDbStatusListener
databaseOpened
in interface DatabaseUI.IDbStatusListener
public org.eclipse.swt.graphics.Image getColumnImage(java.lang.Object element, int columnIndex)
getColumnImage
in interface org.eclipse.jface.viewers.ITableLabelProvider
getColumnImage
in class AbstractTableMgr
public java.lang.String getColumnText(java.lang.Object element, int columnIndex)
getColumnText
in interface org.eclipse.jface.viewers.ITableLabelProvider
public java.lang.Object[] getElements(java.lang.Object inputElement)
getElements
in interface org.eclipse.jface.viewers.IStructuredContentProvider
public java.lang.Object getValue(java.lang.Object element, java.lang.String property)
getValue
in interface org.eclipse.jface.viewers.ICellModifier
public void menuHidden(org.eclipse.swt.events.MenuEvent e)
menuHidden
in interface org.eclipse.swt.events.MenuListener
public void menuShown(org.eclipse.swt.events.MenuEvent e)
menuShown
in interface org.eclipse.swt.events.MenuListener
public void modify(java.lang.Object element, java.lang.String property, java.lang.Object value)
modify
in interface org.eclipse.jface.viewers.ICellModifier
public void removeCollaboratorListener(CollaboratorsUI.ICollaboratorListener listener)
listener
- le nouveau listener.public void widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent e)
widgetDefaultSelected
in interface org.eclipse.swt.events.SelectionListener
public void widgetSelected(org.eclipse.swt.events.SelectionEvent e)
widgetSelected
in interface org.eclipse.swt.events.SelectionListener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |