svn commit: r1403 - in logbackPDE/trunk/plugins/ConsolePlugin: . src/main/java/ch/qos/logback/eclipse/dialog src/main/java/ch/qos/logback/eclipse/views

Author: seb Date: Mon Mar 5 15:34:35 2007 New Revision: 1403 Modified: logbackPDE/trunk/plugins/ConsolePlugin/src/main/java/ch/qos/logback/eclipse/dialog/LogbackFilterDialog.java logbackPDE/trunk/plugins/ConsolePlugin/src/main/java/ch/qos/logback/eclipse/views/LogbackView.java logbackPDE/trunk/plugins/ConsolePlugin/todo.txt Log: Slightly modified Filter dialog Minor fix on the view Updated todo list Modified: logbackPDE/trunk/plugins/ConsolePlugin/src/main/java/ch/qos/logback/eclipse/dialog/LogbackFilterDialog.java ============================================================================== --- logbackPDE/trunk/plugins/ConsolePlugin/src/main/java/ch/qos/logback/eclipse/dialog/LogbackFilterDialog.java (original) +++ logbackPDE/trunk/plugins/ConsolePlugin/src/main/java/ch/qos/logback/eclipse/dialog/LogbackFilterDialog.java Mon Mar 5 15:34:35 2007 @@ -66,14 +66,14 @@ private void createEditionUIPart(Composite container) { final GridLayout gridLayout = new GridLayout(); - gridLayout.numColumns = 2; + gridLayout.numColumns = 3; container.setLayout(gridLayout); final Label infoLabel = new Label(container, SWT.NONE); - infoLabel.setLayoutData(new GridData(GridData.BEGINNING, GridData.CENTER, false, false, 2, 1)); + infoLabel.setLayoutData(new GridData(GridData.BEGINNING, GridData.CENTER, false, false, 3, 1)); infoLabel.setText("Enter java code in the expression field."); final Label infoLabel2 = new Label(container, SWT.NONE); - infoLabel2.setLayoutData(new GridData(GridData.BEGINNING, GridData.CENTER, false, false, 2, 1)); + infoLabel2.setLayoutData(new GridData(GridData.BEGINNING, GridData.CENTER, false, false, 3, 1)); infoLabel2.setText("Enter ACCEPT, DENY or NEUTRAL in the other two fields."); expressionField = new Text(container, SWT.WRAP | SWT.V_SCROLL | SWT.MULTI); @@ -82,12 +82,12 @@ gridData.grabExcessVerticalSpace = true; gridData.heightHint = 75; gridData.widthHint = 300; - gridData.horizontalSpan = 2; + gridData.horizontalSpan = 3; gridData.verticalSpan = 2; expressionField.setLayoutData(gridData); final Label infoLabel3 = new Label(container, SWT.NONE); - infoLabel3.setLayoutData(new GridData(GridData.BEGINNING, GridData.CENTER, false, false, 1, 1)); + infoLabel3.setLayoutData(new GridData(GridData.BEGINNING, GridData.CENTER, false, false, 2, 1)); infoLabel3.setText("Action on filter match"); matchField = new Text(container, SWT.BORDER); Rectangle bounds2 = matchField.getBounds(); @@ -95,7 +95,7 @@ matchField.setLayoutData(new GridData(GridData.FILL, GridData.CENTER, true, false)); final Label infoLabel4 = new Label(container, SWT.NONE); - infoLabel4.setLayoutData(new GridData(GridData.BEGINNING, GridData.CENTER, false, false, 1, 1)); + infoLabel4.setLayoutData(new GridData(GridData.BEGINNING, GridData.CENTER, false, false, 2, 1)); infoLabel4.setText("Action on filter mismatch"); mismatchField = new Text(container, SWT.BORDER); Rectangle bounds3 = mismatchField.getBounds(); Modified: logbackPDE/trunk/plugins/ConsolePlugin/src/main/java/ch/qos/logback/eclipse/views/LogbackView.java ============================================================================== --- logbackPDE/trunk/plugins/ConsolePlugin/src/main/java/ch/qos/logback/eclipse/views/LogbackView.java (original) +++ logbackPDE/trunk/plugins/ConsolePlugin/src/main/java/ch/qos/logback/eclipse/views/LogbackView.java Mon Mar 5 15:34:35 2007 @@ -56,7 +56,6 @@ private IMemento memento; public LogbackView() { - //launchSocketServer(null); } public void createPartControl(Composite parent) { Modified: logbackPDE/trunk/plugins/ConsolePlugin/todo.txt ============================================================================== --- logbackPDE/trunk/plugins/ConsolePlugin/todo.txt (original) +++ logbackPDE/trunk/plugins/ConsolePlugin/todo.txt Mon Mar 5 15:34:35 2007 @@ -6,11 +6,7 @@ Stack traces with links -Filter logs: threshold - -Color certains lines. Based on keywords and colors. - -Save Preferences between sessions +Color certains lines. Based on keywords and colors? Autoscroll use with double-buffer and stop the filling of the console when auto scroll = off @@ -20,3 +16,5 @@ DONE: Allow the user to change the socket's port Make the viewer always display the latest lines added +Filter logs: threshold +Save Preferences between sessions \ No newline at end of file
participants (1)
-
noreply.seb@qos.ch