home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgLangD.iso / VCAFE.3.0A / Main.bin / Command.java < prev    next >
Text File  |  1998-10-25  |  559b  |  31 lines

  1. /*
  2.  * Copyright 1998 Symantec Corporation, All Rights Reserved.
  3.  */
  4.  
  5. package com.symantec.itools.vcafe.openapi.commands;
  6.  
  7. import com.symantec.itools.vcafe.openapi.VisualObject;
  8.  
  9. public interface Command
  10. {
  11.     /*
  12.      * Gets the text of the Command
  13.      */
  14.     String getText();
  15.     
  16.     /*
  17.      * Check if the Command is enabled
  18.      */
  19.     boolean isEnabled();
  20.     
  21.     /*
  22.      * Check if the Command is contextual
  23.      */
  24.     boolean isContextual();
  25.     
  26.     /*
  27.      * Executes the Command
  28.      */
  29.     void execute(VisualObject[] visualObjects);
  30. }
  31.