Changeset 89 for gssim_ui/branches/vine/gssimstudio/src/web/ui
- Timestamp:
- 09/16/11 12:08:50 (14 years ago)
- Location:
- gssim_ui/branches/vine/gssimstudio/src/web/ui/flex/app/gssim/gssimstudio/editor
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
gssim_ui/branches/vine/gssimstudio/src/web/ui/flex/app/gssim/gssimstudio/editor/gssim/components/MultiImageNavigator.mxml
r88 r89 118 118 visibleRectangleGroup.x = tmp.horizontalScrollPosition * (this.width - visibleRectangleGroup.width) / (matrix.a * _container.width - _container.parent.width); 119 119 visibleRectangleGroup.y = tmp.verticalScrollPosition * (this.height - visibleRectangleGroup.height) / (matrix.d * _container.height - _container.parent.height); 120 validateRectanglePosition(); 120 121 } 121 122 … … 132 133 rectangle.width = this.width/numberOfScreensHorizontal; 133 134 rectangle.height = this.height/numberOfScreensVertical; 135 validateRectanglePosition(); 136 } 137 138 public function validateRectanglePosition() : void 139 { 140 if (visibleRectangleGroup.x < 0) visibleRectangleGroup.x = 0; 141 if (visibleRectangleGroup.y < 0) visibleRectangleGroup.y = 0; 142 if (visibleRectangleGroup.x > this.width - rectangle.width) visibleRectangleGroup.x = this.width - rectangle.width; 143 if (visibleRectangleGroup.y > this.height - rectangle.height) visibleRectangleGroup.y = this.height - rectangle.height; 134 144 } 135 145 -
gssim_ui/branches/vine/gssimstudio/src/web/ui/flex/app/gssim/gssimstudio/editor/views/ExperimentEditor.mxml
r52 r89 260 260 <mx:Component> 261 261 <mx:HBox paddingLeft="4"> 262 <!--263 -<mx:Button label="{resourceManager.getString('ExperimentEditor', 'View')}" toolTip="{resourceManager.getString('ExperimentEditor', 'ViewTooltip')}" click="outerDocument.viewWorkload()" height="30" paddingLeft="8"/>264 -->265 262 <mx:Button label="{resourceManager.getString('ExperimentEditor', 'Remove')}" toolTip="{resourceManager.getString('ExperimentEditor', 'RemoveTooltip')}" click="outerDocument.removeItem(outerDocument.workloadFilesDG)" height="30"/> 266 263 </mx:HBox> … … 285 282 <mx:Component> 286 283 <mx:HBox paddingLeft="4"> 287 <!--288 <mx:Button label="{resourceManager.getString('ExperimentEditor', 'Load')}" toolTip="{resourceManager.getString('ExperimentEditor', 'LoadTooltip')}" click="outerDocument.loadResources()" height="30" paddingLeft="8"/>289 -->290 284 <mx:Button label="{resourceManager.getString('ExperimentEditor', 'Remove')}" toolTip="{resourceManager.getString('ExperimentEditor', 'RemoveTooltip')}" click="outerDocument.removeItem(outerDocument.resourceFilesDG)" height="30"/> 291 285 </mx:HBox> … … 309 303 <mx:Component> 310 304 <mx:HBox paddingLeft="4"> 311 <!--312 <mx:Button label="{resourceManager.getString('ExperimentEditor', 'Load')}" toolTip="{resourceManager.getString('ExperimentEditor', 'LoadTooltip')}" click="outerDocument.loadTopology()" height="30" paddingLeft="8"/>313 -->314 305 <mx:Button label="{resourceManager.getString('ExperimentEditor', 'Remove')}" toolTip="{resourceManager.getString('ExperimentEditor', 'RemoveTooltip')}" click="outerDocument.removeItem(outerDocument.topologyFilesDG)" height="30"/> 315 306 </mx:HBox>
Note: See TracChangeset
for help on using the changeset viewer.