|
|||||||||
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.DurationsUI
public class DurationsUI
IHM de gestion des durées.
Nested Class Summary | |
---|---|
static interface |
DurationsUI.IDurationListener
Interface utilisée pour permettre l'écoute de la suppression ou de l'ajout de durées. |
Field Summary | |
---|---|
static int |
DURATION_COLUMN_IDX
|
static int |
IS_ACTIVE_COLUMN_IDX
Constantes associées aux colonnes |
Fields inherited from class jfb.tools.activitymgr.ui.util.AbstractTableMgr |
---|
ROOT_NODE |
Constructor Summary | |
---|---|
DurationsUI(org.eclipse.swt.widgets.Composite parentComposite)
Constructeur par défaut. |
|
DurationsUI(org.eclipse.swt.widgets.TabItem tabItem)
Constructeur permettant de placer l'IHM dans un onglet. |
Method Summary | |
---|---|
void |
addDurationListener(DurationsUI.IDurationListener 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 |
removeDurationListener(DurationsUI.IDurationListener 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 DURATION_COLUMN_IDX
public static final int IS_ACTIVE_COLUMN_IDX
Constructor Detail |
---|
public DurationsUI(org.eclipse.swt.widgets.Composite parentComposite)
parentComposite
- composant parent.public DurationsUI(org.eclipse.swt.widgets.TabItem tabItem)
tabItem
- item parent.Method Detail |
---|
public void addDurationListener(DurationsUI.IDurationListener 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 removeDurationListener(DurationsUI.IDurationListener 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 |