VCL
[ class tree: VCL ] [ index: VCL ] [ all elements ]

Class: ComponentEditor

Source Location: /designide.inc.php

Class Overview

Object
   |
   --ComponentEditor

Base class for component editors


Variables

Methods


Child classes:

DatabaseEditor
Database component editor, to show right-click menu options

Inherited Variables

Inherited Methods

Class: Object

Object::__construct()
Constructs an object and initializes its data before the object is first used.
Object::className()
Returns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument).
Object::classNameIs()
Determines whether an object is of a specific type.
Object::classParent()
Returns the type of the immediate ancestor of a class.
Object::inheritsFrom()
Determines the relationship of two object types.
Object::methodExists()
Check if a method exists declared on this object instance.
Object::readProperty()
Reads a property from the streams
Object::__get()
To virtualize properties
Object::__set()
To virtualize properties

Class Details

[line 346]
Base class for component editors



[ Top ]


Class Variables

$component = null

[line 348]



Tags:

access:  public

Type:   mixed


[ Top ]



Class Methods


method executeVerb [line 378]

void executeVerb( integer $verb)

Depending on the verb, perform any action you want

This method is called by the IDE when the user selects an option of the popup menu shown when the user right clicks on it.

The option the user selects is specified on the $verb param and you must use the getVerbs method to tell the IDE which options to show.




Overridden in child classes as:

DatabaseEditor::executeVerb()

Parameters:

integer   $verb   Index of the verb the IDE wants to execute

[ Top ]

method getVerbs [line 361]

array getVerbs( )

Return here an array of items to show when right clicking a component

Use this method to return the IDE the array of options to show when the user right clicks a component. Each element on the array will become an item on the popup menu shown. If you want to perform an specific action when clicking on an option, use the executeVerb method.




Overridden in child classes as:

DatabaseEditor::getVerbs()

[ Top ]


Documentation generated on Sat, 13 Jun 2009 10:51:30 -0700 by phpDocumentor 1.4.1