Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 346564
Collapse All | Expand All

(-)src/org/eclipse/sapphire/ui/def/SapphireUiDefFactory.java (-1 / +4 lines)
Lines 29-34 Link Here
29
29
30
public final class SapphireUiDefFactory
30
public final class SapphireUiDefFactory
31
{
31
{
32
33
	public static boolean sdefCacheDisabled = Boolean.parseBoolean( System.getProperty( "sdef.cache.disabled" ) );
34
32
    public static ISapphireUiDef load( final String bundleId,
35
    public static ISapphireUiDef load( final String bundleId,
33
                                       final String path )
36
                                       final String path )
34
    {
37
    {
Lines 92-98 Link Here
92
    {
95
    {
93
        ISapphireUiDef model;
96
        ISapphireUiDef model;
94
        
97
        
95
        if( writable )
98
		if ( writable || sdefCacheDisabled )
96
        {
99
        {
97
            model = ISapphireUiDef.TYPE.instantiate( new RootXmlResource( resourceStore ) );
100
            model = ISapphireUiDef.TYPE.instantiate( new RootXmlResource( resourceStore ) );
98
        }
101
        }

Return to bug 346564