public MenuFactoryGenerator( MApplication application, IEclipseContext appContext, IConfigurationElement configElement, String attribute) { this.application = application; // this.appContext = appContext; assert appContext.equals(this.application.getContext()); this.configElement = configElement; this.location = new MenuLocationURI(attribute); }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; ContextInjectionListener other = (ContextInjectionListener) obj; if (context == null) { if (other.context != null) return false; } else if (!context.equals(other.context)) return false; if (requestor == null) { if (other.requestor != null) return false; } else if (!requestor.equals(other.requestor)) return false; return true; }