public class RepositorySecurityUI extends Object
| Constructor and Description |
|---|
RepositorySecurityUI() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getVersionComment(org.eclipse.swt.widgets.Shell shell,
Repository repository,
String operationDescription,
String fullPath,
boolean forceEntry) |
static boolean |
showVersionCommentMandatoryDialog(org.eclipse.swt.widgets.Shell shell) |
static boolean |
verifyOperations(org.eclipse.swt.widgets.Shell shell,
Repository repository,
boolean displayError,
RepositoryOperation... operations)
Verify a repository operation, show an error dialog if needed.
|
static boolean |
verifyOperations(org.eclipse.swt.widgets.Shell shell,
Repository repository,
RepositoryOperation... operations)
Verify a repository operation, show an error dialog if there is a security error.
|
public static boolean verifyOperations(org.eclipse.swt.widgets.Shell shell,
Repository repository,
boolean displayError,
RepositoryOperation... operations)
shell - The parent frame to display error dialogrepository - The repository meta objectdisplayError - If true, then display an error dialog if there is a security erroroperations - the operations you want to perform with the supplied user.public static boolean verifyOperations(org.eclipse.swt.widgets.Shell shell,
Repository repository,
RepositoryOperation... operations)
shell - The parent frame to display error dialogrepository - The repository meta objectoperations - the operations you want to perform with the supplied user.public static String getVersionComment(org.eclipse.swt.widgets.Shell shell, Repository repository, String operationDescription, String fullPath, boolean forceEntry)
public static boolean showVersionCommentMandatoryDialog(org.eclipse.swt.widgets.Shell shell)
shell - the parent shell.Copyright © 2019 Hitachi Vantara. All rights reserved.