mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-04 23:05:47 +02:00
Bug 528471 - Property change on Serial connection is no fully propagated (core)
Change-Id: I49e9a2383f13d16580679ac5338ce5cfd7c21a09 Signed-off-by: Julien Dehaudt <julien.dehaudt@st.com>
This commit is contained in:
parent
82645df3ce
commit
a70e7b2b0e
2 changed files with 10 additions and 0 deletions
|
@ -51,6 +51,12 @@ public class RemoteConnectionChangeEvent {
|
||||||
*/
|
*/
|
||||||
public static final int CONNECTION_REMOVED = 1 << 5;
|
public static final int CONNECTION_REMOVED = 1 << 5;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Event indicating the connection attributes had changed.
|
||||||
|
* @since 3.0
|
||||||
|
*/
|
||||||
|
public static final int ATTRIBUTES_CHANGED = 1 << 6;
|
||||||
|
|
||||||
private final IRemoteConnection connection;
|
private final IRemoteConnection connection;
|
||||||
private final int type;
|
private final int type;
|
||||||
|
|
||||||
|
|
|
@ -318,6 +318,10 @@ public class RemoteConnectionWorkingCopy implements IRemoteConnectionWorkingCopy
|
||||||
throw new RemoteConnectionException(e);
|
throw new RemoteConnectionException(e);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (newAttributes.size() > 0 || newSecureAttributes.size() > 0) {
|
||||||
|
original.fireConnectionChangeEvent(RemoteConnectionChangeEvent.ATTRIBUTES_CHANGED);
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Reset state for isDirty()
|
* Reset state for isDirty()
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Reference in a new issue