Selection Context¶
SelectedImageContext
dataclass
¶
SelectedImageContext(image: Any, image_id: int | None, image_name: str, group_id: int | None = None, group_name: str | None = None, owner_id: int | None = None, owner_name: str | None = None, project_id: int | None = None, project_name: str | None = None, dataset_id: int | None = None, dataset_name: str | None = None, path_labels: tuple[str, ...] = (), backend: str = 'ICE')
Structured selection result for a single OMERO image.
Returned by :meth:OmeroBrowserDialog.select_image_contexts and
:meth:OmeroBrowserDialog.get_selected_image_contexts. Contains
the full hierarchy path (group → owner → project → dataset → image)
so callers can display breadcrumbs or organise files.
Attributes:
| Name | Type | Description |
|---|---|---|
image |
object
|
The OMERO |
image_id |
int | None
|
OMERO image id. |
image_name |
str
|
Image name (display text). |
group_id, group_name |
(int | None, str | None)
|
OMERO group the image belongs to. |
owner_id, owner_name |
(int | None, str | None)
|
Owner / experimenter of the image. |
project_id, project_name |
(int | None, str | None)
|
Parent project (if any). |
dataset_id, dataset_name |
(int | None, str | None)
|
Parent dataset (if any). |
path_labels |
tuple[str, ...]
|
Ordered labels from group down to image for breadcrumb display. |
backend |
str
|
Rendering backend identifier. Retained for compatibility and
always |