Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.uberfire.workbench.events;
 
 import static org.uberfire.commons.validation.PortablePreconditions.checkNotNull;
 
An Event indicating a Resource has been opened
public class ResourceOpenedEvent extends UberFireEvent {
    private Path path;
    private SessionInfo sessionInfo;
    public ResourceOpenedEvent() {
        //Empty constructor for Errai marshalling
    }
    public ResourceOpenedEventfinal Path path,
                                final SessionInfo sessionInfo ) {
        this. = checkNotNull"path"path );
        this. = checkNotNull"sessionInfo"sessionInfo );
    }
    public Path getPath() {
        return this.;
    }
    public SessionInfo getSessionInfo() {
        return ;
    }
    @Override
    public String toString() {
      return "ResourceOpenedEvent [path=" +  + ", sessionInfo=" +  + "]";
    }
New to GrepCode? Check out our FAQ X