Search in sources :

Example 1 with IShowInTargetList

use of org.eclipse.ui.part.IShowInTargetList in project egit by eclipse.

the class CommitEditor method getShowInTargetIds.

@Override
public String[] getShowInTargetIds() {
    IFormPage currentPage = getActivePageInstance();
    IShowInTargetList targetList = AdapterUtils.adapt(currentPage, IShowInTargetList.class);
    if (targetList != null) {
        return targetList.getShowInTargetIds();
    }
    return null;
}
Also used : IShowInTargetList(org.eclipse.ui.part.IShowInTargetList) IFormPage(org.eclipse.ui.forms.editor.IFormPage)

Aggregations

IFormPage (org.eclipse.ui.forms.editor.IFormPage)1 IShowInTargetList (org.eclipse.ui.part.IShowInTargetList)1