You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

NullIdeStructureViewRenderer.java 1.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /* *******************************************************************
  2. * Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC).
  3. * All rights reserved.
  4. * This program and the accompanying materials are made available
  5. * under the terms of the Eclipse Public License v1.0
  6. * which accompanies this distribution and is available at
  7. * http://www.eclipse.org/legal/epl-v10.html
  8. *
  9. * Contributors:
  10. * Xerox/PARC initial implementation
  11. * ******************************************************************/
  12. package org.aspectj.ajde.ui;
  13. /**
  14. * @author Mik Kersten
  15. */
  16. public class NullIdeStructureViewRenderer implements StructureViewRenderer {
  17. private boolean hasBeenNotified = false;
  18. public void updateView(StructureView structureView) {
  19. hasBeenNotified = true;
  20. }
  21. public void setActiveNode(IStructureViewNode node) {
  22. // ignored
  23. }
  24. public void setActiveNode(IStructureViewNode node, int lineOffset) {
  25. // ignored
  26. }
  27. public boolean getHasBeenNotified() {
  28. return hasBeenNotified;
  29. }
  30. public void setHasBeenNotified(boolean hasBeenNotified) {
  31. this.hasBeenNotified = hasBeenNotified;
  32. }
  33. }