public ValidationSuiteReport()
        {
            ToolbarExtension.SetStyleSheets(this);

            name = "validationReport";
            this.StretchToParentSize();

            style.justifyContent = Justify.SpaceBetween;

            Add(CreateContent());

            RegisterCallback <AttachToPanelEvent>(e => OnEnterPanel());
            RegisterCallback <DetachFromPanelEvent>(e => OnLeavePanel());

            OnEnterPanel();
        }
Esempio n. 2
0
        public PrepareTools(IPackageVersion packageVersion, PackageTestRunner packageTestRunner = null)
        {
            ToolbarExtension.SetStyleSheets(this);

            PackageTestRunner = packageTestRunner ?? PackageTestRunnerSingleton.instance.PackageTestRunner;

            PackageVersion = packageVersion;

            RefreshDevelopmentButtons();

            SetupTestButton();
            SetupValidateButton();

            PackageTestRunner.Refresh();
            SetPackageTestRunner();

            MenuExtensions.OnShowDevToolsSet += OnShowDevToolsSet;
        }
Esempio n. 3
0
 public PublishTools()
 {
     ToolbarExtension.SetStyleSheets(this);
     SetupPublishButton();
 }