diff --git a/java/debugger/impl/src/com/intellij/debugger/ui/InstanceFilterEditor.java b/java/debugger/impl/src/com/intellij/debugger/ui/InstanceFilterEditor.java index eb440316f527..e0e44b922606 100644 --- a/java/debugger/impl/src/com/intellij/debugger/ui/InstanceFilterEditor.java +++ b/java/debugger/impl/src/com/intellij/debugger/ui/InstanceFilterEditor.java @@ -1,18 +1,4 @@ -/* - * Copyright 2000-2017 JetBrains s.r.o. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.debugger.ui; import com.intellij.debugger.DebuggerBundle; @@ -30,6 +16,7 @@ import javax.swing.*; public class InstanceFilterEditor extends ClassFilterEditor { public InstanceFilterEditor(Project project) { super(project); + getEmptyText().setText(DebuggerBundle.message("add.instance.filter.dialog.empty.text")); } protected void addClassFilter() { diff --git a/resources-en/src/messages/DebuggerBundle.properties b/resources-en/src/messages/DebuggerBundle.properties index f8350619c332..9bcba031a2e1 100644 --- a/resources-en/src/messages/DebuggerBundle.properties +++ b/resources-en/src/messages/DebuggerBundle.properties @@ -319,6 +319,7 @@ status.hotswap.uptodate=Loaded classes are up to date. Nothing to reload. add.instance.filter.dialog.title=Add Instance Filter add.instance.filter.dialog.prompt=Enter instance ID: add.instance.filter.dialog.error.numeric.value.expected=Instance ID should be a numeric value of type 'long' +add.instance.filter.dialog.empty.text=No instance filters configured position.highlighter.stripe.tooltip=Execution line hotswap.dialog.title.with.session=Reload Changed Classes for {0} hotswap.dialog.title=Reload Changed Classes