|
|||||||||
| 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.TasksUI
public class TasksUI
IHM de gestion des tâches.
| Nested Class Summary | |
|---|---|
static interface |
TasksUI.ITaskListener
Interface utilisée pour permettre l'écoute de la suppression ou de l'ajout de taches. |
| Field Summary | |
|---|---|
static int |
CODE_COLUMN_IDX
|
static int |
COMMENT_COLUMN_IDX
|
static int |
CONSUMED_COLUMN_IDX
|
static int |
DELTA_COLUMN_IDX
|
static int |
INITIAL_FUND_COLUMN_IDX
|
static int |
INITIALLY_CONSUMED_COLUMN_IDX
|
static int |
NAME_COLUMN_IDX
Constantes associées aux colonnes |
static int |
TODO_COLUMN_IDX
|
| Fields inherited from class jfb.tools.activitymgr.ui.util.AbstractTableMgr |
|---|
ROOT_NODE |
| Constructor Summary | |
|---|---|
TasksUI(org.eclipse.swt.widgets.Composite parentComposite)
Constructeur par défaut. |
|
TasksUI(org.eclipse.swt.widgets.TabItem tabItem)
Constructeur permettant de placer l'IHM dans un onglet. |
|
| Method Summary | |
|---|---|
void |
addTaskListener(TasksUI.ITaskListener listener)
Ajoute un listener. |
boolean |
canModify(java.lang.Object element,
java.lang.String property)
|
void |
contributionAdded(Contribution contribution)
Indique qu'une contribution a été ajoutée au référentiel. |
void |
contributionsRemoved(Contribution[] contributions)
Indique que des contributions ont été supprimées du référentiel. |
void |
contributionsUpdated(Contribution[] contributions)
Indique que des contributions ont été modifiée dans le 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. |
org.eclipse.swt.graphics.Color |
getBackground(java.lang.Object element,
int columnIndex)
|
java.lang.Object[] |
getChildren(java.lang.Object parentElement)
|
java.lang.String |
getColumnText(java.lang.Object element,
int columnIndex)
|
java.lang.Object[] |
getElements(java.lang.Object inputElement)
|
org.eclipse.swt.graphics.Color |
getForeground(java.lang.Object element,
int columnIndex)
|
java.lang.Object |
getParent(java.lang.Object element)
|
java.lang.Object |
getValue(java.lang.Object element,
java.lang.String property)
|
boolean |
hasChildren(java.lang.Object element)
|
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 |
removeTaskListener(TasksUI.ITaskListener 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, getColumnImage, inputChanged, isLabelProperty, notifyLabelProviderListener, removeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.jface.viewers.IContentProvider |
|---|
dispose, inputChanged |
| Field Detail |
|---|
public static final int CODE_COLUMN_IDX
public static final int COMMENT_COLUMN_IDX
public static final int CONSUMED_COLUMN_IDX
public static final int DELTA_COLUMN_IDX
public static final int INITIAL_FUND_COLUMN_IDX
public static final int INITIALLY_CONSUMED_COLUMN_IDX
public static final int NAME_COLUMN_IDX
public static final int TODO_COLUMN_IDX
| Constructor Detail |
|---|
public TasksUI(org.eclipse.swt.widgets.Composite parentComposite)
parentComposite - composant parent.public TasksUI(org.eclipse.swt.widgets.TabItem tabItem)
tabItem - item parent.| Method Detail |
|---|
public void addTaskListener(TasksUI.ITaskListener 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 contributionAdded(Contribution contribution)
contributionAdded in interface ContributionsUI.IContributionListenercontribution - la contribution ajoutée.public void contributionsRemoved(Contribution[] contributions)
contributionsRemoved in interface ContributionsUI.IContributionListenercontributions - les contributions supprimées.public void contributionsUpdated(Contribution[] contributions)
contributionsUpdated in interface ContributionsUI.IContributionListenercontributions - les contributions modifiées.public void databaseClosed()
DatabaseUI.IDbStatusListener
databaseClosed in interface DatabaseUI.IDbStatusListenerpublic void databaseOpened()
DatabaseUI.IDbStatusListener
databaseOpened in interface DatabaseUI.IDbStatusListener
public org.eclipse.swt.graphics.Color getBackground(java.lang.Object element,
int columnIndex)
getBackground in interface org.eclipse.jface.viewers.ITableColorProviderpublic java.lang.Object[] getChildren(java.lang.Object parentElement)
getChildren in interface org.eclipse.jface.viewers.ITreeContentProvider
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.Color getForeground(java.lang.Object element,
int columnIndex)
getForeground in interface org.eclipse.jface.viewers.ITableColorProviderpublic java.lang.Object getParent(java.lang.Object element)
getParent in interface org.eclipse.jface.viewers.ITreeContentProvider
public java.lang.Object getValue(java.lang.Object element,
java.lang.String property)
getValue in interface org.eclipse.jface.viewers.ICellModifierpublic boolean hasChildren(java.lang.Object element)
hasChildren in interface org.eclipse.jface.viewers.ITreeContentProviderpublic 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 removeTaskListener(TasksUI.ITaskListener listener)
listener - le nouveau listener.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 | ||||||||