Search in sources :

Example 1 with DeployToAction

use of org.talend.mdm.repository.ui.actions.DeployToAction in project tmdm-studio-se by Talend.

the class RepositoryNodeActionProviderAdapter method initCommonViewer.

@Override
public void initCommonViewer(CommonViewer commonViewer) {
    importObjectAction = initRepositoryAction(ImportObjectAction.createImportAction(), commonViewer);
    exportObjectAction = initRepositoryAction(new ExportObjectAction(), commonViewer);
    createFolderAction = initRepositoryAction(new CreateFolderAction(), commonViewer);
    removeFromRepositoryAction = initRepositoryAction(new RemoveFromRepositoryAction(), commonViewer);
    renameAction = initRepositoryAction(new RenameObjectAction(), commonViewer);
    duplicateAction = initRepositoryAction(new DuplicateAction(), commonViewer);
    deployToAction = initRepositoryAction(new DeployToAction(), commonViewer);
    deployAnotherToAction = initRepositoryAction(new DeployAnotherVersionAction(), commonViewer);
    deployToLastServerAction = initRepositoryAction(new DeployToLastServerAction(), commonViewer);
    undeployAction = initRepositoryAction(new UndeployAction(), commonViewer);
    deployAllAction = initRepositoryAction(new DeployAllAction(false), commonViewer);
    emAction = initRepositoryAction(new MDMEventManagerAction(), commonViewer);
    importServerObjectAction = initRepositoryAction(new ImportServerObjectAction(), commonViewer);
    mdmEditPropertyAction = initRepositoryAction(new MDMEditPropertyAction(), commonViewer);
    openVersionAction = initRepositoryAction(new MDMOpenExistVersionProcessAction(), commonViewer);
    // for debug digestValue
    debugDigestValueAction = initRepositoryAction(new DebugDigestValueAction(), commonViewer);
    // 
    if (hasValidateService()) {
        validateAction = initRepositoryAction(new ValidateAction(), commonViewer);
    }
    // 
    refreshAction = globalActionHandler.getGlobalAction(IRepositoryViewGlobalActionHandler.REFRESH);
    copyAction = globalActionHandler.getGlobalAction(IRepositoryViewGlobalActionHandler.COPY);
    if (exAdapter != null) {
        exAdapter.initCommonViewer(commonViewer);
    }
    pasteAction = globalActionHandler.getGlobalAction(IRepositoryViewGlobalActionHandler.PASTE);
    // action provider
    for (IRepositoryNodeActionProvider provider : getExtendActionProviders()) {
        provider.initCommonViewer(commonViewer);
    }
    // recycle
    RepositoryNodeConfigurationManager.getRecycleBinNodeConfiguration().getActionProvider().initCommonViewer(commonViewer);
}
Also used : RenameObjectAction(org.talend.mdm.repository.ui.actions.RenameObjectAction) ExportObjectAction(org.talend.mdm.repository.ui.actions.ExportObjectAction) MDMEditPropertyAction(org.talend.mdm.repository.ui.actions.MDMEditPropertyAction) DebugDigestValueAction(org.talend.mdm.repository.ui.actions.DebugDigestValueAction) MDMEventManagerAction(org.talend.mdm.repository.ui.actions.process.MDMEventManagerAction) DeployToLastServerAction(org.talend.mdm.repository.ui.actions.DeployToLastServerAction) IRepositoryNodeActionProvider(org.talend.mdm.repository.core.IRepositoryNodeActionProvider) RemoveFromRepositoryAction(org.talend.mdm.repository.ui.actions.RemoveFromRepositoryAction) UndeployAction(org.talend.mdm.repository.ui.actions.UndeployAction) DeployAllAction(org.talend.mdm.repository.ui.actions.DeployAllAction) DeployToAction(org.talend.mdm.repository.ui.actions.DeployToAction) ImportServerObjectAction(org.talend.mdm.repository.ui.actions.ImportServerObjectAction) CreateFolderAction(org.talend.mdm.repository.ui.actions.CreateFolderAction) ValidateAction(org.talend.mdm.repository.ui.actions.ValidateAction) MDMOpenExistVersionProcessAction(org.talend.mdm.repository.ui.actions.MDMOpenExistVersionProcessAction) DeployAnotherVersionAction(org.talend.mdm.repository.ui.actions.DeployAnotherVersionAction) DuplicateAction(org.talend.mdm.repository.ui.actions.DuplicateAction)

Aggregations

IRepositoryNodeActionProvider (org.talend.mdm.repository.core.IRepositoryNodeActionProvider)1 CreateFolderAction (org.talend.mdm.repository.ui.actions.CreateFolderAction)1 DebugDigestValueAction (org.talend.mdm.repository.ui.actions.DebugDigestValueAction)1 DeployAllAction (org.talend.mdm.repository.ui.actions.DeployAllAction)1 DeployAnotherVersionAction (org.talend.mdm.repository.ui.actions.DeployAnotherVersionAction)1 DeployToAction (org.talend.mdm.repository.ui.actions.DeployToAction)1 DeployToLastServerAction (org.talend.mdm.repository.ui.actions.DeployToLastServerAction)1 DuplicateAction (org.talend.mdm.repository.ui.actions.DuplicateAction)1 ExportObjectAction (org.talend.mdm.repository.ui.actions.ExportObjectAction)1 ImportServerObjectAction (org.talend.mdm.repository.ui.actions.ImportServerObjectAction)1 MDMEditPropertyAction (org.talend.mdm.repository.ui.actions.MDMEditPropertyAction)1 MDMOpenExistVersionProcessAction (org.talend.mdm.repository.ui.actions.MDMOpenExistVersionProcessAction)1 RemoveFromRepositoryAction (org.talend.mdm.repository.ui.actions.RemoveFromRepositoryAction)1 RenameObjectAction (org.talend.mdm.repository.ui.actions.RenameObjectAction)1 UndeployAction (org.talend.mdm.repository.ui.actions.UndeployAction)1 ValidateAction (org.talend.mdm.repository.ui.actions.ValidateAction)1 MDMEventManagerAction (org.talend.mdm.repository.ui.actions.process.MDMEventManagerAction)1