mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-20688 XSLT Run/Debug configuration allows to Debug
This commit is contained in:
@@ -24,6 +24,10 @@ import org.jetbrains.annotations.Nullable;
|
||||
|
||||
/**
|
||||
* @see com.intellij.execution.RunManager
|
||||
*
|
||||
* If debugger is provided by plugin, RunConfiguration should also implement RunConfigurationWithSuppressedDefaultDebugAction
|
||||
* Otherwise (in case of disabled plugin) debug action may be enabled in UI but with no reaction
|
||||
* @see RunConfigurationWithSuppressedDefaultDebugAction
|
||||
*/
|
||||
public interface RunConfiguration extends RunProfile, JDOMExternalizable, Cloneable {
|
||||
ConfigurationFactory getFactory();
|
||||
|
||||
+4
-1
@@ -13,7 +13,10 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.intellij.debugger.impl;
|
||||
|
||||
package com.intellij.execution.configurations;
|
||||
|
||||
// This interface for RunConfiguration indicates specific debugger (e.g. provided by plugin)
|
||||
// and RunConfiguration won't be started with default runner (UI will show disabled button)
|
||||
public interface RunConfigurationWithSuppressedDefaultDebugAction {
|
||||
}
|
||||
+1
-1
@@ -59,7 +59,7 @@ import java.io.File;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public final class XsltRunConfiguration extends RunConfigurationBase implements LocatableConfiguration, ModuleRunConfiguration {
|
||||
public final class XsltRunConfiguration extends RunConfigurationBase implements LocatableConfiguration, ModuleRunConfiguration, RunConfigurationWithSuppressedDefaultDebugAction {
|
||||
private static final String NAME = "XSLT Configuration";
|
||||
|
||||
private static final String STRICT_FILE_PATH_EXPR = "(file\\://?(?:/?\\p{Alpha}\\:)?(?:/\\p{Alpha}\\:)?[^:]+)";
|
||||
|
||||
Reference in New Issue
Block a user