org.ocopomo.annotation.content
Class Utils

java.lang.Object
  extended by org.ocopomo.annotation.content.Utils

public class Utils
extends java.lang.Object


Constructor Summary
Utils()
           
 
Method Summary
static org.eclipse.core.resources.IProject activeProject()
           
static void clearCredentials(AlfrescoSettings aSettings, org.eclipse.swt.widgets.Shell shell)
           
static org.apache.chemistry.opencmis.client.api.Session createSession(AlfrescoSettings aSettings, Credentials cred)
           
static Credentials credentialsFor(AlfrescoSettings aSettings, org.eclipse.swt.widgets.Shell shell)
           
static void saveCredentials(Credentials cred, AlfrescoSettings aSettings, org.eclipse.swt.widgets.Shell shell)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utils

public Utils()
Method Detail

activeProject

public static org.eclipse.core.resources.IProject activeProject()

credentialsFor

public static Credentials credentialsFor(AlfrescoSettings aSettings,
                                         org.eclipse.swt.widgets.Shell shell)

createSession

public static org.apache.chemistry.opencmis.client.api.Session createSession(AlfrescoSettings aSettings,
                                                                             Credentials cred)

clearCredentials

public static void clearCredentials(AlfrescoSettings aSettings,
                                    org.eclipse.swt.widgets.Shell shell)

saveCredentials

public static void saveCredentials(Credentials cred,
                                   AlfrescoSettings aSettings,
                                   org.eclipse.swt.widgets.Shell shell)