}
String filePath = repositoryFile.getPath();
if ( filePath.endsWith( repositoryFile.getName() ) ) {
filePath = filePath.substring( 0, filePath.lastIndexOf( repositoryFile.getName() ) - 1 );
}
SolutionFileInfo fileInfo = new SolutionFileInfo();
fileInfo.setName( fileName );
fileInfo.setPath( filePath );
fileInfo.setType( SolutionFileInfo.Type.XACTION );
if ( contentTabPanel != null && contentTabPanel.getCurrentFrame() != null ) {
contentTabPanel.getCurrentFrame().setFileInfo( fileInfo );
}
}