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

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

            style.justifyContent = Justify.SpaceBetween;

            Add(CreateContent());

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

            OnEnterPanel();
        }
Ejemplo 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;
        }
Ejemplo n.º 3
0
 public PublishTools()
 {
     ToolbarExtension.SetStyleSheets(this);
     SetupPublishButton();
 }