[editor only] Linkage container is only for composites
This commit is contained in:
+4
@@ -175,6 +175,10 @@ public class UIBasicItemProperties extends UIItemProperties {
|
||||
libraryLinkLabel.setText(text);
|
||||
}
|
||||
|
||||
public void disableLinkage() {
|
||||
linkageContainer.setVisible(false);
|
||||
}
|
||||
|
||||
private Table getTintTable() {
|
||||
VisTable tintTable = new VisTable();
|
||||
tintTable.add(StandardWidgetsFactory.createLabel("Tint:")).growX().padRight(3);
|
||||
|
||||
+2
@@ -177,6 +177,8 @@ public class UIBasicItemPropertiesMediator extends UIItemPropertiesMediator<UIBa
|
||||
} else {
|
||||
viewComponent.setLinkage(false, "not in library");
|
||||
}
|
||||
} else {
|
||||
viewComponent.disableLinkage();
|
||||
}
|
||||
|
||||
if (entityType == EntityFactory.LIGHT_TYPE) {
|
||||
|
||||
Reference in New Issue
Block a user