I'm guessing that you add this import to use org.eclipse.egit.ui.Activator in core fragment. In org.eclipse.egit.core we have also specialized Activator, in egit.ui we use ui.Activator and in egit.core we use core.Activator ;)