Search in sources :

Example 1 with GoogleContactsProxy

use of de.janrufmonitor.repository.GoogleContactsProxy in project janrufmonitor by tbrandt77.

the class GoogleCategoryImportAction method run.

public void run() {
    GoogleContactsProxy ocp = new GoogleContactsProxy();
    List subfolders = ocp.getCategories();
    if (subfolders != null && subfolders.size() > 0) {
        ocp.ensureEditorConfigurationCatergories(subfolders);
        IAction cat = ActionRegistry.getInstance().getAction("editor_category", this.m_app);
        cat.setApplication(this.m_app);
        cat.run();
    }
}
Also used : IAction(de.janrufmonitor.ui.jface.application.action.IAction) GoogleContactsProxy(de.janrufmonitor.repository.GoogleContactsProxy) List(java.util.List)

Aggregations

GoogleContactsProxy (de.janrufmonitor.repository.GoogleContactsProxy)1 IAction (de.janrufmonitor.ui.jface.application.action.IAction)1 List (java.util.List)1