Class ProcedureSelector

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, IValidable

public class ProcedureSelector extends AbstractProcedureSelector
See Also:
  • Constructor Details

    • ProcedureSelector

      public ProcedureSelector(@Nullable IHelpContext helpContext, MCreator mcreator, String eventName, Dependency... providedDependencies)
      Parameters:
      helpContext - Help tip explaining how is the selected procedure used.
      mcreator - Workspace window inside which this selector is to be created.
      eventName - Name of the event calling the selected procedure.
      providedDependencies - List of dependencies the selected procedure is provided upon its call.
    • ProcedureSelector

      public ProcedureSelector(@Nullable IHelpContext helpContext, MCreator mcreator, String eventName, AbstractProcedureSelector.Side side, Dependency... providedDependencies)
      Parameters:
      helpContext - Help tip explaining how is the selected procedure used.
      mcreator - Workspace window inside which this selector is to be created.
      eventName - Name of the event calling the selected procedure.
      side - Side of the game on which the event may occur (CLIENT, SERVER or BOTH).
      providedDependencies - List of dependencies the selected procedure is provided upon its call.
    • ProcedureSelector

      public ProcedureSelector(@Nullable IHelpContext helpContext, MCreator mcreator, String eventName, AbstractProcedureSelector.Side side, boolean allowInlineEditor, Dependency... providedDependencies)
      Parameters:
      helpContext - Help tip explaining how is the selected procedure used.
      mcreator - Workspace window inside which this selector is to be created.
      eventName - Name of the event calling the selected procedure.
      side - Side of the game on which the event may occur (CLIENT, SERVER or BOTH).
      allowInlineEditor - Whether layout of this selector can adapt to low height values.
      providedDependencies - List of dependencies the selected procedure is provided upon its call.
    • ProcedureSelector

      public ProcedureSelector(@Nullable IHelpContext helpContext, MCreator mcreator, String eventName, @Nullable VariableType returnType, Dependency... providedDependencies)
      Parameters:
      helpContext - Help tip explaining how is the selected procedure used.
      mcreator - Workspace window inside which this selector is to be created.
      eventName - Name of the event calling the selected procedure.
      returnType - The type of value the selected procedure should return.
      providedDependencies - List of dependencies the selected procedure is provided upon its call.
    • ProcedureSelector

      public ProcedureSelector(@Nullable IHelpContext helpContext, MCreator mcreator, String eventName, AbstractProcedureSelector.Side side, boolean allowInlineEditor, @Nullable VariableType returnType, Dependency... providedDependencies)
      Parameters:
      helpContext - Help tip explaining how is the selected procedure used.
      mcreator - Workspace window inside which this selector is to be created.
      eventName - Name of the event calling the selected procedure.
      side - Side of the game on which the event may occur (CLIENT, SERVER or BOTH).
      allowInlineEditor - Whether layout of this selector can adapt to low height values.
      returnType - The type of value the selected procedure should return.
      providedDependencies - List of dependencies the selected procedure is provided upon its call.
    • ProcedureSelector

      public ProcedureSelector(@Nullable IHelpContext helpContext, MCreator mcreator, String eventName, String procedureName, AbstractProcedureSelector.Side side, boolean allowInlineEditor, @Nullable VariableType returnType, Dependency... providedDependencies)
      Parameters:
      helpContext - Help tip explaining how is the selected procedure used.
      mcreator - Workspace window inside which this selector is to be created.
      eventName - Name of the event calling the selected procedure.
      procedureName - Suggested name of procedure mod element this selector can create
      side - Side of the game on which the event may occur (CLIENT, SERVER or BOTH).
      allowInlineEditor - Whether layout of this selector can adapt to low height values.
      returnType - The type of value the selected procedure should return.
      providedDependencies - List of dependencies the selected procedure is provided upon its call.
  • Method Details