|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjfb.tools.activitymgr.ui.util.AbstractTableMgr
jfb.tools.activitymgr.ui.ContributionsUI
public class ContributionsUI
IHM de gestion des contributions.
| Nested Class Summary | |
|---|---|
static interface |
ContributionsUI.IContributionListener
Interface utilisée pour permettre l'écoute de la suppression ou de l'ajout de durées. |
| Field Summary | |
|---|---|
static int |
FRIDAY_COLUMN_IDX
|
static int |
MONDAY_COLUMN_IDX
|
static int |
SATURDAY_COLUMN_IDX
|
SelectableCollaboratorPanel |
selectableCollaboratorPanel
Table présentant la liste des collaborateurs |
static int |
SUNDAY_COLUMN_IDX
|
static int |
TASK_NAME_COLUMN_IDX
|
static int |
TASK_PATH_COLUMN_IDX
Constantes associées aux colonnes de la table de saisie des contributions |
static int |
THURSDAY_COLUMN_IDX
|
static int |
TUESDAY_COLUMN_IDX
|
static int |
WEDNESDAY_COLUMN_IDX
|
| Fields inherited from class jfb.tools.activitymgr.ui.util.AbstractTableMgr |
|---|
ROOT_NODE |
| Constructor Summary | |
|---|---|
ContributionsUI(org.eclipse.swt.widgets.Composite parentComposite)
Constructeur par défaut. |
|
ContributionsUI(org.eclipse.swt.widgets.TabItem tabItem)
Constructeur permettant de placer l'IHM dans un onglet. |
|
| Method Summary | |
|---|---|
void |
addContributionListener(ContributionsUI.IContributionListener listener)
Ajoute un listener. |
boolean |
canModify(java.lang.Object element,
java.lang.String property)
|
void |
collaboratorActivationStatusChanged(Collaborator collaborator)
Indique que l'état d'activation d'un collaborateur a été désactivé dans le référentiel. |
void |
collaboratorAdded(Collaborator collaborator)
Indique qu'un collaborateur a été ajouté au référentiel. |
void |
collaboratorRemoved(Collaborator collaborator)
Indique qu'un collaborateur a été supprimé du référentiel. |
void |
collaboratorSelected(Collaborator selectedCollaborator)
Notifie de la sélection d'un collaborateur. |
void |
collaboratorUpdated(Collaborator collaborator)
Indique qu'un collaborateur a été modifié du référentiel. |
void |
databaseClosed()
Notifie de l'ouverture de la fermeture. |
void |
databaseOpened()
Notifie de l'ouverture de l'accès à la base de données. |
void |
durationActivationStatusChanged(Duration duration)
Indique que l'état d'activation d'une durée a été désactivée dans le référentiel. |
void |
durationAdded(Duration duration)
Indique qu'une durée a été ajoutée au référentiel. |
void |
durationRemoved(Duration duration)
Indique qu'une durée a été supprimée du référentiel. |
void |
durationUpdated(Duration oldDuration,
Duration newDuration)
Indique qu'une durée a été modifiée dans le référentiel. |
java.lang.String |
getColumnText(java.lang.Object element,
int columnIndex)
|
java.lang.Object[] |
getElements(java.lang.Object inputElement)
|
org.eclipse.swt.graphics.Font |
getFont(java.lang.Object element,
int columnIndex)
|
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 |
removeContributionListener(ContributionsUI.IContributionListener listener)
Ajoute un listener. |
void |
taskAdded(Task task)
Indique qu'une tache a été ajoutée au référentiel. |
void |
taskMoved(java.lang.String oldTaskFullpath,
Task movedTask)
Indique qu'une tache a été déplacée duans le référentiel. |
void |
taskRemoved(Task removedTask)
Indique qu'une tache a été supprimée du référentiel. |
void |
taskUpdated(Task updatedTask)
Indique qu'une tache a été modifiée duans le référentiel. |
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, getColumnImage, 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 FRIDAY_COLUMN_IDX
public static final int MONDAY_COLUMN_IDX
public static final int SATURDAY_COLUMN_IDX
public SelectableCollaboratorPanel selectableCollaboratorPanel
public static final int SUNDAY_COLUMN_IDX
public static final int TASK_NAME_COLUMN_IDX
public static final int TASK_PATH_COLUMN_IDX
public static final int THURSDAY_COLUMN_IDX
public static final int TUESDAY_COLUMN_IDX
public static final int WEDNESDAY_COLUMN_IDX
| Constructor Detail |
|---|
public ContributionsUI(org.eclipse.swt.widgets.Composite parentComposite)
parentComposite - composant parent.public ContributionsUI(org.eclipse.swt.widgets.TabItem tabItem)
tabItem - item parent.| Method Detail |
|---|
public void addContributionListener(ContributionsUI.IContributionListener listener)
listener - le nouveau listener.
public boolean canModify(java.lang.Object element,
java.lang.String property)
canModify in interface org.eclipse.jface.viewers.ICellModifierpublic void collaboratorActivationStatusChanged(Collaborator collaborator)
CollaboratorsUI.ICollaboratorListener
collaboratorActivationStatusChanged in interface CollaboratorsUI.ICollaboratorListenercollaborator - le collaborateur modifié.public void collaboratorAdded(Collaborator collaborator)
CollaboratorsUI.ICollaboratorListener
collaboratorAdded in interface CollaboratorsUI.ICollaboratorListenercollaborator - le collaborateur ajouté.public void collaboratorRemoved(Collaborator collaborator)
CollaboratorsUI.ICollaboratorListener
collaboratorRemoved in interface CollaboratorsUI.ICollaboratorListenercollaborator - le collaborateur supprimé.public void collaboratorSelected(Collaborator selectedCollaborator)
ICollaboratorSelectionListener
collaboratorSelected in interface ICollaboratorSelectionListenerselectedCollaborator - le collaborateur sélectionnée.public void collaboratorUpdated(Collaborator collaborator)
CollaboratorsUI.ICollaboratorListener
collaboratorUpdated in interface CollaboratorsUI.ICollaboratorListenercollaborator - le collaborateur modifié.public void databaseClosed()
DatabaseUI.IDbStatusListener
databaseClosed in interface DatabaseUI.IDbStatusListenerpublic void databaseOpened()
DatabaseUI.IDbStatusListener
databaseOpened in interface DatabaseUI.IDbStatusListenerpublic void durationActivationStatusChanged(Duration duration)
DurationsUI.IDurationListener
durationActivationStatusChanged in interface DurationsUI.IDurationListenerduration - la durée modifiée.public void durationAdded(Duration duration)
DurationsUI.IDurationListener
durationAdded in interface DurationsUI.IDurationListenerduration - la durée ajoutée.public void durationRemoved(Duration duration)
DurationsUI.IDurationListener
durationRemoved in interface DurationsUI.IDurationListenerduration - la durée supprimée.
public void durationUpdated(Duration oldDuration,
Duration newDuration)
DurationsUI.IDurationListener
durationUpdated in interface DurationsUI.IDurationListeneroldDuration - la durée modifiée.newDuration - la nouvelle durée.
public java.lang.String getColumnText(java.lang.Object element,
int columnIndex)
getColumnText in interface org.eclipse.jface.viewers.ITableLabelProviderpublic java.lang.Object[] getElements(java.lang.Object inputElement)
getElements in interface org.eclipse.jface.viewers.IStructuredContentProvider
public org.eclipse.swt.graphics.Font getFont(java.lang.Object element,
int columnIndex)
getFont in interface org.eclipse.jface.viewers.ITableFontProvider
public java.lang.Object getValue(java.lang.Object element,
java.lang.String property)
getValue in interface org.eclipse.jface.viewers.ICellModifierpublic void menuHidden(org.eclipse.swt.events.MenuEvent e)
menuHidden in interface org.eclipse.swt.events.MenuListenerpublic 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.ICellModifierpublic void removeContributionListener(ContributionsUI.IContributionListener listener)
listener - le nouveau listener.public void taskAdded(Task task)
TasksUI.ITaskListener
taskAdded in interface TasksUI.ITaskListenertask - la tache ajoutée.
public void taskMoved(java.lang.String oldTaskFullpath,
Task movedTask)
TasksUI.ITaskListener
taskMoved in interface TasksUI.ITaskListeneroldTaskFullpath - ancien chemin de la tache.movedTask - la tache déplacée.public void taskRemoved(Task removedTask)
TasksUI.ITaskListener
taskRemoved in interface TasksUI.ITaskListenerremovedTask - la tache supprimée.public void taskUpdated(Task updatedTask)
TasksUI.ITaskListener
taskUpdated in interface TasksUI.ITaskListenerupdatedTask - la tache modifiée.public void widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent e)
widgetDefaultSelected in interface org.eclipse.swt.events.SelectionListenerpublic 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 | ||||||||