Classes | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | Private Attributes
com.generalrobotix.ui.GrxBasePlugin Class Reference
Inheritance diagram for com.generalrobotix.ui.GrxBasePlugin:
Inheritance graph
[legend]

List of all members.

Classes

class  ValueEditCombo
class  ValueEditText
class  ValueEditType

Public Member Functions

void addObserver (GrxObserver v)
GrxBasePlugin clone ()
 Override clone method.
void deleteObserver (GrxObserver v)
boolean equals (Object obj)
 check whether obj equals to this
Element getElement ()
 get element
Image getIcon ()
 get icon
Vector< Action > getMenu ()
 get menu
String[] getMenuPath ()
 get menu path
final String getName ()
 get name
ArrayList< GrxObservergetObserver ()
String getOldName ()
Vector< MenuManager > getSubMenu ()
 get subMenu
String getURL (boolean expand)
ValueEditType GetValueEditType (String key)
 Return editing type of the key item.
boolean isExclusive ()
 check whether this is exclusive or not
boolean isSelected ()
 check whether this is selected or not
void notifyObservers (Object...arg)
boolean propertyChanged (String property, String value)
 check validity of new value of property and update if valid
boolean registerCORBA ()
void rename (String newName)
 rename this item
void restoreProperties ()
 restore properties. Called by menu item "restore Properties"
void setDocument (Document doc)
 set document
void setElement (Element element)
 set element
void setExclusive (boolean b)
 set exclusive flag
void setFocused (boolean b)
 set/unset focus on this plugin
void setMenuItem (Action a)
 add a menu item
void setName (String name)
 set name
Object setProperty (String key, String value)
 set property value associated with a keyword
void setSelected (boolean b)
 set selected flag
void setSubMenu (MenuManager m)
 add a submenu
void setURL (String url)
 set URL property
void shutdown ()
Element storeProperties ()
 store properties
final String toString ()
 convert to String. Currently, name is returned.
void unregisterCORBA ()

Static Public Member Functions

static Object getField (Class<?extends GrxBasePlugin > cls, String field, Object defaultValue)
 get field

Protected Member Functions

 GrxBasePlugin (String name, GrxPluginManager manager)
 constructor
void setIcon (String iconName)
 set icon
void setMenuPath (String[] path)
 set menu path
boolean syncExec (Runnable r)
 Transfer SWT UI thread.

Protected Attributes

Document doc_
Element element_
GrxPluginManager manager_

Static Protected Attributes

static final String[] booleanComboItem_ = new String[] {"true", "false" }
static final String INDENT4 = " "
static final String ITEM_TAG = "item"
static final String PROPERTY_TAG = "property"
static final String VIEW_TAG = "view"

Private Attributes

String iconName_
ImageRegistry ireg_
boolean isExclusive_ = false
Vector< Action > menu_ = new Vector<Action>()
String[] menuPath_
String name_
ArrayList< GrxObserverobservers_ = new ArrayList<GrxObserver>()
String oldName_
boolean selected_ = true
Vector< MenuManager > subMenu_ = new Vector<MenuManager>()
String url_

Detailed Description

Definition at line 50 of file GrxBasePlugin.java.


Constructor & Destructor Documentation

com.generalrobotix.ui.GrxBasePlugin.GrxBasePlugin ( String  name,
GrxPluginManager  manager 
) [inline, protected]

constructor

Parameters:
namename of this plugin
managerplugin manager

Definition at line 82 of file GrxBasePlugin.java.


Member Function Documentation

Definition at line 491 of file GrxBasePlugin.java.

Definition at line 495 of file GrxBasePlugin.java.

check whether obj equals to this

Parameters:
objan object to be checked

Definition at line 357 of file GrxBasePlugin.java.

get element

Returns:
element

Definition at line 236 of file GrxBasePlugin.java.

static Object com.generalrobotix.ui.GrxBasePlugin.getField ( Class<?extends GrxBasePlugin cls,
String  field,
Object  defaultValue 
) [inline, static]

get field

Parameters:
cls
field
defaultValue
Returns:

Definition at line 399 of file GrxBasePlugin.java.

get icon

Returns:
icon

Definition at line 287 of file GrxBasePlugin.java.

Vector<Action> com.generalrobotix.ui.GrxBasePlugin.getMenu ( ) [inline]

get menu

Returns:
menu

Reimplemented in com.generalrobotix.ui.item.GrxProjectItem.

Definition at line 311 of file GrxBasePlugin.java.

get menu path

Returns:
menu path

Reimplemented in com.generalrobotix.ui.view.GrxProcessManagerView.

Definition at line 349 of file GrxBasePlugin.java.

get name

Returns:
name

Definition at line 199 of file GrxBasePlugin.java.

Definition at line 499 of file GrxBasePlugin.java.

Definition at line 211 of file GrxBasePlugin.java.

Vector<MenuManager> com.generalrobotix.ui.GrxBasePlugin.getSubMenu ( ) [inline]

get subMenu

Returns:
subMenu

Definition at line 319 of file GrxBasePlugin.java.

get url

Parameters:
expandif expand is true, expanded url is returned.
Returns:
url

Definition at line 367 of file GrxBasePlugin.java.

check whether this is exclusive or not

Returns:
true if exclusive, false otherwise

Definition at line 268 of file GrxBasePlugin.java.

check whether this is selected or not

Returns:
true if selected, false otherwise

Definition at line 252 of file GrxBasePlugin.java.

Definition at line 503 of file GrxBasePlugin.java.

boolean com.generalrobotix.ui.GrxBasePlugin.propertyChanged ( String  property,
String  value 
) [inline]
void com.generalrobotix.ui.GrxBasePlugin.rename ( String  newName) [inline]

set document

Parameters:
docdocument

Definition at line 219 of file GrxBasePlugin.java.

set element

Parameters:
elementelement

Definition at line 227 of file GrxBasePlugin.java.

set exclusive flag

Parameters:
bflag

Definition at line 260 of file GrxBasePlugin.java.

void com.generalrobotix.ui.GrxBasePlugin.setIcon ( String  iconName) [inline, protected]

set icon

Parameters:
iconNamename of icon

Definition at line 276 of file GrxBasePlugin.java.

add a menu item

Parameters:
anew menu item

Definition at line 295 of file GrxBasePlugin.java.

void com.generalrobotix.ui.GrxBasePlugin.setMenuPath ( String[]  path) [inline, protected]

set menu path

Parameters:
pathmenu path

Definition at line 327 of file GrxBasePlugin.java.

set name

Parameters:
namename

Reimplemented in com.generalrobotix.ui.GrxBaseView.

Definition at line 189 of file GrxBasePlugin.java.

Object com.generalrobotix.ui.GrxBasePlugin.setProperty ( String  key,
String  value 
) [inline]

set property value associated with a keyword

Parameters:
keykeyword
valuevalue of property associated with a keyword

Definition at line 477 of file GrxBasePlugin.java.

set selected flag

Parameters:
bflag

Reimplemented in com.generalrobotix.ui.item.GrxModelItem.

Definition at line 244 of file GrxBasePlugin.java.

add a submenu

Parameters:
anew submenu

Definition at line 303 of file GrxBasePlugin.java.

set URL property

Parameters:
urlURL to be set

Definition at line 378 of file GrxBasePlugin.java.

store properties

Returns:

Reimplemented in com.generalrobotix.ui.GrxBaseView.

Definition at line 139 of file GrxBasePlugin.java.

boolean com.generalrobotix.ui.GrxBasePlugin.syncExec ( Runnable  r) [inline, protected]

Transfer SWT UI thread.

Parameters:
rRunnable instance
Returns:
boolean Syncable current display

Definition at line 336 of file GrxBasePlugin.java.

convert to String. Currently, name is returned.

Returns:
name

Definition at line 207 of file GrxBasePlugin.java.


Member Data Documentation

final String [] com.generalrobotix.ui.GrxBasePlugin.booleanComboItem_ = new String[] {"true", "false" } [static, protected]

Definition at line 73 of file GrxBasePlugin.java.

Reimplemented in com.generalrobotix.ui.item.GrxProjectItem.

Definition at line 65 of file GrxBasePlugin.java.

Definition at line 66 of file GrxBasePlugin.java.

Definition at line 59 of file GrxBasePlugin.java.

final String com.generalrobotix.ui.GrxBasePlugin.INDENT4 = " " [static, protected]

Definition at line 71 of file GrxBasePlugin.java.

Definition at line 58 of file GrxBasePlugin.java.

Definition at line 56 of file GrxBasePlugin.java.

final String com.generalrobotix.ui.GrxBasePlugin.ITEM_TAG = "item" [static, protected]

Definition at line 68 of file GrxBasePlugin.java.

Definition at line 53 of file GrxBasePlugin.java.

Vector<Action> com.generalrobotix.ui.GrxBasePlugin.menu_ = new Vector<Action>() [private]

Reimplemented in com.generalrobotix.ui.item.GrxProjectItem.

Definition at line 61 of file GrxBasePlugin.java.

Definition at line 63 of file GrxBasePlugin.java.

Definition at line 51 of file GrxBasePlugin.java.

Definition at line 75 of file GrxBasePlugin.java.

Definition at line 52 of file GrxBasePlugin.java.

final String com.generalrobotix.ui.GrxBasePlugin.PROPERTY_TAG = "property" [static, protected]

Definition at line 70 of file GrxBasePlugin.java.

Definition at line 55 of file GrxBasePlugin.java.

Vector<MenuManager> com.generalrobotix.ui.GrxBasePlugin.subMenu_ = new Vector<MenuManager>() [private]

Definition at line 62 of file GrxBasePlugin.java.

Definition at line 54 of file GrxBasePlugin.java.

final String com.generalrobotix.ui.GrxBasePlugin.VIEW_TAG = "view" [static, protected]

Definition at line 69 of file GrxBasePlugin.java.


The documentation for this class was generated from the following file:


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Thu Apr 11 2019 03:30:21