Package app.events

Class OpenProjectEvent

java.lang.Object
app.events.Event
app.events.OpenProjectEvent

public class OpenProjectEvent
extends Event
Event signalizing that a directory is supposed to be opened in the filetree.
  • Constructor Summary

    Constructors
    Constructor Description
    OpenProjectEvent​(java.util.Optional<java.nio.file.Path> path)
    Event signalizing that a directory is supposed to be opened in the filetree.
  • Method Summary

    Modifier and Type Method Description
    java.util.Optional<java.nio.file.Path> getPath()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • OpenProjectEvent

      public OpenProjectEvent​(java.util.Optional<java.nio.file.Path> path)
      Event signalizing that a directory is supposed to be opened in the filetree.
      Parameters:
      path - The path of the directory to be opened
  • Method Details

    • getPath

      public java.util.Optional<java.nio.file.Path> getPath()
      Returns:
      The path of the directory to be opened