From 82eebf04acc11e84f4825b7a23648b43dff59eeb Mon Sep 17 00:00:00 2001 From: Eugene Kudelevsky Date: Fri, 23 Mar 2012 21:14:52 +0400 Subject: [PATCH] use com.intellij.uiDesigner.SerializedComponentData instead of *.clipboard.SerializedComponentData --- .../actions/CommonEditActionsProvider.java | 2 +- .../clipboard/SerializedComponentData.java | 33 ------------------- 2 files changed, 1 insertion(+), 34 deletions(-) delete mode 100644 plugins/ui-designer/ui-designer-new/src/com/intellij/designer/clipboard/SerializedComponentData.java diff --git a/plugins/ui-designer/ui-designer-new/src/com/intellij/designer/actions/CommonEditActionsProvider.java b/plugins/ui-designer/ui-designer-new/src/com/intellij/designer/actions/CommonEditActionsProvider.java index b0d8928027d1..340cdb6bcd35 100644 --- a/plugins/ui-designer/ui-designer-new/src/com/intellij/designer/actions/CommonEditActionsProvider.java +++ b/plugins/ui-designer/ui-designer-new/src/com/intellij/designer/actions/CommonEditActionsProvider.java @@ -16,7 +16,7 @@ package com.intellij.designer.actions; import com.intellij.designer.DesignerBundle; -import com.intellij.designer.clipboard.SerializedComponentData; +import com.intellij.uiDesigner.SerializedComponentData; import com.intellij.designer.clipboard.SimpleTransferable; import com.intellij.designer.designSurface.DesignerEditorPanel; import com.intellij.designer.designSurface.EditableArea; diff --git a/plugins/ui-designer/ui-designer-new/src/com/intellij/designer/clipboard/SerializedComponentData.java b/plugins/ui-designer/ui-designer-new/src/com/intellij/designer/clipboard/SerializedComponentData.java deleted file mode 100644 index c2ec117fe37a..000000000000 --- a/plugins/ui-designer/ui-designer-new/src/com/intellij/designer/clipboard/SerializedComponentData.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright 2000-2012 JetBrains s.r.o. - * - * 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. - */ -package com.intellij.designer.clipboard; - -/** - * This class must be in main classloader because of JVM's restrictions (it's used as DataFlavor class) - * - * @author yole - */ -public final class SerializedComponentData { - private final String mySerializedComponents; - - public SerializedComponentData(String components) { - mySerializedComponents = components; - } - - public String getSerializedComponents() { - return mySerializedComponents; - } -} \ No newline at end of file