mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2024-11-27 02:40:51 +01:00
ty lande 2
This commit is contained in:
parent
d80e859378
commit
46c336353f
@ -237,8 +237,12 @@ public class ExtensionHandler {
|
|||||||
};
|
};
|
||||||
|
|
||||||
extension.getExtensionObservable().addListener(listener);
|
extension.getExtensionObservable().addListener(listener);
|
||||||
extension.init(hConnection.getState() == HState.CONNECTED);
|
|
||||||
|
|
||||||
|
extension.getRemoveClickObservable().addListener(extension::close);
|
||||||
|
extension.getClickedObservable().addListener(extension::doubleclick);
|
||||||
|
observable.fireEvent(l -> l.onExtensionConnect(extension));
|
||||||
|
|
||||||
|
extension.init(hConnection.getState() == HState.CONNECTED);
|
||||||
if (hConnection.getState() == HState.CONNECTED) {
|
if (hConnection.getState() == HState.CONNECTED) {
|
||||||
extension.connectionStart(
|
extension.connectionStart(
|
||||||
hConnection.getDomain(),
|
hConnection.getDomain(),
|
||||||
@ -249,11 +253,6 @@ public class ExtensionHandler {
|
|||||||
hConnection.getPacketInfoManager()
|
hConnection.getPacketInfoManager()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
extension.getRemoveClickObservable().addListener(extension::close);
|
|
||||||
extension.getClickedObservable().addListener(extension::doubleclick);
|
|
||||||
|
|
||||||
observable.fireEvent(l -> l.onExtensionConnect(extension));
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user