Skip to content
Snippets Groups Projects
Commit e9a5dded authored by Andreas Bayha's avatar Andreas Bayha
Browse files

DynamicTreeTable: Changed signature of isElementEditable.

The order of parameters is now (int, T), as in getLabel(...).

Issue-Ref: 4014
Issue-Url: https://af3-developer.fortiss.org/issues/4014


Signed-off-by: default avatarAndreas Bayha <bayha@fortiss.org>
parent 4412f924
No related branches found
No related tags found
1 merge request!1254014
AnnotationFxViewPart.java 6b65210913c150420f4fe67d055a0051d1d37a4e YELLOW
AnnotationViewFXController.java c7b53405c1e135c8e4195ed68173570d88c79f48 YELLOW
AnnotationViewFXController.java c4dde26002834991ccb45f30c8cc10f39c78c0be YELLOW
FXAnnotationFilterContentProvider.java 80fa6e9cc2f5ba3a255cab7061edca5fa368451a YELLOW
......@@ -510,7 +510,7 @@ public class AnnotationViewFXController extends CompositeFXControllerBase<SplitP
/** {@inheritDoc} */
@Override
public Color getBackgroundColor(AnnotationEntry element, int column) {
public Color getBackgroundColor(int column, AnnotationEntry element) {
if(element.getModelElement().equals(selected)) {
return LIGHTSEAGREEN;
}
......
DynamicTextFieldTreeTableCell.java de24117e6f785b328f1ff62383626a0b4b54e8ff YELLOW
DynamicTreeContentProviderBase.java 6760a6dc5721175b1dada8f30fd9da05f7bcc4b3 GREEN
DynamicTreeItem.java 75dc5534b119ffdb3c10a65810c2a0f330b7955e GREEN
DynamicTreeTableUIProviderBase.java a8545621099da2a75f2e1aa25025e35902668bde YELLOW
DynamicTreeTableUIProviderBase.java ab6ab0335f24913f26b15e523dfd56b699f92f0f YELLOW
DynamicTreeTableViewer.java 3d91b1bd43393f5d0733a253a85436b8255526ae YELLOW
DynamicTreeUIProviderBase.java e9b68607683de279d0cb8712a28dc131c5c33ece GREEN
DynamicTreeViewer.java 725f41f4fb4b6bfa813f010fb9083ab02eea164a GREEN
......
......@@ -74,7 +74,7 @@ public abstract class DynamicTreeTableUIProviderBase<T> {
* Sets styling properties as background color for the given cell.
*
* This method is not intended to be overwritten. Instead there are getters as
* {@link #getBackgroundColor(Object, int)}.
* {@link #getBackgroundColor(int, Object)}.
*
* @param cell
* The cell to be layouted.
......@@ -86,7 +86,7 @@ public abstract class DynamicTreeTableUIProviderBase<T> {
T data = cell.getTreeTableRow().getItem();
if(data != null) {
String colorStr = colorToHex(getBackgroundColor(data, columnIndex));
String colorStr = colorToHex(getBackgroundColor(columnIndex, data));
cell.setStyle("-fx-background-color: " + colorStr);
}
}
......@@ -102,7 +102,7 @@ public abstract class DynamicTreeTableUIProviderBase<T> {
*
* @return The {@link Color} to be used for the cell background.
*/
public Color getBackgroundColor(T element, int column) {
public Color getBackgroundColor(int column, T element) {
return WHITE;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment