Service Context: Sapphire.Property.Instance
null
4950515253545556575859
final Property property = property(); final Path relativePath = (Path) ( (Value<?>) property ).content(); if( relativePath != null ) { final Path absolutePath = property.service( RelativePathService.class ).convertToAbsolute( relativePath ); if( absolutePath != null ) { final File absoluteFile = absolutePath.toFile();
7475767778798081828384
final Property property = property(); final Path relativePath = (Path) ( (Value<?>) property ).content(); if( relativePath != null ) { final Path absolutePath = property.service( RelativePathService.class ).convertToAbsolute( relativePath ); if( absolutePath != null ) { final File file = absolutePath.toFile();
131132133134135136137138139140141
final String staticFileExtensions = def.getParam( PARAM_EXTENSIONS ); if( staticFileExtensions == null ) { this.fileExtensionService = property.service( FileExtensionsService.class ); if( this.fileExtensionService == null ) { this.staticFileExtensionsList = Collections.emptyList(); }
262728293031323334
{ @Override protected boolean evaluate( final PropertyEditorPart part ) { final Property property = part.property(); return ( property.definition() instanceof ValueProperty && Path.class.isAssignableFrom( property.definition().getTypeClass() ) && property.service( RelativePathService.class ) != null ); } }
3637383940414243444546
{ super.init(); final Property property = context( Property.class ); this.possibleValuesService = property.service( PossibleValuesService.class ); if( this.possibleValuesService == null ) { throw new IllegalStateException(); }
85868788899091929394
{ @Override public boolean applicable( final ServiceContext context ) { final Property property = context.find( Property.class ); return ( property != null && property.service( PossibleValuesService.class ) != null ); } } }
148149150151152153154155156157
{ @Override public boolean applicable( final ServiceContext context ) { final Property property = context.find( Property.class ); return ( property != null && Path.class.isAssignableFrom( property.definition().getTypeClass() ) && property.service( RelativePathService.class ) != null ); } } }
949596979899100101102103
{ @Override public boolean applicable( final ServiceContext context ) { final Property property = context.find( Property.class ); return ( property != null && property.service( FileExtensionsService.class ) != null ); } } }
57585960616263646566
{ @Override public boolean applicable( final ServiceContext context ) { final Property property = context.find( Property.class ); return ( property != null && property.service( InitialValueService.class ) != null ); } } }
4748495051525354555657
@Override protected void initValidationService() { final Property property = context( Property.class ); this.referenceService = property.service( ReferenceService.class ); if( this.referenceService != null ) { this.referenceServiceListener = new Listener() {