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.

NullIdeFileStructureView.java 1.1KB

123456789101112131415161718192021222324252627282930313233343536373839
  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 NullIdeFileStructureView extends FileStructureView {
  17. private String sourceFilePath = null;
  18. public NullIdeFileStructureView(StructureViewProperties viewProperties) {
  19. super(viewProperties);
  20. }
  21. public String getSourceFile() {
  22. return sourceFilePath;
  23. }
  24. public void setSourceFile(String sourceFile) {
  25. this.sourceFilePath = sourceFile;
  26. }
  27. public void setRootNode(IStructureViewNode rootNode) {
  28. super.setRootNode(rootNode);
  29. notifyViewUpdated();
  30. }
  31. }