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, ModeNodeInfo > | modeInfoMap_ = new HashMap<String, ModeNodeInfo>() |
Transformer | transformer_ |
HashMap< String, Properties > | viewProperties_ = 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" |
Definition at line 74 of file GrxProjectItem.java.
com.generalrobotix.ui.item.GrxProjectItem.GrxProjectItem | ( | String | name, |
GrxPluginManager | manager | ||
) | [inline] |
Definition at line 100 of file GrxProjectItem.java.
ModeNodeInfo com.generalrobotix.ui.item.GrxProjectItem._getModeNodeInfo | ( | String | mode | ) | [inline, private] |
Definition at line 189 of file GrxProjectItem.java.
GrxBasePlugin com.generalrobotix.ui.item.GrxProjectItem._restorePlugin | ( | Element | e | ) | [inline, private] |
Definition at line 741 of file GrxProjectItem.java.
void com.generalrobotix.ui.item.GrxProjectItem._updateModeInfo | ( | ) | [inline, private] |
Definition at line 155 of file GrxProjectItem.java.
void com.generalrobotix.ui.item.GrxProjectItem.addItem | ( | ) | [inline, private] |
Definition at line 965 of file GrxProjectItem.java.
boolean com.generalrobotix.ui.item.GrxProjectItem.checkModifiedModel | ( | ) | [inline, private] |
Definition at line 373 of file GrxProjectItem.java.
boolean com.generalrobotix.ui.item.GrxProjectItem.containSimulationItem | ( | NodeList | list | ) | [inline, private] |
Definition at line 774 of file GrxProjectItem.java.
boolean com.generalrobotix.ui.item.GrxProjectItem.create | ( | ) | [inline] |
Reimplemented from com.generalrobotix.ui.GrxBaseItem.
Definition at line 119 of file GrxProjectItem.java.
Vector<Action> com.generalrobotix.ui.item.GrxProjectItem.getMenu | ( | ) | [inline] |
get menu
Reimplemented from com.generalrobotix.ui.GrxBasePlugin.
Definition at line 298 of file GrxProjectItem.java.
Properties com.generalrobotix.ui.item.GrxProjectItem.getViewProperties | ( | String | viewName | ) | [inline] |
Definition at line 815 of file GrxProjectItem.java.
Element com.generalrobotix.ui.item.GrxProjectItem.getWindowConfigElement | ( | String | mode | ) | [inline] |
Definition at line 220 of file GrxProjectItem.java.
Definition at line 783 of file GrxProjectItem.java.
void com.generalrobotix.ui.item.GrxProjectItem.importISEProject | ( | File | f | ) | [inline] |
Definition at line 829 of file GrxProjectItem.java.
void com.generalrobotix.ui.item.GrxProjectItem.load | ( | ) | [inline] |
load a project
Definition at line 481 of file GrxProjectItem.java.
boolean com.generalrobotix.ui.item.GrxProjectItem.load | ( | File | f | ) | [inline] |
load a project file
f | a project file |
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.
void com.generalrobotix.ui.item.GrxProjectItem.save | ( | File | f | ) | [inline] |
Definition at line 392 of file GrxProjectItem.java.
void com.generalrobotix.ui.item.GrxProjectItem.save | ( | ) | [inline] |
Definition at line 465 of file GrxProjectItem.java.
void com.generalrobotix.ui.item.GrxProjectItem.saveAs | ( | ) | [inline] |
Definition at line 434 of file GrxProjectItem.java.
void com.generalrobotix.ui.item.GrxProjectItem.setDefaultDirectory | ( | ) | [inline, private] |
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.
DocumentBuilder com.generalrobotix.ui.item.GrxProjectItem.builder_ [private] |
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.
final String com.generalrobotix.ui.item.GrxProjectItem.DEFAULT_DIR = "/" [static] |
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.
Document com.generalrobotix.ui.item.GrxProjectItem.doc_ [private] |
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.
final String com.generalrobotix.ui.item.GrxProjectItem.FILE_EXTENSION = "xml" [static] |
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.
Vector<Action> com.generalrobotix.ui.item.GrxProjectItem.menu_ [private] |
Reimplemented from com.generalrobotix.ui.GrxBasePlugin.
Definition at line 80 of file GrxProjectItem.java.
final int com.generalrobotix.ui.item.GrxProjectItem.MENU_CREATE = 0 [static] |
Definition at line 79 of file GrxProjectItem.java.
final int com.generalrobotix.ui.item.GrxProjectItem.MENU_IMPORT = 5 [static, package] |
Definition at line 79 of file GrxProjectItem.java.
final int com.generalrobotix.ui.item.GrxProjectItem.MENU_LOAD = 2 [static, package] |
Definition at line 79 of file GrxProjectItem.java.
final int com.generalrobotix.ui.item.GrxProjectItem.MENU_RESTORE = 1 [static, package] |
Definition at line 79 of file GrxProjectItem.java.
final int com.generalrobotix.ui.item.GrxProjectItem.MENU_SAVE = 3 [static, package] |
Definition at line 79 of file GrxProjectItem.java.
final int com.generalrobotix.ui.item.GrxProjectItem.MENU_SAVE_AS = 4 [static, package] |
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.
Transformer com.generalrobotix.ui.item.GrxProjectItem.transformer_ [private] |
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.