Search in sources :

Example 1 with GitModelRoot

use of org.eclipse.egit.ui.internal.synchronize.model.GitModelRoot in project egit by eclipse.

the class GitChangeSetContentProvider method getModelRoot.

@Override
protected Object getModelRoot() {
    if (modelRoot == null) {
        GitSubscriberMergeContext context = (GitSubscriberMergeContext) getContext();
        modelRoot = new GitModelRoot(context.getSyncData());
    }
    return modelRoot;
}
Also used : GitModelRoot(org.eclipse.egit.ui.internal.synchronize.model.GitModelRoot) GitSubscriberMergeContext(org.eclipse.egit.core.synchronize.GitSubscriberMergeContext)

Aggregations

GitSubscriberMergeContext (org.eclipse.egit.core.synchronize.GitSubscriberMergeContext)1 GitModelRoot (org.eclipse.egit.ui.internal.synchronize.model.GitModelRoot)1