GRAY_BTN_PUSH(100, 110, 144),
GRAY_BTN_DISABLE(208, 208, 208),
+ TABLE_VIEWER_BG(240, 240, 240),
MESSAGE_BOX_TITLE_BG(111, 125, 149),
MESSAGE_BOX_TITLE_FONT(255, 255, 255),
MESSAGE_BOX_CONTENTS_BG(255, 255, 255),
import org.tizen.emulator.manager.vms.SKIN_SHAPE;
import org.tizen.emulator.manager.vms.VMProperty;
import org.tizen.emulator.manager.vms.VMPropertyValue;
+import org.tizen.emulator.manager.vms.helper.CheckingRunningEmulator;
+import org.tizen.emulator.manager.vms.helper.RefreshWorker;
import org.tizen.emulator.manager.vms.helper.VMWorkerException;
public class VMListTable {
if (pButton.getProfile() == null) {
continue;
}
- makeTableItem(pButton);
+ if (!pButton.getButton().isSelection()) {
+ makeTableItem(pButton);
+ }
}
table.getColumn(0).setWidth(30);
addTableItem(pButton, property, -1);
}
- private void addTableItem(VMProperty property) {
- ProfileButton pButton = findProfileButton(property.getImageProfile());
- addTableItem(pButton, property, 0);
- }
+// private void addTableItem(VMProperty property) {
+// ProfileButton pButton = findProfileButton(property.getImageProfile());
+// addTableItem(pButton, property, 0);
+// }
private void addTableItem(ProfileButton pButton, VMProperty property, int index) {
if (pButton == null) {
}
} catch (VMWorkerException e) {
if (e.isNeedRefresh()) {
+ refreshVMPropertyList();
}
}
}
}
} catch (VMWorkerException e) {
if (e.isNeedRefresh()) {
- //MainDialog.refreshVMPropertyList(false);
+ refreshVMPropertyList();
}
}
}
}
} catch (VMWorkerException e) {
if (e.isNeedRefresh()) {
- //
+ refreshVMPropertyList();
}
}
}
}
} catch (VMWorkerException e) {
if (e.isNeedRefresh()) {
- //
+ refreshVMPropertyList();
}
}
}
}
}
}
+
+ public void refreshVMPropertyList() {
+ ProfileList.settingVMPropertyList();
+ CheckingRunningEmulator.refreshVMPropertyList();
+ RefreshWorker.refreshVMConnect();
+
+ setVMList();
+ }
}
int height = getItemHeight();
for (int i = 0; top < rect.height; i++, top += height) {
Rectangle drawingRect = new Rectangle(0, top, rect.width, height);
- gc.setClipping(drawingRect);
+ //gc.setClipping(drawingRect);
if ((i%2) == 0) {
gc.setBackground(ColorResources.ITEM_BG_COLOR_EVEN);
} else {
gc.setBackground(ColorResources.ITEM_BG_COLOR_ODD);
}
- gc.fillRectangle(drawingRect);
+ //gc.fillRectangle(drawingRect);
+ gc.drawRectangle(drawingRect);
}
gc.setForeground(ColorResources.DEFAULT_STROKE);
gc.setLineWidth(1);
int leftOffset = isCheck ? checkBoxWidth : 0;
- gc.setClipping(rect);
+ //gc.setClipping(rect);
if (isCheck) {
gc.drawLine(checkBoxWidth -1, 0, checkBoxWidth - 1, rect.height);
}