livePanelComponentListener = new LivePanelComponentListener();
}
protected void removeListeners() {
// Init property listeners
PropertyChangeEventSource toolWindowSource = descriptor.getToolWindow();
toolWindowSource.removePlafPropertyChangeListener(propertyChangeListener, "type", "maximized");
// Init floating live type desrciptor properties listeners
PropertyChangeEventSource floatingLiveTypeDescriptorSource = (PropertyChangeEventSource) descriptor.getToolWindow().getTypeDescriptor(FloatingLiveTypeDescriptor.class);
floatingLiveTypeDescriptorSource.removePlafPropertyChangeListener(propertyChangeListener, "location", "size", "enabled", "visible");
toolWindowTabPanel.removeEventDispatcherlListener(moveMouseInputHandler);
toolWindowTitleBar.removeMouseMotionListener(moveMouseInputHandler);
toolWindowTitleBar.removeMouseListener(moveMouseInputHandler);