Search in sources :

Example 1 with OutlookContactProxy

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

the class OutlookCategoryImportAction method run.

public void run() {
    OutlookContactProxy ocp = new OutlookContactProxy();
    List subfolders = ocp.getAllContactFolders();
    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) List(java.util.List) OutlookContactProxy(de.janrufmonitor.repository.OutlookContactProxy)

Aggregations

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