| Index: editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/correction/ICommandAccess.java
|
| diff --git a/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/correction/ICommandAccess.java b/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/correction/ICommandAccess.java
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..10e55d2b9009caea815a97c0e178e0aedeaf8b92
|
| --- /dev/null
|
| +++ b/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/correction/ICommandAccess.java
|
| @@ -0,0 +1,18 @@
|
| +package com.google.dart.tools.ui.internal.text.correction;
|
| +
|
| +/**
|
| + * Correction proposals implement this interface to by invokable by a command. (e.g. keyboard
|
| + * shortcut)
|
| + */
|
| +public interface ICommandAccess {
|
| +
|
| + /**
|
| + * Returns the id of the command that should invoke this correction proposal
|
| + *
|
| + * @return the id of the command. This id must start with
|
| + * {@link CorrectionCommandInstaller#COMMAND_PREFIX} to be recognixes as correction
|
| + * command.
|
| + */
|
| + String getCommandId();
|
| +
|
| +}
|
|
|