All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.dirigible.ide-bpm-workspace.js.bpm-perspective.js Maven / Gradle / Ivy

/*
 * Copyright (c) 2024 Eclipse Dirigible contributors
 *
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v2.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v20.html
 *
 * SPDX-FileCopyrightText: Eclipse Dirigible contributors
 * SPDX-License-Identifier: EPL-2.0
 */
let IDEBPMWorkspacePerspective = angular.module("IDEBPMWorkspace", ["ngResource", "ideLayout", "ideUI"]);

IDEBPMWorkspacePerspective.config(["messageHubProvider", function (messageHubProvider) {
    messageHubProvider.eventIdPrefix = 'bpm';
}]);

IDEBPMWorkspacePerspective.controller("BpmWorkspaceViewController", ["$scope", function ($scope) {
    $scope.layoutModel = {
        views: ["bpm-process-definitions-view", "bpm-process-instances-view", "bpm-historic-process-instances-view", "bpm-process-context-view", "bpm-process-jobs-view", "bpm-image-viewer", "bpm-user-tasks"],
        viewSettings: {
            "bpm-process-definitions-view": { expanded: true },
            "bpm-process-instances-view": { expanded: true },
            "bpm-historic-process-instances-view": { expanded: true },
            "bpm-process-context-view": { expanded: true },
            "bpm-process-jobs-view": { expanded: true },
            "bpm-image-viewer": { closable: false },
        },
        layoutSettings: {
            hideEditorsPane: false,
            hideCenterTabs: true,
        },
    };
    $scope.layoutConfig = {
        leftPaneMinSize: 360,
    };
}]);




© 2015 - 2025 Weber Informatics LLC | Privacy Policy