Search in sources :

Example 16 with IAction

use of de.janrufmonitor.ui.jface.application.action.IAction in project janrufmonitor by tbrandt77.

the class LastOpenEditorAction method getSubActions.

public IAction[] getSubActions() {
    List lactions = this.getLastopenedRepositories();
    IAction[] actions = new IAction[lactions.size()];
    for (int i = 0; i < lactions.size(); i++) {
        actions[i] = (IAction) lactions.get(i);
    }
    return actions;
}
Also used : IAction(de.janrufmonitor.ui.jface.application.action.IAction) ArrayList(java.util.ArrayList) List(java.util.List)

Example 17 with IAction

use of de.janrufmonitor.ui.jface.application.action.IAction in project janrufmonitor by tbrandt77.

the class LastOpenJournalAction method getSubActions.

public IAction[] getSubActions() {
    List lactions = this.getLastopenedRepositories();
    IAction[] actions = new IAction[lactions.size()];
    for (int i = 0; i < lactions.size(); i++) {
        actions[i] = (IAction) lactions.get(i);
    }
    return actions;
}
Also used : IAction(de.janrufmonitor.ui.jface.application.action.IAction) ArrayList(java.util.ArrayList) List(java.util.List)

Aggregations

IAction (de.janrufmonitor.ui.jface.application.action.IAction)17 List (java.util.List)13 ArrayList (java.util.ArrayList)10 IFilter (de.janrufmonitor.repository.filter.IFilter)4 ILocalRepository (de.janrufmonitor.repository.types.ILocalRepository)4 Message (de.janrufmonitor.exception.Message)2 ITracker (de.janrufmonitor.repository.imexport.ITracker)2 SWTExecuter (de.janrufmonitor.ui.swt.SWTExecuter)2 InvocationTargetException (java.lang.reflect.InvocationTargetException)2 Comparator (java.util.Comparator)2 Iterator (java.util.Iterator)2 Properties (java.util.Properties)2 IProgressMonitor (org.eclipse.core.runtime.IProgressMonitor)2 ProgressMonitorDialog (org.eclipse.jface.dialogs.ProgressMonitorDialog)2 IRunnableWithProgress (org.eclipse.jface.operation.IRunnableWithProgress)2 DropTarget (org.eclipse.swt.dnd.DropTarget)2 DropTargetAdapter (org.eclipse.swt.dnd.DropTargetAdapter)2 DropTargetEvent (org.eclipse.swt.dnd.DropTargetEvent)2 FileTransfer (org.eclipse.swt.dnd.FileTransfer)2 Transfer (org.eclipse.swt.dnd.Transfer)2