Search in sources :

Example 1 with OpenObjectAction

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

the class MDMRepositoryLinkHelper method initOpenAction.

private void initOpenAction() {
    if (openAction == null) {
        openAction = new OpenObjectAction();
        MDMRepositoryView repositoryView = MDMRepositoryView.show();
        openAction.initCommonViewer(repositoryView.getCommonViewer());
    }
}
Also used : OpenObjectAction(org.talend.mdm.repository.ui.actions.OpenObjectAction)

Example 2 with OpenObjectAction

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

the class MDMRepositoryActionProvider method initActions.

private void initActions() {
    registerCommonAction(new OpenObjectAction());
    registerCommonAction(new RefreshAction(false));
    registerCommonAction(new CopyAction());
    registerCommonAction(new PasteAction());
}
Also used : PasteAction(org.talend.mdm.repository.ui.actions.PasteAction) RefreshAction(org.talend.mdm.repository.ui.actions.RefreshAction) CopyAction(org.talend.mdm.repository.ui.actions.CopyAction) OpenObjectAction(org.talend.mdm.repository.ui.actions.OpenObjectAction)

Example 3 with OpenObjectAction

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

the class AbstractOpenDataModelMarkerHandler method openDataModel.

protected void openDataModel(String modelName, IMarker marker) {
    IRepositoryViewObject viewObj = RepositoryResourceUtil.findViewObjectByName(IServerObjectRepositoryType.TYPE_DATAMODEL, modelName);
    OpenObjectAction openAction = new OpenObjectAction();
    openAction.openMarker(viewObj, marker);
}
Also used : IRepositoryViewObject(org.talend.core.model.repository.IRepositoryViewObject) OpenObjectAction(org.talend.mdm.repository.ui.actions.OpenObjectAction)

Aggregations

OpenObjectAction (org.talend.mdm.repository.ui.actions.OpenObjectAction)3 IRepositoryViewObject (org.talend.core.model.repository.IRepositoryViewObject)1 CopyAction (org.talend.mdm.repository.ui.actions.CopyAction)1 PasteAction (org.talend.mdm.repository.ui.actions.PasteAction)1 RefreshAction (org.talend.mdm.repository.ui.actions.RefreshAction)1