mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-11 02:55:23 +02:00
Remove logging.
Change-Id: Ie44ef7f1201ba73b752fb9fface2e654fb14e67c
This commit is contained in:
parent
f6809dae38
commit
0a0ff7b964
1 changed files with 0 additions and 12 deletions
|
@ -69,7 +69,6 @@ public abstract class CSelector extends Composite {
|
||||||
private MouseListener mouseListener = new MouseAdapter() {
|
private MouseListener mouseListener = new MouseAdapter() {
|
||||||
@Override
|
@Override
|
||||||
public void mouseUp(MouseEvent event) {
|
public void mouseUp(MouseEvent event) {
|
||||||
Activator.log(new Throwable(getClass().getName() + " mouse up"));
|
|
||||||
if (popup == null || popup.isDisposed()) {
|
if (popup == null || popup.isDisposed()) {
|
||||||
setFocus();
|
setFocus();
|
||||||
openPopup();
|
openPopup();
|
||||||
|
@ -77,10 +76,6 @@ public abstract class CSelector extends Composite {
|
||||||
closePopup();
|
closePopup();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void mouseDown(MouseEvent e) {
|
|
||||||
Activator.log(new Throwable(getClass().getName() + " mouse down"));
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
protected boolean myIsFocusAncestor(Control control) {
|
protected boolean myIsFocusAncestor(Control control) {
|
||||||
|
@ -142,7 +137,6 @@ public abstract class CSelector extends Composite {
|
||||||
|
|
||||||
public CSelector(Composite parent, int style) {
|
public CSelector(Composite parent, int style) {
|
||||||
super(parent, style);
|
super(parent, style);
|
||||||
Activator.log(new Throwable(getClass().getName() + ':' + Integer.toHexString(hashCode()) + " created"));
|
|
||||||
setBackground(getDisplay().getSystemColor(SWT.COLOR_LIST_BACKGROUND));
|
setBackground(getDisplay().getSystemColor(SWT.COLOR_LIST_BACKGROUND));
|
||||||
|
|
||||||
GridLayout mainButtonLayout = new GridLayout();
|
GridLayout mainButtonLayout = new GridLayout();
|
||||||
|
@ -175,7 +169,6 @@ public abstract class CSelector extends Composite {
|
||||||
super.dispose();
|
super.dispose();
|
||||||
if (popup != null)
|
if (popup != null)
|
||||||
popup.dispose();
|
popup.dispose();
|
||||||
Activator.log(new Throwable(getClass().getName() + ':' + Integer.toHexString(hashCode()) + " disposed"));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setDelayedSelection(final Object element, long millis) {
|
public void setDelayedSelection(final Object element, long millis) {
|
||||||
|
@ -302,7 +295,6 @@ public abstract class CSelector extends Composite {
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void openPopup() {
|
protected void openPopup() {
|
||||||
Activator.log(CSelector.this.getClass().getName() + " opening");
|
|
||||||
Object[] elements = contentProvider.getElements(input);
|
Object[] elements = contentProvider.getElements(input);
|
||||||
if (elements.length == 0 && !hasActionArea())
|
if (elements.length == 0 && !hasActionArea())
|
||||||
return;
|
return;
|
||||||
|
@ -350,7 +342,6 @@ public abstract class CSelector extends Composite {
|
||||||
saveShellSize();
|
saveShellSize();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
Activator.log(CSelector.this.getClass().getName() + " openned");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected String getDialogPreferencePrefix() {
|
protected String getDialogPreferencePrefix() {
|
||||||
|
@ -391,18 +382,15 @@ public abstract class CSelector extends Composite {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void closePopup() {
|
private void closePopup() {
|
||||||
Activator.log(new Throwable(CSelector.this.getClass().getName() + " close requested"));
|
|
||||||
getDisplay().asyncExec(new Runnable() {
|
getDisplay().asyncExec(new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
if (popup == null || popup.isDisposed()) {
|
if (popup == null || popup.isDisposed()) {
|
||||||
Activator.log(CSelector.this.getClass().getName() + " close aborted");
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
arrowTransition.to(arrowMax);
|
arrowTransition.to(arrowMax);
|
||||||
popup.setVisible(false);
|
popup.setVisible(false);
|
||||||
popup.dispose();
|
popup.dispose();
|
||||||
Activator.log(CSelector.this.getClass().getName() + " closed");
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue