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

List of all members.

Classes

class  ModeNodeInfo

Public Member Functions

boolean create ()
Vector< Action > getMenu ()
 get menu
Properties getViewProperties (String viewName)
Element getWindowConfigElement (String mode)
 GrxProjectItem (String name, GrxPluginManager manager)
void importISEProject ()
void importISEProject (File f)
void load ()
 load a project
boolean load (File f)
 load a project file
void restoreProject ()
void save (File f)
void save ()
void saveAs ()
void setWindowConfigElement (String mode, Element element)

Static Public Attributes

static final String DEFAULT_DIR = "/"
static final String FILE_EXTENSION = "xml"
static final int MENU_CREATE = 0
static final String TITLE = "Project"

Static Package Attributes

static final int MENU_IMPORT = 5
static final int MENU_LOAD = 2
static final int MENU_RESTORE = 1
static final int MENU_SAVE = 3
static final int MENU_SAVE_AS = 4

Private Member Functions

ModeNodeInfo _getModeNodeInfo (String mode)
GrxBasePlugin _restorePlugin (Element e)
void _updateModeInfo ()
void addItem ()
boolean checkModifiedModel ()
boolean containSimulationItem (NodeList list)
void restoreProject_work (String mode, IProgressMonitor monitor)
void setDefaultDirectory ()
void storeMode (String mode)
Element storePerspectiveConf (Element element)

Private Attributes

DocumentBuilder builder_
Document doc_
Vector< Action > menu_
Map< String, ModeNodeInfomodeInfoMap_ = new HashMap<String, ModeNodeInfo>()
Transformer transformer_
HashMap< String, PropertiesviewProperties_ = new HashMap<String, Properties>()

Static Private Attributes

static String COLLISIONPAIR_ITEM = "com.generalrobotix.ui.item.GrxCollisionPairItem"
static String COLLISIONPAIR_NODE = "jp.go.aist.hrp.simulator.CollisionPairNode"
static final File DEFAULT_ISE_PROJECT_DIR = new File("../ISE/Projects")
static String ENVIRONMENT_NODE = "jp.go.aist.hrp.simulator.EnvironmentNode"
static String GRAPH_ITEM = "com.generalrobotix.ui.item.GrxGraphItem"
static String GRAPH_NODE = "jp.go.aist.hrp.simulator.GraphNode"
static final String MODE_TAG = "mode"
static String MODEL_ITEM = "com.generalrobotix.ui.item.GrxModelItem"
static String ROBOT_NODE = "jp.go.aist.hrp.simulator.RobotNode"
static final String WINCONF_TAG = "perspective"
static String WORLD_STATE_ITEM = "com.generalrobotix.ui.item.GrxWorldStateItem"

Detailed Description

Definition at line 74 of file GrxProjectItem.java.


Constructor & Destructor Documentation

Definition at line 100 of file GrxProjectItem.java.


Member Function Documentation

Definition at line 189 of file GrxProjectItem.java.

Definition at line 741 of file GrxProjectItem.java.

Definition at line 155 of file GrxProjectItem.java.

Definition at line 965 of file GrxProjectItem.java.

Definition at line 373 of file GrxProjectItem.java.

Definition at line 774 of file GrxProjectItem.java.

Returns:

Reimplemented from com.generalrobotix.ui.GrxBaseItem.

Definition at line 119 of file GrxProjectItem.java.

get menu

Returns:
menu

Reimplemented from com.generalrobotix.ui.GrxBasePlugin.

Definition at line 298 of file GrxProjectItem.java.

Definition at line 815 of file GrxProjectItem.java.

Definition at line 220 of file GrxProjectItem.java.

Definition at line 783 of file GrxProjectItem.java.

Definition at line 829 of file GrxProjectItem.java.

load a project

Definition at line 481 of file GrxProjectItem.java.

load a project file

Parameters:
fa project file
Returns:
true if loaded successfully, false otherwise

Reimplemented from com.generalrobotix.ui.GrxBaseItem.

Definition at line 499 of file GrxProjectItem.java.

Definition at line 565 of file GrxProjectItem.java.

void com.generalrobotix.ui.item.GrxProjectItem.restoreProject_work ( String  mode,
IProgressMonitor  monitor 
) [inline, private]

Definition at line 593 of file GrxProjectItem.java.

Definition at line 392 of file GrxProjectItem.java.

Definition at line 465 of file GrxProjectItem.java.

Definition at line 434 of file GrxProjectItem.java.

Definition at line 956 of file GrxProjectItem.java.

void com.generalrobotix.ui.item.GrxProjectItem.setWindowConfigElement ( String  mode,
Element  element 
) [inline]

Definition at line 216 of file GrxProjectItem.java.

void com.generalrobotix.ui.item.GrxProjectItem.storeMode ( String  mode) [inline, private]

Definition at line 224 of file GrxProjectItem.java.

Element com.generalrobotix.ui.item.GrxProjectItem.storePerspectiveConf ( Element  element) [inline, private]

Definition at line 259 of file GrxProjectItem.java.


Member Data Documentation

Definition at line 86 of file GrxProjectItem.java.

String com.generalrobotix.ui.item.GrxProjectItem.COLLISIONPAIR_ITEM = "com.generalrobotix.ui.item.GrxCollisionPairItem" [static, private]

Definition at line 826 of file GrxProjectItem.java.

String com.generalrobotix.ui.item.GrxProjectItem.COLLISIONPAIR_NODE = "jp.go.aist.hrp.simulator.CollisionPairNode" [static, private]

Definition at line 821 of file GrxProjectItem.java.

Definition at line 76 of file GrxProjectItem.java.

final File com.generalrobotix.ui.item.GrxProjectItem.DEFAULT_ISE_PROJECT_DIR = new File("../ISE/Projects") [static, private]

Definition at line 782 of file GrxProjectItem.java.

Reimplemented from com.generalrobotix.ui.GrxBasePlugin.

Definition at line 85 of file GrxProjectItem.java.

String com.generalrobotix.ui.item.GrxProjectItem.ENVIRONMENT_NODE = "jp.go.aist.hrp.simulator.EnvironmentNode" [static, private]

Definition at line 819 of file GrxProjectItem.java.

Definition at line 77 of file GrxProjectItem.java.

String com.generalrobotix.ui.item.GrxProjectItem.GRAPH_ITEM = "com.generalrobotix.ui.item.GrxGraphItem" [static, private]

Definition at line 827 of file GrxProjectItem.java.

String com.generalrobotix.ui.item.GrxProjectItem.GRAPH_NODE = "jp.go.aist.hrp.simulator.GraphNode" [static, private]

Definition at line 822 of file GrxProjectItem.java.

Reimplemented from com.generalrobotix.ui.GrxBasePlugin.

Definition at line 80 of file GrxProjectItem.java.

Definition at line 79 of file GrxProjectItem.java.

Definition at line 79 of file GrxProjectItem.java.

Definition at line 79 of file GrxProjectItem.java.

Definition at line 79 of file GrxProjectItem.java.

Definition at line 79 of file GrxProjectItem.java.

Definition at line 79 of file GrxProjectItem.java.

final String com.generalrobotix.ui.item.GrxProjectItem.MODE_TAG = "mode" [static, private]

Definition at line 82 of file GrxProjectItem.java.

Map<String, ModeNodeInfo> com.generalrobotix.ui.item.GrxProjectItem.modeInfoMap_ = new HashMap<String, ModeNodeInfo>() [private]

Definition at line 90 of file GrxProjectItem.java.

String com.generalrobotix.ui.item.GrxProjectItem.MODEL_ITEM = "com.generalrobotix.ui.item.GrxModelItem" [static, private]

Definition at line 825 of file GrxProjectItem.java.

String com.generalrobotix.ui.item.GrxProjectItem.ROBOT_NODE = "jp.go.aist.hrp.simulator.RobotNode" [static, private]

Definition at line 820 of file GrxProjectItem.java.

final String com.generalrobotix.ui.item.GrxProjectItem.TITLE = "Project" [static]

Definition at line 75 of file GrxProjectItem.java.

Definition at line 87 of file GrxProjectItem.java.

HashMap<String, Properties> com.generalrobotix.ui.item.GrxProjectItem.viewProperties_ = new HashMap<String, Properties>() [private]

Definition at line 88 of file GrxProjectItem.java.

final String com.generalrobotix.ui.item.GrxProjectItem.WINCONF_TAG = "perspective" [static, private]

Definition at line 83 of file GrxProjectItem.java.

String com.generalrobotix.ui.item.GrxProjectItem.WORLD_STATE_ITEM = "com.generalrobotix.ui.item.GrxWorldStateItem" [static, private]

Definition at line 824 of file GrxProjectItem.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