Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.uberfire.workbench.events;
 
 import  org.uberfire.backend.vfs.Path;
 
 import static org.uberfire.commons.validation.PortablePreconditions.*;

An Event indicating a Resource has been opened
public class ResourceOpenedEvent {
    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 ;
    }
New to GrepCode? Check out our FAQ X