|
|
|
@ -66,7 +66,7 @@ import com.fr.plugin.manage.PluginFilter;
|
|
|
|
|
import com.fr.plugin.observer.PluginEvent; |
|
|
|
|
import com.fr.plugin.observer.PluginEventListener; |
|
|
|
|
import com.fr.stable.StringUtils; |
|
|
|
|
import com.fr.third.javax.annotation.Nonnull; |
|
|
|
|
import org.jetbrains.annotations.NotNull; |
|
|
|
|
|
|
|
|
|
import javax.swing.Icon; |
|
|
|
|
import java.awt.Container; |
|
|
|
@ -286,7 +286,7 @@ public class XCreatorUtils {
|
|
|
|
|
* @param creator 组件 |
|
|
|
|
* @return 返回顶层容器 |
|
|
|
|
*/ |
|
|
|
|
public static XLayoutContainer getHotspotContainer(@Nonnull XCreator creator) { |
|
|
|
|
public static XLayoutContainer getHotspotContainer(@NotNull XCreator creator) { |
|
|
|
|
if (creator.isDedicateContainer()) { |
|
|
|
|
return (XLayoutContainer) creator.getParent(); |
|
|
|
|
} |
|
|
|
|