PTP
Release 7.0

org.eclipse.ptp.services.core
Interface IServiceProviderWorkingCopy

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, IServiceProvider, IServiceProviderDescriptor
All Known Implementing Classes:
ServiceProviderWorkingCopy

public interface IServiceProviderWorkingCopy
extends IServiceProvider, org.eclipse.core.runtime.IAdaptable

An IServiceProviderWorkingCopy represents an editable copy of and IServiceProvider. Properties of a service provider can be modified by modifying the properties of a working copy and then saving the working copy.


Method Summary
 IServiceProvider getOriginal()
          Get the service provider used to create this working copy.
 boolean isDirty()
          Check if any properties have been modified.
 void save()
          Saves the modified properties.
 
Methods inherited from interface org.eclipse.ptp.services.core.IServiceProvider
copy, getBoolean, getConfigurationString, getDescriptor, getInt, getProperties, getString, isConfigured, keySet, putBoolean, putInt, putString, setDescriptor, setProperties
 
Methods inherited from interface org.eclipse.ptp.services.core.IServiceProviderDescriptor
getId, getName, getPriority, getServiceId
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Method Detail

getOriginal

IServiceProvider getOriginal()
Get the service provider used to create this working copy.

Returns:
original service provider

isDirty

boolean isDirty()
Check if any properties have been modified.

Returns:
true if the properties need to be saved

save

void save()
Saves the modified properties.


PTP
Release 7.0

Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.