logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class SerenityHubOpenToolCard

    Validate-view open-tool card (spec §5.2, design ADR-4a): title and description, opened by clicking anywhere on the card (UX feedback #4 — one interaction model, no per-card button). Deliberately carries no Run button, cached result, or "last run" timestamp — the tool owns its own execution/UX and cannot be reduced to a headless cached report. Carries an optional corner favorite-toggle star (UX feedback batch 9b, extending batch 9's tool-card-only star for consistency): every real open-tool entry gets one, but the constructor tolerates a null favorites the same way SerenityHubValidatorCard does.

    Inheritance
    object
    SerenityHubOpenToolCard
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: Serenity.Localization.Installation.Settings.Editor.Hub.Components
    Assembly: Serenity.UnityLocalization.Installation.Editor.dll
    Syntax
    public sealed class SerenityHubOpenToolCard

    Constructors

    SerenityHubOpenToolCard(SerenityHubToolEntry, SerenityHubLauncher, SerenityHubFavorites)

    Declaration
    public SerenityHubOpenToolCard(SerenityHubToolEntry entry, SerenityHubLauncher launcher, SerenityHubFavorites favorites = null)
    Parameters
    Type Name Description
    SerenityHubToolEntry entry
    SerenityHubLauncher launcher
    SerenityHubFavorites favorites

    Properties

    Root

    Declaration
    public VisualElement Root { get; }
    Property Value
    Type Description
    VisualElement

    Methods

    Open()

    Opens the underlying tool's own window.

    Declaration
    public void Open()

    ToggleFavorite()

    Toggles this card's favorite state, WITHOUT opening the tool. No-op when this card was built without a favorites store.

    Declaration
    public void ToggleFavorite()
    In this article
    © 2026 Serenity. All Rights Reserved