SGXNature.java 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. ///////////////////////////////////////////////////////////////////////////
  2. // Copyright (c) 2018 Intel Corporation. //
  3. // //
  4. // All rights reserved. This program and the accompanying materials //
  5. // are made available 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. // Intel Corporation - initial implementation and documentation //
  11. ///////////////////////////////////////////////////////////////////////////
  12. package com.intel.sgx.natures;
  13. import org.eclipse.core.resources.IProject;
  14. import org.eclipse.core.resources.IProjectNature;
  15. import org.eclipse.core.runtime.CoreException;
  16. public class SGXNature implements IProjectNature {
  17. private IProject project;
  18. public static final String NATURE_ID = "com.intel.sgx.sgxnature";
  19. public SGXNature() {
  20. }
  21. @Override
  22. public void configure() throws CoreException {
  23. }
  24. @Override
  25. public void deconfigure() throws CoreException {
  26. }
  27. @Override
  28. public IProject getProject() {
  29. return project;
  30. }
  31. @Override
  32. public void setProject(IProject project) {
  33. this.project = project;
  34. }
  35. }