-
+/*
+ * UI Builder
+ *
+ * Copyright (c) 2000 - 2014 Samsung Electronics Co., Ltd. All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * Contributors:
+ * - S-Core Co., Ltd
+ *
+ */
package org.tizen.webuibuilder.gef.figure;
// ProjectManager.getProjectManager(project);
// PageData pageData = mainEditor.getPageData();
// pageData.addPageListener(this);
- defaultMobileDevice = new Device("Default", "Default [360x640]");
+ defaultMobileDevice = new Device("Default", "Default [720x1280]");
defaultMobileDevice.setOrientation(Orientation.PORTRAIT);
defaultMobileDevice.setDevicePixelRatio(2.0);
- defaultMobileDevice.setDeviceWidth(360);
- defaultMobileDevice.setDeviceHeight(640);
+ defaultMobileDevice.setDeviceWidth(720);
+ defaultMobileDevice.setDeviceHeight(1280);
defaultMobileDevice.setWidth(720);
defaultMobileDevice.setHeight(1280);
// rotate
changeLandscape = new ToolItem(toolBar, SWT.PUSH);
- changeLandscape.setImage(ResourceManager.getImage(BuilderConstants.ICON_DIR, "rotate.png"));
+ changeLandscape.setImage(ResourceManager.getImage(BuilderConstants.ICON_DIR,
+ "orientation-portrait.png"));
changeLandscape.setToolTipText(BuilderMessages.ROTATE);
separator = new ToolItem(toolBar, SWT.SEPARATOR);
isLandscape = !isLandscape;
if (isLandscape) {
mainEditor.setLandscape(true);
+ changeLandscape.setImage(ResourceManager.getImage(BuilderConstants.ICON_DIR,
+ "orientation-landscape.png"));
} else {
mainEditor.setLandscape(false);
+ changeLandscape.setImage(ResourceManager.getImage(BuilderConstants.ICON_DIR,
+ "orientation-portrait.png"));
}
}
public void setScreeSizesFromNScreen() {
NScreenUtil.nscreen_log("start time : " + appManager.getFrameworkScale());
- List<Device> devices = new ArrayList<Device>();
- devices.addAll(resolution.getCurrentFeatureDevices());
+ List<Device> devices = new ArrayList<Device>();
+ devices.addAll(resolution.getCurrentFeatureDevices());
resolution
.setScreeSizesFromNScreen(devices, mainEditor.getAppManager().getFrameworkScale());
currentScreen = resolution.getScreenSize(nscreen.getLastResolution());
+/*
+ * UI Builder
+ *
+ * Copyright (c) 2000 - 2014 Samsung Electronics Co., Ltd. All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * Contributors:
+ * - S-Core Co., Ltd
+ *
+ */
+
package org.tizen.webuibuilder.ui.selector;
import org.eclipse.jface.window.Window.IExceptionHandler;
-
+/*
+ * UI Builder
+ *
+ * Copyright (c) 2000 - 2014 Samsung Electronics Co., Ltd. All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * Contributors:
+ * - S-Core Co., Ltd
+ *
+ */
package org.tizen.webuibuilder.ui.selector;
-
+/*
+ * UI Builder
+ *
+ * Copyright (c) 2000 - 2014 Samsung Electronics Co., Ltd. All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * Contributors:
+ * - S-Core Co., Ltd
+ *
+ */
package org.tizen.webuibuilder.ui.selector;
} // else : keep going
DesignerEditPart selectionDesignerPart = selectionParts.get(0);
Control control = designEditPartViewer.getControl();
-
+ // selection designer part : current selected part figure
Part part = (Part) selectionDesignerPart.getModel();
String id = part.getIdPropertyValue();
-
+/*
+ * UI Builder
+ *
+ * Copyright (c) 2000 - 2014 Samsung Electronics Co., Ltd. All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * Contributors:
+ * - S-Core Co., Ltd
+ *
+ */
package org.tizen.webuibuilder.ui.selector;
-
+/*
+ * UI Builder
+ *
+ * Copyright (c) 2000 - 2014 Samsung Electronics Co., Ltd. All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * Contributors:
+ * - S-Core Co., Ltd
+ *
+ */
package org.tizen.webuibuilder.ui.views.nscreen;
-
+/*
+ * UI Builder
+ *
+ * Copyright (c) 2000 - 2014 Samsung Electronics Co., Ltd. All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * Contributors:
+ * - S-Core Co., Ltd
+ *
+ */
package org.tizen.webuibuilder.ui.views.nscreen;
-
+/*
+ * UI Builder
+ *
+ * Copyright (c) 2000 - 2014 Samsung Electronics Co., Ltd. All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * Contributors:
+ * - S-Core Co., Ltd
+ *
+ */
package org.tizen.webuibuilder.ui.views.nscreen;
-
+/*
+ * UI Builder
+ *
+ * Copyright (c) 2000 - 2014 Samsung Electronics Co., Ltd. All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * Contributors:
+ * - S-Core Co., Ltd
+ *
+ */
package org.tizen.webuibuilder.ui.views.nscreen;
-
+/*
+ * UI Builder
+ *
+ * Copyright (c) 2000 - 2014 Samsung Electronics Co., Ltd. All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * Contributors:
+ * - S-Core Co., Ltd
+ *
+ */
package org.tizen.webuibuilder.ui.views.nscreen;
-
+/*
+ * UI Builder
+ *
+ * Copyright (c) 2000 - 2014 Samsung Electronics Co., Ltd. All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * Contributors:
+ * - S-Core Co., Ltd
+ *
+ */
package org.tizen.webuibuilder.ui.views.nscreen;
-
+/*
+ * UI Builder
+ *
+ * Copyright (c) 2000 - 2014 Samsung Electronics Co., Ltd. All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * Contributors:
+ * - S-Core Co., Ltd
+ *
+ */
package org.tizen.webuibuilder.ui.views.nscreen;
-
+/*
+ * UI Builder
+ *
+ * Copyright (c) 2000 - 2014 Samsung Electronics Co., Ltd. All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * Contributors:
+ * - S-Core Co., Ltd
+ *
+ */
package org.tizen.webuibuilder.ui.views.nscreen;
-
+/*
+ * UI Builder
+ *
+ * Copyright (c) 2000 - 2014 Samsung Electronics Co., Ltd. All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * Contributors:
+ * - S-Core Co., Ltd
+ *
+ */
package org.tizen.webuibuilder.ui.views.nscreen;
import org.tizen.webuibuilder.model.nscreen.DeviceManager;
import org.tizen.webuibuilder.model.nscreen.NScreenModel;
import org.tizen.webuibuilder.model.nscreen.NScreenModel.NScreenType;
-import org.tizen.webuibuilder.ui.views.databinding.actions.EditDataSourceAction;
import org.tizen.webuibuilder.ui.views.nscreen.command.NScreenDisableCommand;
import org.tizen.webuibuilder.ui.views.nscreen.command.NScreenEnableCommand;
-import org.tizen.webuibuilder.ui.views.nscreen.command.NScreenMoveDownCommand;
-import org.tizen.webuibuilder.ui.views.nscreen.command.NScreenMoveUpCommand;
public class NScreenItem extends Composite {
+++ /dev/null
-
-
-package org.tizen.webuibuilder.ui.views.nscreen;
-
-//import static org.tizen.webuibuilder.ui.views.nscreen.NScreenItem.STATE_HOVER;
-//import static org.tizen.webuibuilder.ui.views.nscreen.NScreenItem.STATE_NORMAL;
-//import static org.tizen.webuibuilder.ui.views.nscreen.NScreenItem.STATE_PUSH;
-
-import org.eclipse.swt.graphics.GC;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.swt.widgets.Canvas;
-import org.tizen.webuibuilder.model.nscreen.NScreenModel;
-
-
-public class NScreenItemFloatRenderer implements INScreenDrawRenderer {
-// private static int IMAGE_SIZE = 30;
-// private static int X_MARGIN = 4;
-//
-// private static int TEXT_MARGIN_X = X_MARGIN + IMAGE_SIZE + 30;
-
- @Override
- public void draw(GC gc, Canvas canvas, int state, boolean isSelected, boolean enabled,
- Image thumb, NScreenModel model, String pageId) {
-// NScreenItem item = (NScreenItem) canvas.getParent();
-// Rectangle rect = canvas.getClientArea();
-//
-// int canvasX = rect.x;
-// int canvasY = rect.y;
-// int canvasW = rect.width;
-// int canvasH = rect.height;
-//
-// gc.setBackground(ColorResource.BLACK);
-// gc.fillRectangle(canvasX + 6, canvasY + 6, canvasW - 8, canvasH - 8);
-// // e.gc.fillRoundRectangle(x + 6, y + 6, w - 8, h - 8, 10, 10);
-//
-// Rectangle drawRect = checkState(new Rectangle(canvasX, canvasY, canvasW, canvasH), state);
-//
-// if (isSelected) {
-// gc.setBackground(ColorResource.BOUNCE_IN_UP);
-// } else {
-// gc.setBackground(ColorResource.WHITE);
-// }
-//
-// Rectangle linkRect =
-// new Rectangle(drawRect.x + drawRect.width - 20, drawRect.y, 20, drawRect.height);
-//
-// gc.fillRectangle(drawRect);
-// // e.gc.fillRoundRectangle(drawRect.x, drawRect.y, drawRect.width, drawRect.height,
-// // 10, 10);
-//
-// if (state == STATE_DISABLED) {
-// gc.setBackground(ColorResource.GRAY);
-// } else if (model.getType() != NScreenType.COMMON) {
-// gc.setBackground(ColorResource.NAVY);
-//
-// int direction = model.getLink(pageId);
-// int x = linkRect.x;
-// int y = linkRect.y;
-// int w = linkRect.width;
-// int h = linkRect.height;
-//
-// if (direction == NScreenModel.UP) {
-// gc.fillPolygon(new int[] { x, y + 10, x + w / 2, y, x + w, y + 10, x + w, y + h,
-// x + w / 2, y + h - 10, x, y + h });
-// } else if (direction == NScreenModel.DOWN) {
-// gc.fillPolygon(new int[] { x, y, x + w / 2, y + 10, x + w, y, x + w, y, x + w,
-// y + h - 10, x + w / 2, y + h, x, y + h - 10 });
-// } else if (item.isRoot()) {
-// gc.fillRectangle(linkRect);
-// }
-//
-// }
-//
-// // e.gc.drawRoundRectangle(drawRect.x, drawRect.y, drawRect.width, drawRect.height,
-// // 10, 10);
-// if (state == STATE_DISABLED) {
-// gc.setForeground(ColorResource.GRAY);
-// } else {
-// gc.setForeground(ColorResource.BLACK);
-// }
-// gc.drawRectangle(drawRect);
-//
-// // e.gc.setForeground(bgColors[state * 2]);
-// // e.gc.setBackground(bgColors[state * 2 + 1]);
-// //
-// // e.gc.fillGradientRectangle(rect.x, rect.y, rect.width, rect.height, true);
-// //
-// // e.gc.setForeground(fgColors[state]);
-// //
-// int targetY = (drawRect.height - IMAGE_SIZE) / 2;
-// if (thumb != null) {
-// Rectangle imgRect = thumb.getBounds();
-// gc.drawImage(thumb, imgRect.x, imgRect.y, imgRect.width, imgRect.height, drawRect.x
-// + X_MARGIN, drawRect.y + targetY, IMAGE_SIZE, IMAGE_SIZE);
-// } else {
-// gc.drawRectangle(drawRect.x + X_MARGIN, drawRect.y + targetY, IMAGE_SIZE, IMAGE_SIZE);
-// }
-//
-// // drawText
-// if (isSelected) {
-// gc.setBackground(ColorResource.BOUNCE_IN_UP);
-// } else {
-// gc.setBackground(ColorResource.WHITE);
-// }
-// if (state == STATE_DISABLED) {
-// gc.setForeground(ColorResource.GRAY);
-// } else {
-// gc.setForeground(ColorResource.BLACK);
-// }
-// Font font = gc.getFont();
-// gc.setFont(FontUtil.FLOATING);
-// gc.drawText(model.getName(), drawRect.x + TEXT_MARGIN_X, targetY);
-// gc.setFont(font);
-// }
-//
-// private Rectangle checkState(Rectangle rect, int state) {
-//
-// int offset = 0;
-// switch (state) {
-// case STATE_NORMAL:
-// offset = 2;
-// break;
-// case STATE_HOVER:
-// offset = 0;
-// break;
-// case STATE_PUSH:
-// offset = 5;
-// break;
-// case STATE_SELECTED:
-// offset = 3;
-// break;
-// case STATE_DISABLED:
-// offset = 2;
-// break;
-// default:
-// break;
-// }
-// rect.width = rect.width - 8;
-// rect.height = rect.height - 8;
-// rect.x = rect.x + offset;
-// rect.y = rect.y + offset;
-// return rect;
- }
-
-}
-
+/*
+ * UI Builder
+ *
+ * Copyright (c) 2000 - 2014 Samsung Electronics Co., Ltd. All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * Contributors:
+ * - S-Core Co., Ltd
+ *
+ */
package org.tizen.webuibuilder.ui.views.nscreen;
-
+/*
+ * UI Builder
+ *
+ * Copyright (c) 2000 - 2014 Samsung Electronics Co., Ltd. All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * Contributors:
+ * - S-Core Co., Ltd
+ *
+ */
package org.tizen.webuibuilder.ui.views.nscreen.command;
-
+/*
+ * UI Builder
+ *
+ * Copyright (c) 2000 - 2014 Samsung Electronics Co., Ltd. All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * Contributors:
+ * - S-Core Co., Ltd
+ *
+ */
package org.tizen.webuibuilder.ui.views.nscreen.command;
-import java.io.File;
-import java.io.IOException;
-
-import org.eclipse.core.runtime.IPath;
import org.eclipse.gef.commands.Command;
-import org.tizen.webuibuilder.model.css.CssFile;
import org.tizen.webuibuilder.ui.views.nscreen.NScreenGroup;
import org.tizen.webuibuilder.ui.views.nscreen.NScreenItem;
-
+/*
+ * UI Builder
+ *
+ * Copyright (c) 2000 - 2014 Samsung Electronics Co., Ltd. All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * Contributors:
+ * - S-Core Co., Ltd
+ *
+ */
package org.tizen.webuibuilder.ui.views.nscreen.command;
+/*
+ * UI Builder
+ *
+ * Copyright (c) 2000 - 2014 Samsung Electronics Co., Ltd. All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * Contributors:
+ * - S-Core Co., Ltd
+ *
+ */
+
package org.tizen.webuibuilder.ui.views.nscreen.command;
import org.eclipse.gef.commands.Command;
-
+/*
+ * UI Builder
+ *
+ * Copyright (c) 2000 - 2014 Samsung Electronics Co., Ltd. All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * Contributors:
+ * - S-Core Co., Ltd
+ *
+ */
package org.tizen.webuibuilder.ui.views.nscreen.command;
-
+/*
+ * UI Builder
+ *
+ * Copyright (c) 2000 - 2014 Samsung Electronics Co., Ltd. All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * Contributors:
+ * - S-Core Co., Ltd
+ *
+ */
package org.tizen.webuibuilder.ui.views.nscreen.command;
-
+/*
+ * UI Builder
+ *
+ * Copyright (c) 2000 - 2014 Samsung Electronics Co., Ltd. All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * Contributors:
+ * - S-Core Co., Ltd
+ *
+ */
package org.tizen.webuibuilder.ui.views.nscreen.command;
import java.util.List;
import org.eclipse.gef.commands.Command;
-import org.eclipse.swt.SWT;
import org.tizen.webuibuilder.ui.views.nscreen.NScreenGroup;
import org.tizen.webuibuilder.ui.views.nscreen.NScreenItem;
-
+/*
+ * UI Builder
+ *
+ * Copyright (c) 2000 - 2014 Samsung Electronics Co., Ltd. All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * Contributors:
+ * - S-Core Co., Ltd
+ *
+ */
package org.tizen.webuibuilder.ui.views.nscreen.dialog;
-
+/*
+ * UI Builder
+ *
+ * Copyright (c) 2000 - 2014 Samsung Electronics Co., Ltd. All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * Contributors:
+ * - S-Core Co., Ltd
+ *
+ */
package org.tizen.webuibuilder.ui.views.nscreen.dialog;